old-cross-binutils/ld/testsuite/ld-mips-elf/export-class-call16-n32.s
Maciej W. Rozycki 9b11fa1a85 * ld-mips-elf/export-class-call16-o32.dd: New test.
* 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.
2012-08-13 19:52:59 +00:00

20 lines
292 B
ArmAsm

.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