aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/protected7a.d
blob: 3082084a7b8013b8c8e3b601624f16a3108e86df (plain)
1
2
3
4
#source: protected7.s
#as: --64
#ld: -shared -melf_x86_64
#error: .*relocation R_X86_64_GOTOFF64 against protected function `foo' can not be used when making a shared object