aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/pcrel16.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-x86-64/pcrel16.d')
-rw-r--r--ld/testsuite/ld-x86-64/pcrel16.d4
1 files changed, 4 insertions, 0 deletions
diff --git a/ld/testsuite/ld-x86-64/pcrel16.d b/ld/testsuite/ld-x86-64/pcrel16.d
new file mode 100644
index 0000000..41da975
--- /dev/null
+++ b/ld/testsuite/ld-x86-64/pcrel16.d
@@ -0,0 +1,4 @@
+#name: PCREL16 overflow
+#source: ../ld-i386/pcrel16.s
+#ld:
+#error: .*relocation truncated to fit: R_X86_64_PC16 .*