ld: Update function prototypes for compilers defaulting to -std=gnu23
[binutils-gdb.git] / ld / testsuite / ld-loongarch-elf / relr-discard-pie.d
blob4ea8ae5e7b46ff4ac341394ff7fd0e2fb6126366
1 #source: relr-discard.s
2 #ld: -pie -z pack-relative-relocs -T relr-discard.ld
3 #readelf: -rW
5 Relocation section '\.relr\.dyn' at offset 0x[0-9a-f]+ contains 2 entries which relocate 2 locations:
6 Index: Entry Address Symbolic Address
7 0000: 0000000000020008 0000000000020008 _GLOBAL_OFFSET_TABLE_ \+ 0x8
8 0001: 0000000000000003 0000000000020010 _GLOBAL_OFFSET_TABLE_ \+ 0x10