aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-crx/reloc-rel4.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-crx/reloc-rel4.s')
-rw-r--r--ld/testsuite/ld-crx/reloc-rel4.s8
1 files changed, 8 insertions, 0 deletions
diff --git a/ld/testsuite/ld-crx/reloc-rel4.s b/ld/testsuite/ld-crx/reloc-rel4.s
new file mode 100644
index 0000000..138f6b6
--- /dev/null
+++ b/ld/testsuite/ld-crx/reloc-rel4.s
@@ -0,0 +1,8 @@
+# Test pc relative relocation R_CRX_REL4
+
+ .section .text_4,"ax","progbits"
+ .global _start
+ .global foo4
+_start:
+ beq0b r10 , foo4
+foo4: