binutils-gdb/ld/testsuite/ld-loongarch-elf/ie-le-relax.d
Lulu Cai d8915f27eb LoongArch: Fix gas and ld test cases
* After adding the old LE relax, all old LE relocations will have
  an R_LARCH_RELAX relocation. Fix the gas test case failure caused
  by the implementation of the old LE relax.

* loongarch64-elf does not support pie and -z norelro options,
  removed in test files.
2024-03-12 17:37:12 +08:00

13 lines
251 B
Makefile

#as:
#ld: -e0
#objdump: -dr -M no-aliases
#skip: loongarch32-*-*
.*: file format .*
Disassembly of section .text:
[0-9a-f]+ <fn1>:
+[0-9a-f]+: 03800004 ori \$a0, \$zero, 0x0
+[0-9a-f]+: 03801004 ori \$a0, \$zero, 0x4