diff options
Diffstat (limited to 'ld/testsuite/ld-x86-64/pic1.d')
-rw-r--r-- | ld/testsuite/ld-x86-64/pic1.d | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ld/testsuite/ld-x86-64/pic1.d b/ld/testsuite/ld-x86-64/pic1.d new file mode 100644 index 0000000..9e4b957 --- /dev/null +++ b/ld/testsuite/ld-x86-64/pic1.d @@ -0,0 +1,3 @@ +#as: --64 +#ld: -shared -melf_x86_64 +#error: .*relocation R_X86_64_32 against undefined symbol `foo' can not be used when making a shared object; recompile with -fPIC |