aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mips-elf/unaligned-jalx-addend-0.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-mips-elf/unaligned-jalx-addend-0.s')
-rw-r--r--ld/testsuite/ld-mips-elf/unaligned-jalx-addend-0.s14
1 files changed, 14 insertions, 0 deletions
diff --git a/ld/testsuite/ld-mips-elf/unaligned-jalx-addend-0.s b/ld/testsuite/ld-mips-elf/unaligned-jalx-addend-0.s
new file mode 100644
index 0000000..417d69a
--- /dev/null
+++ b/ld/testsuite/ld-mips-elf/unaligned-jalx-addend-0.s
@@ -0,0 +1,14 @@
+ .text
+ .align 4
+ .globl foo
+ .ent foo
+foo:
+ jal bar0 + 4
+ jal bar1 - 2
+ jal bar2 - 4
+ jal bar3 + 2
+ .end foo
+
+# Force some (non-delay-slot) zero bytes, to make 'objdump' print ...
+ .align 4, 0
+ .space 16