summaryrefslogtreecommitdiffstats
path: root/binutils-2.21/ld/testsuite/ld-crx/reloc-rel16.s
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.21/ld/testsuite/ld-crx/reloc-rel16.s')
-rw-r--r--binutils-2.21/ld/testsuite/ld-crx/reloc-rel16.s8
1 files changed, 8 insertions, 0 deletions
diff --git a/binutils-2.21/ld/testsuite/ld-crx/reloc-rel16.s b/binutils-2.21/ld/testsuite/ld-crx/reloc-rel16.s
new file mode 100644
index 0000000..65ec197
--- /dev/null
+++ b/binutils-2.21/ld/testsuite/ld-crx/reloc-rel16.s
@@ -0,0 +1,8 @@
+# Test pc relative relocation R_CRX_REL16
+
+ .section .text_16,"ax","progbits"
+ .global _start
+ .global foo16
+_start:
+ bal ra, foo16
+foo16: