9b11fa1a85
* ld-mips-elf/export-class-call16-o32-irix.dd: New test. * ld-mips-elf/export-class-call16-o32.gd: New test. * ld-mips-elf/export-class-call16-n32.dd: New test. * ld-mips-elf/export-class-call16-n32.gd: New test. * ld-mips-elf/export-class-call16-n64.dd: New test. * ld-mips-elf/export-class-call16-n64.gd: New test. * ld-mips-elf/export-class-call16-def.s: New test source. * ld-mips-elf/export-class-call16-o32.s: New test source. * ld-mips-elf/export-class-call16-n32.s: New test source. * ld-mips-elf/export-class-call16-n64.s: New test source. * ld-mips-elf/export-class-call16.ld: New test linker script. * ld-mips-elf/mips-elf.exp: Run the new tests.
22 lines
316 B
ArmAsm
22 lines
316 B
ArmAsm
.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
|