2005-09-02 Paul Brook <paul@codesourcery.com>
commit802d759e9354dbe8ebc77abfc76cec62e3091468
authorPaul Brook <paul@codesourcery.com>
Fri, 2 Sep 2005 13:12:45 +0000 (2 13:12 +0000)
committerPaul Brook <paul@codesourcery.com>
Fri, 2 Sep 2005 13:12:45 +0000 (2 13:12 +0000)
tree6450583727b6f59c484ee9dd2de625922efb1bcb
parent6f77e31172f437f00390f9815bb554dd3f1790de
2005-09-02  Paul Brook  <paul@codesourcery.com>

bfd/
* libbdf.h: Regenerate.
* bfd-in2.h: Regenerate.
* reloc.c: Add BFD_RELOC_ARM_T32_CP_OFF_IMM and
BFD_RELOC_ARM_T32_CP_OFF_IMM_S2.
gas/
* config/tc-arm.c (encode_arm_cp_address): Use
BFD_RELOC_ARM_T32_CP_OFF_IMM in thumb mode.
(do_iwmmxt_wldstbh): Use BFD_RELOC_ARM_T32_CP_OFF_IMM_S2 in thumb
mode.
(md_assemble): Only allow coprocessor instructions when Thumb-2 is
available.
(cCE, cC3): Define.
(insns): Use them for coprocessor instructions.
(md_pcrel_from_section): Handle BFD_RELOC_ARM_T32_CP_OFF_IMM.
(get_thumb32_insn): New function.
(put_thumb32_insn): New function.
(md_apply_fix): Handle BFD_RELOC_ARM_T32_CP_OFF_IMM and
BFD_RELOC_ARM_T32_CP_OFF_IMM_S2.
gas/testsuite/
* gas/arm/vfp-bad_t2.d, gas/arm/vfp-bad_t2.l, arm/vfp-bad_t2.s,
gas/arm/vfp1_t2.d, gas/arm/vfp1_t2.s, gas/arm/vfp1xD_t2.d,
gas/arm/vfp1xD_t2.s, gas/arm/vfp2_t2.d, gas/arm/vfp2_t2.s): New files.
opcodes/
* arm-dis.c (coprocessor_opcodes): New.
(arm_opcodes, thumb32_opcodes): Remove coprocessor insns.
(print_insn_coprocessor): New function.
(print_insn_arm): Use print_insn_coprocessor.  Remove coprocessor
format characters.
(print_insn_thumb32): Use print_insn_coprocessor.
18 files changed:
bfd/ChangeLog
bfd/bfd-in2.h
bfd/libbfd.h
bfd/reloc.c
gas/ChangeLog
gas/config/tc-arm.c
gas/testsuite/ChangeLog
gas/testsuite/gas/arm/vfp-bad_t2.d [new file with mode: 0644]
gas/testsuite/gas/arm/vfp-bad_t2.l [new file with mode: 0644]
gas/testsuite/gas/arm/vfp-bad_t2.s [new file with mode: 0644]
gas/testsuite/gas/arm/vfp1_t2.d [new file with mode: 0644]
gas/testsuite/gas/arm/vfp1_t2.s [new file with mode: 0644]
gas/testsuite/gas/arm/vfp1xD_t2.d [new file with mode: 0644]
gas/testsuite/gas/arm/vfp1xD_t2.s [new file with mode: 0644]
gas/testsuite/gas/arm/vfp2_t2.d [new file with mode: 0644]
gas/testsuite/gas/arm/vfp2_t2.s [new file with mode: 0644]
opcodes/ChangeLog
opcodes/arm-dis.c