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