aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mips-elf/jalx-1.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-mips-elf/jalx-1.s')
-rw-r--r--ld/testsuite/ld-mips-elf/jalx-1.s15
1 files changed, 15 insertions, 0 deletions
diff --git a/ld/testsuite/ld-mips-elf/jalx-1.s b/ld/testsuite/ld-mips-elf/jalx-1.s
new file mode 100644
index 0000000..96bf01b
--- /dev/null
+++ b/ld/testsuite/ld-mips-elf/jalx-1.s
@@ -0,0 +1,15 @@
+ .set noreorder
+ .set micromips
+ .ent test
+ .globl test
+test:
+ jalx test1
+ nop
+
+ .set nomicromips
+test1:
+ addu $3, $4, $5
+ .end test
+
+# Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ...
+ .space 8