aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/pr19818-4a.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-x86-64/pr19818-4a.d')
-rw-r--r--ld/testsuite/ld-x86-64/pr19818-4a.d5
1 files changed, 5 insertions, 0 deletions
diff --git a/ld/testsuite/ld-x86-64/pr19818-4a.d b/ld/testsuite/ld-x86-64/pr19818-4a.d
new file mode 100644
index 0000000..1a48089
--- /dev/null
+++ b/ld/testsuite/ld-x86-64/pr19818-4a.d
@@ -0,0 +1,5 @@
+#source: pr19818-4.s
+#source: pr19818-1a.s
+#as: --64
+#ld: -pie -melf_x86_64
+#error: .*relocation R_X86_64_32 against symbol `foo' can not be used when making a shared object; recompile with -fPIC