diff options
author | DJ Delorie <dj@redhat.com> | 2007-03-29 23:56:39 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2007-03-29 23:56:39 +0000 |
commit | 144f4bc66dfb750983d5636340d46f7757cfe9d1 (patch) | |
tree | 1b467881e2b23c63c8a356f124462cc7b7fa899d /opcodes/m32c-dis.c | |
parent | 243c053bbf3e39ba63d2b9e61ee17a8387ee4baa (diff) | |
download | gdb-144f4bc66dfb750983d5636340d46f7757cfe9d1.zip gdb-144f4bc66dfb750983d5636340d46f7757cfe9d1.tar.gz gdb-144f4bc66dfb750983d5636340d46f7757cfe9d1.tar.bz2 |
* m32c.cpu (Imm-8-s4n): Fix print hook.
(Lab-24-8, Lab-32-8, Lab-40-8): Fix.
(arith-jnz-imm4-dst-defn): Make relaxable.
(arith-jnz16-imm4-dst-defn): Fix encodings.
* m32c-desc.c: Regenerate.
* m32c-dis.c: Regenerate.
* m32c-opc.c: Regenerate.
* config/tc-m32c.c (rl_for, relaxable): Protect argument.
(md_relax_table): Add entries for ADJNZ macros.
(M32C_Macros): Add ADJNZ macros.
(subtype_mappings): Add entries for ADJNZ macros.
(insn_to_subtype): Check for adjnz and sbjnz insns.
(md_estimate_size_before_relax): Pass insn to insn_to_subtype.
(md_convert_frag): Convert adjnz and sbjnz.
Diffstat (limited to 'opcodes/m32c-dis.c')
-rw-r--r-- | opcodes/m32c-dis.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/opcodes/m32c-dis.c b/opcodes/m32c-dis.c index b57d7a2..69323ea 100644 --- a/opcodes/m32c-dis.c +++ b/opcodes/m32c-dis.c @@ -667,7 +667,7 @@ m32c_cgen_print_operand (CGEN_CPU_DESC cd, print_normal (cd, info, fields->f_imm_8_s4, 0|(1<<CGEN_OPERAND_SIGNED), pc, length); break; case M32C_OPERAND_IMM_8_S4N : - print_normal (cd, info, fields->f_imm_8_s4, 0|(1<<CGEN_OPERAND_SIGNED), pc, length); + print_signed4n (cd, info, fields->f_imm_8_s4, 0|(1<<CGEN_OPERAND_SIGNED), pc, length); break; case M32C_OPERAND_IMM_SH_12_S4 : print_keyword (cd, info, & m32c_cgen_opval_h_shimm, fields->f_imm_12_s4, 0); @@ -688,13 +688,13 @@ m32c_cgen_print_operand (CGEN_CPU_DESC cd, print_address (cd, info, fields->f_lab_16_8, 0|(1<<CGEN_OPERAND_RELAX)|(1<<CGEN_OPERAND_PCREL_ADDR), pc, length); break; case M32C_OPERAND_LAB_24_8 : - print_address (cd, info, fields->f_lab_24_8, 0|(1<<CGEN_OPERAND_PCREL_ADDR), pc, length); + print_address (cd, info, fields->f_lab_24_8, 0|(1<<CGEN_OPERAND_RELAX)|(1<<CGEN_OPERAND_PCREL_ADDR), pc, length); break; case M32C_OPERAND_LAB_32_8 : - print_address (cd, info, fields->f_lab_32_8, 0|(1<<CGEN_OPERAND_PCREL_ADDR), pc, length); + print_address (cd, info, fields->f_lab_32_8, 0|(1<<CGEN_OPERAND_RELAX)|(1<<CGEN_OPERAND_PCREL_ADDR), pc, length); break; case M32C_OPERAND_LAB_40_8 : - print_address (cd, info, fields->f_lab_40_8, 0|(1<<CGEN_OPERAND_PCREL_ADDR), pc, length); + print_address (cd, info, fields->f_lab_40_8, 0|(1<<CGEN_OPERAND_RELAX)|(1<<CGEN_OPERAND_PCREL_ADDR), pc, length); break; case M32C_OPERAND_LAB_5_3 : print_address (cd, info, fields->f_lab_5_3, 0|(1<<CGEN_OPERAND_RELAX)|(1<<CGEN_OPERAND_PCREL_ADDR), pc, length); |