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