2006-03-20 Paul Brook <paul@codesourcery.com>
authorPaul Brook <paul@codesourcery.com>
Mon, 20 Mar 2006 15:38:02 +0000 (15:38 +0000)
committerPaul Brook <paul@codesourcery.com>
Mon, 20 Mar 2006 15:38:02 +0000 (15:38 +0000)
commitdfa9f0d57b133318a0de825a53a8b8ced0e86914
treed84a7a842c3b23653c32a129e6d6da22b0b8d927
parent6e1cb1a6e6a9cf32d58f5f9dd41365c6d5b635b0
2006-03-20  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (BAD_BRANCH, BAD_NOT_IT): Define.
(do_t_branch): Encode branches inside IT blocks as unconditional.
(do_t_cps): New function.
(do_t_blx, do_t_bkpt, do_t_branch23, do_t_bx, do_t_bxj, do_t_cpsi,
do_t_czb, do_t_it, do_t_setend, do_t_tb): Add IT constaints.
(opcode_lookup): Allow conditional suffixes on all instructions in
Thumb mode.
(md_assemble): Advance condexec state before checking for errors.
(insns): Use do_t_cps.
gas/testsuite/
* gas/arm/thumb2_bcond.d: New test.
* gas/arm/thumb2_bcond.s: New test.
* gas/arm/thumb2_it_bad.d: New test.
* gas/arm/thumb2_it_bad.l: New test.
* gas/arm/thumb2_it_bad.s: New test.
gas/ChangeLog
gas/config/tc-arm.c
gas/testsuite/ChangeLog
gas/testsuite/gas/arm/thumb2_bcond.d [new file with mode: 0644]
gas/testsuite/gas/arm/thumb2_bcond.s [new file with mode: 0644]
gas/testsuite/gas/arm/thumb2_it_bad.d [new file with mode: 0644]
gas/testsuite/gas/arm/thumb2_it_bad.l [new file with mode: 0644]
gas/testsuite/gas/arm/thumb2_it_bad.s [new file with mode: 0644]