summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mips-elf/mips16-call-global-3.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-mips-elf/mips16-call-global-3.s')
-rw-r--r--ld/testsuite/ld-mips-elf/mips16-call-global-3.s17
1 files changed, 17 insertions, 0 deletions
diff --git a/ld/testsuite/ld-mips-elf/mips16-call-global-3.s b/ld/testsuite/ld-mips-elf/mips16-call-global-3.s
new file mode 100644
index 0000000..1606e3c
--- /dev/null
+++ b/ld/testsuite/ld-mips-elf/mips16-call-global-3.s
@@ -0,0 +1,17 @@
+ .set nomips16
+
+ .globl y
+ .ent y
+ .type y,@function
+ .align 4
+y:
+ jr $31
+ .end y
+
+ .ent z
+ .type z,@function
+z:
+ jr $31
+ .end z
+
+ .space 8