summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-tic6x/got-reloc-local-2.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-tic6x/got-reloc-local-2.s')
-rw-r--r--ld/testsuite/ld-tic6x/got-reloc-local-2.s8
1 files changed, 8 insertions, 0 deletions
diff --git a/ld/testsuite/ld-tic6x/got-reloc-local-2.s b/ld/testsuite/ld-tic6x/got-reloc-local-2.s
new file mode 100644
index 0000000..81f651b
--- /dev/null
+++ b/ld/testsuite/ld-tic6x/got-reloc-local-2.s
@@ -0,0 +1,8 @@
+.text
+.nocmp
+ ldw .d2t2 *+B14($DSBT_index(__c6xabi_DSBT_BASE)), B14
+ ldw .d2t1 *+B14($GOT(b)), A1
+
+.data
+b:
+ .word 0