summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/protected6a.d
blob: 3a7963ffd2ff5c2c2794d86d33c0f8566ed98be7 (plain)
1
2
3
4
#source: protected6.s
#as: --64
#ld: -shared -melf_x86_64
#error: .*relocation R_X86_64_GOTOFF64 against protected data `foo' can not be used when making a shared object