aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-nds32/relax_jmp.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-nds32/relax_jmp.s')
-rw-r--r--ld/testsuite/ld-nds32/relax_jmp.s10
1 files changed, 10 insertions, 0 deletions
diff --git a/ld/testsuite/ld-nds32/relax_jmp.s b/ld/testsuite/ld-nds32/relax_jmp.s
new file mode 100644
index 0000000..e281763
--- /dev/null
+++ b/ld/testsuite/ld-nds32/relax_jmp.s
@@ -0,0 +1,10 @@
+.text
+.global _start
+_start:
+ j main
+ jal main
+.section .text.2, "ax"
+.globl main
+main:
+ nop
+