bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/10288] "objdump -D --target=binary -m arm7tdmi" shows non-


From: nickc at redhat dot com
Subject: [Bug binutils/10288] "objdump -D --target=binary -m arm7tdmi" shows non-ARM7TDMI instructions
Date: 18 Jun 2009 10:38:34 -0000

------- Additional Comments From nickc at redhat dot com  2009-06-18 10:38 
-------
Hi Chris,

  Right, first of all, I have checked in the patch along with the changelog
entries below.

  Secondly you asked: "What was your rationale for remove *all* coprocessor
instructions?"  The answer is that I did not.  I just restricted the coprocessor
instruction display to those that are guaranteed to be supported by the given
architecture, as determined by the macros in the include/opcode/arm.h file.  If
the user wants to see all the coprocessor instructions they can invoke the
disassembler with the "-marm" switch.

Cheers
  Nick

include/ChangeLog
2009-06-18  Nick Clifton  <address@hidden>

        * dis-asm.h (USER_SPECIFIED_MACHINE_TYPE): New value for the flags
        field of struct disassemble_info.

opcodes/ChangeLog
2009-06-18  Nick Clifton  <address@hidden>

        PR 10288
        * arm-dis.c (print_insn_coprocessor): Check that a user specified
        ARM architecture supports the matched instruction.
        (print_insn_arm): Likewise.
        (select_arm_features): New function.  Fills in the fields of an
        arm_feature_set structure based on a given arm machine number.
        (print_insn): Initialise an arm_feature_set structure.

binutils/ChangeLog
2009-06-18  Nick Clifton  <address@hidden>

        PR 10288
        * objdump.c (disassemble_bytes): Set the
        USER_SPECIFIED_MACHINE_TYPE flag in the disassemble_info structure
        if the user has invoked the -m switch.
        * doc/binutils.texi: Document the additional behaviour of
        objdump's -m switch for ARM targets.

gas/testsuite/ChangeLog
2009-06-18  Nick Clifton  <address@hidden>

        PR 10288
        * gas/arm/align.s: Add labels so that COFF based targets can
        correctly locate THUMB code.
        * gas/arm/copro.d: Do not pass --architecture switch to objdump.




-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |FIXED


http://sourceware.org/bugzilla/show_bug.cgi?id=10288

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]