aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-crx/reloc-regrel28.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-crx/reloc-regrel28.s')
-rw-r--r--ld/testsuite/ld-crx/reloc-regrel28.s6
1 files changed, 6 insertions, 0 deletions
diff --git a/ld/testsuite/ld-crx/reloc-regrel28.s b/ld/testsuite/ld-crx/reloc-regrel28.s
new file mode 100644
index 0000000..2be418f
--- /dev/null
+++ b/ld/testsuite/ld-crx/reloc-regrel28.s
@@ -0,0 +1,6 @@
+# Test register relative relocation R_CRX_REGREL28
+
+ .section .text_28,"ax","progbits"
+ .global _start
+_start:
+ cbitd $31, foo28(r9)