binutils-gdb/ld/testsuite/ld-loongarch-elf/desc-le-norelax.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

16 lines
294 B
Makefile

#as:
#ld: -e0 --no-relax
#objdump: -dr
#skip: loongarch32-*-*
.*: file format .*
Disassembly of section .text:
[0-9a-f]+ <fn1>:
+[0-9a-f]+: 14000004 lu12i.w \$a0, .*
+[0-9a-f]+: 03800084 ori \$a0, \$a0, .*
+[0-9a-f]+: 03400000 nop
+[0-9a-f]+: 03400000 nop