aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/ilp32-10.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-x86-64/ilp32-10.d')
-rw-r--r--ld/testsuite/ld-x86-64/ilp32-10.d3
1 files changed, 3 insertions, 0 deletions
diff --git a/ld/testsuite/ld-x86-64/ilp32-10.d b/ld/testsuite/ld-x86-64/ilp32-10.d
new file mode 100644
index 0000000..43d9fbd
--- /dev/null
+++ b/ld/testsuite/ld-x86-64/ilp32-10.d
@@ -0,0 +1,3 @@
+#as: --x32
+#ld: -shared -melf32_x86_64
+#error: .*relocation R_X86_64_PC32 against undefined symbol `bar' can not be used when making a shared object; recompile with -fPIC