Browse Source
* config/tc-mips.c (is_opcode_valid): Remove expansionp. (macro_build): Change invocation of is_opcode_valid. (mips_ip): Likewise. gas/testsuite/ * gas/mips/mips-no-jalx.l: Delete. * gas/mips/mips-no-jalx.s: Delete. * gas/mips/mips-jalx-2.d: New. * gas/mips/mips-jalx-2.s: New. * gas/mips/mips.exp (mips-jalx-2): Run new test. (mips-no-jalx): Remove deleted test. include/ * opcode/mips.h (INSN_MIPS16): Remove. opcodes/ * mips-dis.c (mips_arch): Remove INSN_MIPS16. * mips-opc.c (I16): Remove. (mips_builtin_op): Reclassify jalx.gdb_7_2-branch
13 changed files with 64 additions and 27 deletions
@ -0,0 +1,15 @@ |
|||
#objdump: -d |
|||
#as: |
|||
#name: mips jalx-2 |
|||
|
|||
.*: file format .* |
|||
|
|||
Disassembly of section .text: |
|||
|
|||
[ 0-9a-f]+ <text_sym>: |
|||
[ 0-9a-f]+: 74000000 jalx 0 <.[^>]*> |
|||
[ 0-9a-f]+: 00000000 nop |
|||
|
|||
[ 0-9a-f]+ <.[^>]*>: |
|||
[ 0-9a-f]+: 6500 nop |
|||
\.\.\. |
|||
@ -0,0 +1,10 @@ |
|||
text_sym: |
|||
.text |
|||
jalx 1f |
|||
|
|||
.set mips16 |
|||
.align 1 |
|||
1: nop |
|||
.set nomips16 |
|||
.align 2 |
|||
.fill 8 |
|||
@ -1,2 +0,0 @@ |
|||
.*: Assembler messages: |
|||
.*:3: Error: opcode not supported (at this ISA level|on this processor: .*) \(mips.*\) `jalx external_label' |
|||
@ -1,3 +0,0 @@ |
|||
# Test the generation of jalx opcodes |
|||
.set nomips16 |
|||
jalx external_label |
|||
Loading…
Reference in new issue