aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mips-elf/jaloverflow.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-mips-elf/jaloverflow.s')
-rw-r--r--ld/testsuite/ld-mips-elf/jaloverflow.s12
1 files changed, 12 insertions, 0 deletions
diff --git a/ld/testsuite/ld-mips-elf/jaloverflow.s b/ld/testsuite/ld-mips-elf/jaloverflow.s
new file mode 100644
index 0000000..4dd98b8
--- /dev/null
+++ b/ld/testsuite/ld-mips-elf/jaloverflow.s
@@ -0,0 +1,12 @@
+# This file gets linked to start at 0xffffff0, so the call is an overflow.
+ .text
+ .global start
+ .set noreorder
+start:
+ nop
+ nop
+ nop
+ nop
+ jal start
+ nop
+ .type start, @function