summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-powerpc/abs-shared.r
blob: 70fb78139ba9d1c96b867997e13d089f3377706f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#source: abs-reloc.s
#as: -a64
#ld: -melf64ppc -shared --hash-style=sysv --defsym a=1 --defsym 'HIDDEN(b=2)' --defsym c=0x123456789abcdef0
#readelf: -rW

Relocation section '\.rela\.dyn' at offset .* contains 7 entries:
 +Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend
0+10438  0+000000016 R_PPC64_RELATIVE +10438
0+10408  0+500000026 R_PPC64_ADDR64         0+1 a \+ 0
0+10430  0+500000014 R_PPC64_GLOB_DAT       0+1 a \+ 0
0+10440  0+500000026 R_PPC64_ADDR64         0+1 a \+ 0
0+10418  0+400000026 R_PPC64_ADDR64         123456789abcdef0 c \+ 0
0+10428  0+400000014 R_PPC64_GLOB_DAT       123456789abcdef0 c \+ 0
0+10450  0+400000026 R_PPC64_ADDR64         123456789abcdef0 c \+ 0