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