summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-powerpc/pr23937.d
blob: 4610c28dac14b7d4005d7b1dba8427f61ae80538 (plain)
1
2
3
4
5
6
7
8
9
10
#as: -a64
#ld: -melf64ppc --defsym puts=0 --defsym _start=0
#readelf: -srW
# Check that the IRELATIVE addend is magic+0, not magic+8

#...
.* R_PPC64_IRELATIVE +100001a0
#...
.*: 0+100001a0 +20 IFUNC +LOCAL +DEFAULT .* magic
#pass