Projet_SETI_RISC-V/riscv-gnu-toolchain/binutils/ld/testsuite/ld-powerpc/abs32-pie.r
2023-03-06 14:48:14 +01:00

9 lines
406 B
R

#source: abs32-reloc.s
#as: -a32
#ld: -melf32ppc -pie --hash-style=sysv --defsym a=1 --defsym 'HIDDEN(b=2)' --defsym c=0x12345678
#readelf: -rW
Relocation section '\.rela\.dyn' at offset .* contains 2 entries:
Offset Info Type Sym\. Value Symbol's Name \+ Addend
000101c8 00000016 R_PPC_RELATIVE 101c8
000101dc 00000016 R_PPC_RELATIVE 101c8