mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
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.
21 lines
292 B
ArmAsm
21 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
|