summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/pr24151a-x32.d
blob: 130611ddf4933dc08a3492e67ce317761575ff6f (plain)
1
2
3
4
#source: pr24151a.s
#as: --x32
#ld: -shared -melf32_x86_64
#error: .*relocation R_X86_64_PC32 against protected symbol `foo' can not be used when making a shared object