aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mips-elf/export-class-call16-o32.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-mips-elf/export-class-call16-o32.s')
-rw-r--r--ld/testsuite/ld-mips-elf/export-class-call16-o32.s22
1 files changed, 22 insertions, 0 deletions
diff --git a/ld/testsuite/ld-mips-elf/export-class-call16-o32.s b/ld/testsuite/ld-mips-elf/export-class-call16-o32.s
new file mode 100644
index 0000000..548395c
--- /dev/null
+++ b/ld/testsuite/ld-mips-elf/export-class-call16-o32.s
@@ -0,0 +1,22 @@
+ .text
+ .balign 16
+ .xdef foo
+ .ent foo
+foo:
+ .frame $29, 8, $31
+ .mask 0x80000000, -4
+ .set noreorder
+ .cpload $25
+ .set reorder
+ addiu $29, -8
+ sw $31, 4($29)
+ .cprestore 0
+ jal protected_foo
+ jal hidden_foo
+ jal internal_foo
+ lw $31, 4($29)
+ addiu $29, 8
+ jr $31
+ .end foo
+ .balign 4
+ .space 8