summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-crx/reloc-rel8.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-crx/reloc-rel8.s')
-rw-r--r--ld/testsuite/ld-crx/reloc-rel8.s8
1 files changed, 8 insertions, 0 deletions
diff --git a/ld/testsuite/ld-crx/reloc-rel8.s b/ld/testsuite/ld-crx/reloc-rel8.s
new file mode 100644
index 0000000000..9692f3c5cc
--- /dev/null
+++ b/ld/testsuite/ld-crx/reloc-rel8.s
@@ -0,0 +1,8 @@
+# Test pc relative relocation R_CRX_REL8
+
+ .section .text_8,"ax","progbits"
+ .global _start
+ .global foo8
+_start:
+ beq foo8
+foo8: