diff options
author | Nick Clifton <nickc@redhat.com> | 2013-06-24 15:38:53 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2013-06-24 15:38:53 +0000 |
commit | 243821998eacfda6520aa69fb6fc19a03215e5d6 (patch) | |
tree | e094b6ec8131553091dc0e903a9aa90f9a85c582 /gas/config | |
parent | 0120846339200cfc91bd0fc5132bcfea6f1dcff4 (diff) | |
download | gdb-243821998eacfda6520aa69fb6fc19a03215e5d6.zip gdb-243821998eacfda6520aa69fb6fc19a03215e5d6.tar.gz gdb-243821998eacfda6520aa69fb6fc19a03215e5d6.tar.bz2 |
PR gas/15623
* config/tc-arm.c (do_t_smc): Mark as ending an IT block.
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-arm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index b327a1b..40ae436 100644 --- a/gas/config/tc-arm.c +++ b/gas/config/tc-arm.c @@ -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 |