]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - 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
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
6 Relocation section '\.rela\.dyn' at offset .* contains 6 entries:
7 +Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend
8 0+10408 0+500000026 R_PPC64_ADDR64 0+1 a \+ 0
9 0+10430 0+500000014 R_PPC64_GLOB_DAT 0+1 a \+ 0
10 0+10440 0+500000026 R_PPC64_ADDR64 0+1 a \+ 0
11 0+10418 0+400000026 R_PPC64_ADDR64 123456789abcdef0 c \+ 0
12 0+10428 0+400000014 R_PPC64_GLOB_DAT 123456789abcdef0 c \+ 0
13 0+10450 0+400000026 R_PPC64_ADDR64 123456789abcdef0 c \+ 0
14
15 Relocation section '\.relr\.dyn' at offset .* contains 1 entry which relocates 1 location:
16 Index: Entry Address Symbolic Address
17 0000: +[0-9a-f]+ [0-9a-f]+ +x
18