diff options
author | Nick Clifton <nickc@redhat.com> | 2009-08-06 10:10:50 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2009-08-06 10:10:50 +0000 |
commit | c877a2f27774baf9fd59b3eb0ebdddb061b42c2f (patch) | |
tree | ecd66672184d9fd6a6d644bec94228da286212f8 | |
parent | a502cf95feb41fa27b1b22d477c5c62b5b9b7b20 (diff) | |
download | gdb-c877a2f27774baf9fd59b3eb0ebdddb061b42c2f.zip gdb-c877a2f27774baf9fd59b3eb0ebdddb061b42c2f.tar.gz gdb-c877a2f27774baf9fd59b3eb0ebdddb061b42c2f.tar.bz2 |
* config/tc-arm.c (md_assemble): Call mapping_state from inside a
block in case it is a null macro.
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/config/tc-arm.c | 8 |
2 files changed, 11 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 6bbf281..fc5e454 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2009-08-06 Nick Clifton <nickc@redhat.com> + + * config/tc-arm.c (md_assemble): Call mapping_state from inside a + block in case it is a null macro. + 2009-08-05 Chao-ying Fu <fu@mips.com> * config/tc-mips.c (MIPS_JALR_HINT_P): New define. For IRIX, it is diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index b843b62..c77e44e 100644 --- a/gas/config/tc-arm.c +++ b/gas/config/tc-arm.c @@ -15520,7 +15520,9 @@ md_assemble (char *str) arm_ext_v6t2); if (!inst.error) - mapping_state (MAP_THUMB); + { + mapping_state (MAP_THUMB); + } } else if (ARM_CPU_HAS_FEATURE (cpu_variant, arm_ext_v1)) { @@ -15563,7 +15565,9 @@ md_assemble (char *str) ARM_MERGE_FEATURE_SETS (arm_arch_used, arm_arch_used, *opcode->avariant); if (!inst.error) - mapping_state (MAP_ARM); + { + mapping_state (MAP_ARM); + } } else { |