summaryrefslogtreecommitdiffstats
path: root/binutils-2.24/ld/testsuite/ld-tic6x/got-reloc-global-addend-2.d
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.24/ld/testsuite/ld-tic6x/got-reloc-global-addend-2.d')
-rw-r--r--binutils-2.24/ld/testsuite/ld-tic6x/got-reloc-global-addend-2.d5
1 files changed, 5 insertions, 0 deletions
diff --git a/binutils-2.24/ld/testsuite/ld-tic6x/got-reloc-global-addend-2.d b/binutils-2.24/ld/testsuite/ld-tic6x/got-reloc-global-addend-2.d
new file mode 100644
index 0000000..44d6319
--- /dev/null
+++ b/binutils-2.24/ld/testsuite/ld-tic6x/got-reloc-global-addend-2.d
@@ -0,0 +1,5 @@
+#name: C6X GOT relocations, addend
+#as: -mlittle-endian -mdsbt
+#ld: -melf32_tic6x_le -Tdsbt.ld --dsbt-index 4 -shared
+#source: got-reloc-global-addend-2.s
+#error: .*relocation R_C6000_SBR_GOT_L16_W with non-zero addend 4.*