aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-tic6x/reloc-overflow-abs16-2.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-tic6x/reloc-overflow-abs16-2.d')
-rw-r--r--ld/testsuite/ld-tic6x/reloc-overflow-abs16-2.d5
1 files changed, 5 insertions, 0 deletions
diff --git a/ld/testsuite/ld-tic6x/reloc-overflow-abs16-2.d b/ld/testsuite/ld-tic6x/reloc-overflow-abs16-2.d
new file mode 100644
index 0000000..9b858a8
--- /dev/null
+++ b/ld/testsuite/ld-tic6x/reloc-overflow-abs16-2.d
@@ -0,0 +1,5 @@
+#name: C6X relocation underflow, ABS16
+#as: -mlittle-endian
+#ld: -melf32_tic6x_le -Tgeneric.ld --defsym s=0xffff7fff
+#source: reloc-overflow-abs16.s
+#error: .*relocation truncated to fit: R_C6000_ABS16.*