summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mips-elf/export-class-call16-n32.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-mips-elf/export-class-call16-n32.s')
-rw-r--r--ld/testsuite/ld-mips-elf/export-class-call16-n32.s20
1 files changed, 20 insertions, 0 deletions
diff --git a/ld/testsuite/ld-mips-elf/export-class-call16-n32.s b/ld/testsuite/ld-mips-elf/export-class-call16-n32.s
new file mode 100644
index 0000000..325e93c
--- /dev/null
+++ b/ld/testsuite/ld-mips-elf/export-class-call16-n32.s
@@ -0,0 +1,20 @@
+ .text
+ .balign 16
+ .xdef foo
+ .ent foo
+foo:
+ .frame $29, 16, $31
+ .mask 0x90000000, -8
+ addiu $29, -16
+ sd $31, 8($29)
+ .cpsetup $25, 0, foo
+ jal protected_foo
+ jal hidden_foo
+ jal internal_foo
+ .cpreturn
+ ld $31, 8($29)
+ addiu $29, 16
+ jr $31
+ .end foo
+ .balign 4
+ .space 8