binutils-gdb/ld/testsuite/ld-x86-64/protected7a.d

5 lines
174 B
Makefile

#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