aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-powerpc/pr23937.d
blob: 6ef79e81cf67bb12ae024d8ccd0f2249ae73f215 (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 +10000180
#...
.*: 0+10000180 +20 IFUNC +LOCAL +DEFAULT .* magic
#pass