From: Alan Modra Date: Sat, 3 Oct 2009 00:39:53 +0000 (+0000) Subject: * arm-dis.c (print_insn): Check symtab_size not *symtab. X-Git-Tag: binutils_latest_snapshot~8 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=5ce48cf39e54e98024cf885be232554b2a831f97;p=pf3gnuchains%2Fpf3gnuchains4x.git * arm-dis.c (print_insn): Check symtab_size not *symtab. --- diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 564c6a6a37..b7a9eaa99a 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,95 @@ +2009-10-03 Paul Reed + + * arm-dis.c (print_insn): Check symtab_size not *symtab. + +2009-10-02 H.J. Lu + + * i386-opc.tbl: Drop Disp64 on jump and loop instructions. + * i386-tbl.h: Regenerated. + +2009-10-02 Peter Bergner + + * ppc-dis.c (ppc_opts): Add "476" entry. + * ppc-opc.c (PPC476): Define. + (powerpc_opcodes): Update mnemonics where required for 476. + +2009-10-01 Peter Bergner + + * ppc-opc.c (PPCA2): Use renamed mask PPC_OPCODE_A2. + * ppc-dis.c (ppc_opts): Likewise. + Rename "ppca2" to "a2". + +2009-10-01 M R Swami Reddy + + * crx-dis.c (match_opcode): Truncate mcode to 32-bit. + +2009-09-29 DJ Delorie + + * Makefile.am: Add RX files. + * configure.in: Add support for RX target. + * disassemble.c: Likewise. + * Makefile.in: Regenerate. + * configure: Regenerate. + * opc2c.c: New file. + * rx-decode.c: New file. + * rx-decode.opc: New file. + * rx-dis.c: New file. + +2009-09-29 Peter Bergner + + * ppc-opc.c (powerpc_opcodes): Remove support for the the "lxsdux", + "lxvd2ux", "lxvw4ux", "stxsdux", "stxvd2ux" and "stxvw4ux" opcodes. + +2009-09-25 Michael Eager + + * microblaze-dis.c (get_insn_microblaze, microblaze_get_target_address, + microblaze_decode_insn): Add declarations. + (get_delay_slots_microblaze): Remove. + +2009-09-25 Martin Thuresson + + Update sources to make arc and arm targets compile cleanly with + -Wc++-compat: + * arc-dis.c Fix casts. + * arc-ext.c: Add casts. + * arm-dis.c (enum opcode_sentinel_enum): Gave name to anonymous + enum. + +2009-09-24 H.J. Lu + + * i386-gen.c (opcode_modifiers): Remove Vex256. + (set_bitfield): Handle XXX=V. + + * i386-opc.h (Vex): Update comments. + (Vex256): Removed. + (VexNDS): Updated. + (i386_opcode_modifier): Change vex to 2 bits. Remove vex256. + + * i386-opc.tbl: Replace "Vex|Vex256" with Vex=2. + * i386-tbl.h: Regenerated. + +2009-09-23 Nick Clifton + + * po/fr.po: Updated French translation. + +2009-09-21 Ben Elliston + Peter Bergner + + * ppc-dis.c (ppc_opts): Add "ppca2" entry. + * ppc-opc.c (powerpc_opcodes): Add eratilx, eratsx, eratsx., + eratre, wchkall, eratwe, ldawx., mdfcrx., mfdcr. mtdcrx., icswx, + icswx., mtdcr., dci, wclrone, wclrall, wclr, erativax, tlbsrx., + ici mnemonics. + (ERAT_T): New operand. + (XWC_MASK): New mask. + (XOPL2): New macro. + (PPCA2): Define. + +2009-09-18 Nick Clifton + + * po/es.po: Updated Spanish translation. + * po/vi.po: Updated Vietnamese translation. + 2009-09-15 H.J. Lu * i386-dis.c (OP_E_memory): Don't print '-' in Intel mode if @@ -27,11 +119,11 @@ * mri.c: Add casts. (mri_draw_tree): Use enum name instead of integer. 2009-09-10 Andreas Krebbel - + * s390-dis.c (print_insn_s390): Avoid 'long long'. 2009-09-10 Andreas Krebbel - + * s390-dis.c (s390_extract_operand): Remove the shift for pcrel operands. (print_insn_s390): Signextend and shift pcrel operands before printing. @@ -265,7 +357,7 @@ * Makefile.in: Regenerate. * configure.in: Add bfd_microblaze_arch target. * configure: Regenerate. - * disassemble.c: Define ARCH_microblaze, return + * disassemble.c: Define ARCH_microblaze, return print_insn_microblaze(). * microblaze-dis.c: New MicroBlaze disassembler. * microblaze-opc.h: New MicroBlaze opcode definitions. @@ -346,7 +438,7 @@ * m32r-opc.h, * m32r-opinst.c, * mt-desc.c, * mt-desc.h, * mt-opc.c, * mt-opc.h, * openrisc-desc.c, * openrisc-desc.h, * openrisc-opc.c, * openrisc-opc.h, * xc16x-desc.c, * xc16x-desc.h, - * xc16x-opc.c, * xc16x-opc.h, * xstormy16-desc.c, * xstormy16-desc.h, + * xc16x-opc.c, * xc16x-opc.h, * xstormy16-desc.c, * xstormy16-desc.h, * xstormy16-opc.c, * xstormy16-opc.h: Regenerate. 2009-07-07 Chung-Lin Tang @@ -391,7 +483,7 @@ (VEX_LEN_3A7E_P_2,VEX_LEN_3A7F_P_2): New. (get_vex_imm8): New. handle FMA4. (OP_EX_VexReg): Ditto. - + 2009-06-30 Nick Clifton PR 10288 @@ -420,7 +512,7 @@ (print_insn_arm): Likewise. (print_insn_thumb16): Likewise. (print_insn_thumb32): Likewise. - + PR 10297 * arm-dis.c (UNDEFINED_INSTRUCTION): New macro for a description of an undefined instruction. @@ -588,7 +680,7 @@ (OP_DREX_FCMP): Delete. (DREX_*): Delete. (THREE_BYTE_0F24, THREE_BYTE_0F25, THREE_BYTE_0f7B): Delete. - + 2009-05-22 Alan Modra * Makefile.am: Run "make dep-am". @@ -893,7 +985,7 @@ 2009-01-28 Chao-ying Fu - * mips-opc.c (suxc1): Add the flag of FP_D. + * mips-opc.c (suxc1): Add the flag of FP_D. 2009-01-20 Alan Modra @@ -1054,7 +1146,7 @@ (PREFIX_VEX_3ADF): Likewise. (VEX_LEN_3ADF_P_2): Likewise. (prefix_table): Remove PREFIX_VEX_3A48...PREFIX_VEX_3A4A, - PREFIX_VEX_3A5C...PREFIX_VEX_3A5F, + PREFIX_VEX_3A5C...PREFIX_VEX_3A5F, PREFIX_VEX_3A68...PREFIX_VEX_3A6F and PREFIX_VEX_3A78...PREFIX_VEX_3A7F. Add PREFIX_VEX_3896...PREFIX_VEX_389F, @@ -1072,10 +1164,10 @@ instructions. Add new FMA instructions. * i386-tbl.h: Regenerated. -2009-01-02 Matthias Klose +2009-01-02 Matthias Klose - * or32-opc.c (or32_print_register, or32_print_immediate, - disassemble_insn): Don't rely on undefined sprintf behaviour. + * or32-opc.c (or32_print_register, or32_print_immediate, + disassemble_insn): Don't rely on undefined sprintf behaviour. For older changes see ChangeLog-2008 diff --git a/opcodes/arm-dis.c b/opcodes/arm-dis.c index ef1f03f2ad..7551249904 100644 --- a/opcodes/arm-dis.c +++ b/opcodes/arm-dis.c @@ -106,7 +106,7 @@ struct opcode16 (print "32" when 0) %r print register offset address for wldt/wstr instruction. */ -enum +enum opcode_sentinel_enum { SENTINEL_IWMMXT_START = 1, SENTINEL_IWMMXT_END, @@ -4267,8 +4267,7 @@ print_insn (bfd_vma pc, struct disassemble_info *info, bfd_boolean little) /* First check the full symtab for a mapping symbol, even if there are no usable non-mapping symbols for this address. */ - if (info->symtab != NULL - && * info->symtab + if (info->symtab_size != 0 && bfd_asymbol_flavour (*info->symtab) == bfd_target_elf_flavour) { bfd_vma addr;