summaryrefslogtreecommitdiffstats
path: root/ld/testsuite/ld-x86-64/ilp32-11.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-x86-64/ilp32-11.d')
-rw-r--r--ld/testsuite/ld-x86-64/ilp32-11.d3
1 files changed, 3 insertions, 0 deletions
diff --git a/ld/testsuite/ld-x86-64/ilp32-11.d b/ld/testsuite/ld-x86-64/ilp32-11.d
new file mode 100644
index 0000000000..7240c5805e
--- /dev/null
+++ b/ld/testsuite/ld-x86-64/ilp32-11.d
@@ -0,0 +1,3 @@
+#as: --x32
+#ld: -shared -melf32_x86_64
+#error: .*addend 2147483647 in relocation R_X86_64_64 against symbol `.text' at 0x0 in section `.data.rel.local' is out of range
OpenPOWER on IntegriCloud