diff options
author | Thomas Preud'homme <thomas.preudhomme@arm.com> | 2015-12-24 17:01:42 +0800 |
---|---|---|
committer | Thomas Preud'homme <thomas.preudhomme@arm.com> | 2015-12-24 17:03:50 +0800 |
commit | fc289b0a832c536a2ec324634cb420f39b212696 (patch) | |
tree | 3e5e7105c3ab6ae8d8723d4367db1127079713ab /gas/stamp-h.in | |
parent | 443bfd5a371633064bf251a74b27382c7774f217 (diff) | |
download | gdb-fc289b0a832c536a2ec324634cb420f39b212696.zip gdb-fc289b0a832c536a2ec324634cb420f39b212696.tar.gz gdb-fc289b0a832c536a2ec324634cb420f39b212696.tar.bz2 |
Consolidate Thumb-1/Thumb-2 ISA detection
2015-12-24 Thomas Preud'homme <thomas.preudhomme@arm.com>
gas/
* config/tc-arm.c (move_or_literal_pool): Check mov.w, mvm and movw
availability against arm_ext_v6t2 instead of checking arm_arch_t2,
fixing comments along the way.
(handle_it_state): Check arm_ext_v6t2 instead of arm_arch_t2 to
generate IT instruction.
(t1_isa_t32_only_insn): New function.
(md_assemble): Use above new function to check for invalid wide
instruction for CPU Thumb ISA and to determine what Thumb extension
bit is necessary for that instruction.
(md_apply_fix): Use arm_ext_v6t2 instead of arm_arch_t2 to decide if
branch is out of range.
include/opcode/
* arm.h (ARM_ARCH_THUMB2): Add comment explaining its meaning and
remove extension bit not including any Thumb-2 instruction.
Diffstat (limited to 'gas/stamp-h.in')
0 files changed, 0 insertions, 0 deletions