mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
5417f71edb
* mips-dis.c (is_compressed_mode_p): Only match symbols from the section disassembled. binutils/testsuite/ * binutils-all/mips/mixed-micromips.d: New test. * binutils-all/mips/mixed-mips16.d: New test. * binutils-all/mips/mixed-micromips.s: New test source. * binutils-all/mips/mixed-mips16.s: New test source. * binutils-all/mips/mips.exp: New file.
34 lines
549 B
ArmAsm
34 lines
549 B
ArmAsm
.section .text.foo, "ax", @progbits
|
|
.set nomicromips
|
|
.globl foo
|
|
.ent foo
|
|
foo:
|
|
addiu $sp, $sp, -32
|
|
sw $ra, 28($sp)
|
|
jal baz
|
|
lw $ra, 28($sp)
|
|
addiu $sp, $sp, 32
|
|
jr $ra
|
|
.end foo
|
|
|
|
# Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ...
|
|
.align 2
|
|
.space 8
|
|
|
|
|
|
.section .text.bar, "ax", @progbits
|
|
.set micromips
|
|
.globl bar
|
|
.ent bar
|
|
bar:
|
|
addiu $sp, $sp, -32
|
|
sw $ra, 28($sp)
|
|
jals baz
|
|
lw $ra, 28($sp)
|
|
jraddiusp 32
|
|
.end bar
|
|
|
|
# Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ...
|
|
.align 2
|
|
.space 8
|