]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - ld/testsuite/ld-powerpc/abs-shared-relr.r
Update readelf's display of RELR sections to include the number of locations relocated
[thirdparty/binutils-gdb.git] / ld / testsuite / ld-powerpc / abs-shared-relr.r
CommitLineData
3a3a4c1f
AM
1#source: abs-reloc.s
2#as: -a64
3#ld: -melf64ppc -pie --hash-style=sysv -z pack-relative-relocs --defsym a=1 --defsym 'HIDDEN(b=2)' --defsym c=0x123456789abcdef0
4#readelf: -rW
5
6Relocation section '\.rela\.dyn' at offset .* contains 6 entries:
7 +Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend
80+10408 0+500000026 R_PPC64_ADDR64 0+1 a \+ 0
90+10430 0+500000014 R_PPC64_GLOB_DAT 0+1 a \+ 0
100+10440 0+500000026 R_PPC64_ADDR64 0+1 a \+ 0
110+10418 0+400000026 R_PPC64_ADDR64 123456789abcdef0 c \+ 0
120+10428 0+400000014 R_PPC64_GLOB_DAT 123456789abcdef0 c \+ 0
130+10450 0+400000026 R_PPC64_ADDR64 123456789abcdef0 c \+ 0
14
3b3e2090 15Relocation section '\.relr\.dyn' at offset .* contains 1 entry which relocates 1 location:
21061c38
FS
16Index: Entry Address Symbolic Address
170000: +[0-9a-f]+ [0-9a-f]+ +x
fcf8f323 18