old-cross-binutils/binutils/testsuite/binutils-all/mips/mixed-micromips.s
Maciej W. Rozycki 5417f71edb opcodes/
* 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.
2013-02-13 17:09:09 +00:00

33 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