aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-i386/pcrel16-2.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-i386/pcrel16-2.d')
-rw-r--r--ld/testsuite/ld-i386/pcrel16-2.d5
1 files changed, 5 insertions, 0 deletions
diff --git a/ld/testsuite/ld-i386/pcrel16-2.d b/ld/testsuite/ld-i386/pcrel16-2.d
new file mode 100644
index 0000000..c1c340f
--- /dev/null
+++ b/ld/testsuite/ld-i386/pcrel16-2.d
@@ -0,0 +1,5 @@
+#name: PCREL16 overflow (2)
+#as: --32
+#ld: -melf_i386
+#error: .*relocation truncated to fit: R_386_PC16 .*t16.*
+#error: .*relocation truncated to fit: R_386_PC16 .*_start.*