Hi Torbjorn,
.syntax unified
.thumb
.text
it al
subal r3, r3, #1
This is valid code. But gas 2.23.2 complains:
Please could you try out the attached patch and let me know if it works
for you.
Cheers
Nick
Index: gas/config/tc-arm.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-arm.c,v
retrieving revision 1.561
diff -u -3 -p -r1.561 tc-arm.c
--- gas/config/tc-arm.c 28 Mar 2013 11:00:15 -0000 1.561
+++ gas/config/tc-arm.c 5 Apr 2013 17:04:46 -0000
@@ -17034,6 +17034,8 @@ handle_it_state (void)
switch (inst.it_insn_type)
{
case OUTSIDE_IT_INSN:
+ if (cond == inst.cond && cond == COND_ALWAYS)
+ break;
inst.error = BAD_NOT_IT;
return FAIL;
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils