aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-crx/reloc-regrel22.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-crx/reloc-regrel22.s')
-rw-r--r--ld/testsuite/ld-crx/reloc-regrel22.s6
1 files changed, 6 insertions, 0 deletions
diff --git a/ld/testsuite/ld-crx/reloc-regrel22.s b/ld/testsuite/ld-crx/reloc-regrel22.s
new file mode 100644
index 0000000..478b5e2
--- /dev/null
+++ b/ld/testsuite/ld-crx/reloc-regrel22.s
@@ -0,0 +1,6 @@
+# Test register relative relocation R_CRX_REGREL22
+
+ .section .text_22,"ax","progbits"
+ .global _start
+_start:
+ loadb foo22(r9,r12,2), r13