binutils-gdb/ld/testsuite/ld-riscv-elf/c-lui.s
Jim Wilson 7615ca1dc9 RISC-V: Fix accidental embedded -shared regressions.
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.
2018-01-08 17:55:29 -08:00

8 lines
74 B
ArmAsm

.text
.globl _start
_start:
lui x1, 1
lui x1, 0
lui x0, 1
lui x2, 1