summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-crx/reloc-imm16.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-crx/reloc-imm16.s')
-rw-r--r--ld/testsuite/ld-crx/reloc-imm16.s7
1 files changed, 7 insertions, 0 deletions
diff --git a/ld/testsuite/ld-crx/reloc-imm16.s b/ld/testsuite/ld-crx/reloc-imm16.s
new file mode 100644
index 0000000..3e0cc2e
--- /dev/null
+++ b/ld/testsuite/ld-crx/reloc-imm16.s
@@ -0,0 +1,7 @@
+# Test immediate relocation R_CRX_IMM16
+
+ .section .text_16,"ax","progbits"
+ .global _start
+_start:
+ addw $foo16 , ra
+