diff options
Diffstat (limited to 'ld/testsuite/ld-x86-64/protected6a.d')
-rw-r--r-- | ld/testsuite/ld-x86-64/protected6a.d | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ld/testsuite/ld-x86-64/protected6a.d b/ld/testsuite/ld-x86-64/protected6a.d new file mode 100644 index 00000000000..3a7963ffd2f --- /dev/null +++ b/ld/testsuite/ld-x86-64/protected6a.d @@ -0,0 +1,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 |