summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mips-elf/mips16-call-global-1.s
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2010-10-30 23:02:32 +0000
committerDimitry Andric <dim@FreeBSD.org>2010-10-30 23:02:32 +0000
commitb3cded65e92ba4d9b5e5a33fb95c4d551bda9c1b (patch)
tree69d40fbef2c0c4ee32fe97b7a28b510f2e3c2dbc /ld/testsuite/ld-mips-elf/mips16-call-global-1.s
parent7a815afd9b5121ee0f65dc1e1de1c0de6de97679 (diff)
downloadsrc-test2-b3cded65e92ba4d9b5e5a33fb95c4d551bda9c1b.tar.gz
src-test2-b3cded65e92ba4d9b5e5a33fb95c4d551bda9c1b.zip
Notes
Diffstat (limited to 'ld/testsuite/ld-mips-elf/mips16-call-global-1.s')
-rw-r--r--ld/testsuite/ld-mips-elf/mips16-call-global-1.s12
1 files changed, 12 insertions, 0 deletions
diff --git a/ld/testsuite/ld-mips-elf/mips16-call-global-1.s b/ld/testsuite/ld-mips-elf/mips16-call-global-1.s
new file mode 100644
index 000000000000..1e60bcc14ccc
--- /dev/null
+++ b/ld/testsuite/ld-mips-elf/mips16-call-global-1.s
@@ -0,0 +1,12 @@
+ .set mips16
+
+ .globl __start
+ .ent __start
+__start:
+ .frame $sp,24,$31
+ save 24,$31
+ jal x+8
+ jal y+8
+ restore 24,$31
+ j $31
+ .end __start