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