OSDN Git Service

PR 10288
authorNick Clifton <nickc@redhat.com>
Thu, 18 Jun 2009 10:31:20 +0000 (10:31 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 18 Jun 2009 10:31:20 +0000 (10:31 +0000)
commitff9263ab9128fa496a6ca4c1d4a727e5830a0967
tree912d28a26e52af13a14a5f88501f1782a8b0ebc1
parent1b4d1a9776c28bbd46d043f44026aecc4941bbba
    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.

        * 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.

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

        * 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.
include/ChangeLog
include/dis-asm.h
opcodes/ChangeLog
opcodes/arm-dis.c