7615ca1dc9
ld/ * testsuite/ld-riscv-elf/c-lui.d: Don't use -shared. Check for _start instead of .text. * testsuite/ld-riscv-elf/c-lui.s: Add _start label. * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Before __global_pointer$ tests, add call to check_shared_lib_support.
18 lines
338 B
Makefile
18 lines
338 B
Makefile
#name: lui to c.lui relaxation
|
|
#source: c-lui.s
|
|
#as: -march=rv32ic
|
|
#ld: -melf32lriscv
|
|
#objdump: -d -M no-aliases,numeric
|
|
|
|
.*: file format .*
|
|
|
|
|
|
Disassembly of section \.text:
|
|
|
|
.* <_start>:
|
|
.*: 6085 c.lui x1,0x1
|
|
.*: 000000b7 lui x1,0x0
|
|
.*: 00001037 lui x0,0x1
|
|
.*: 00001137 lui x2,0x1
|
|
#pass
|