PR gas/15623
authorNick Clifton <nickc@redhat.com>
Mon, 24 Jun 2013 15:38:53 +0000 (15:38 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 24 Jun 2013 15:38:53 +0000 (15:38 +0000)
* config/tc-arm.c (do_t_smc): Mark as ending an IT block.

gas/ChangeLog
gas/config/tc-arm.c

index d6d9f5e..4130841 100644 (file)
@@ -1,3 +1,8 @@
+2013-06-24  Nick Clifton  <nickc@redhat.com>
+
+       PR gas/15623
+       * config/tc-arm.c (do_t_smc): Mark as ending an IT block.
+
 2013-06-23  Richard Sandiford  <rdsandiford@googlemail.com>
 
        * config/tc-mips.c (mips_ip): Fix swapped bit numbers in comments.
index b327a1b..40ae436 100644 (file)
@@ -12013,6 +12013,8 @@ do_t_smc (void)
   inst.instruction |= (value & 0xf000) >> 12;
   inst.instruction |= (value & 0x0ff0);
   inst.instruction |= (value & 0x000f) << 16;
+  /* PR gas/15623: SMC instructions must be last in an IT block.  */
+  set_it_insn_type_last ();
 }
 
 static void