aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-arm.c4
2 files changed, 8 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 3531c21..48ff21e 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2009-10-18 Matthias Klose <doko@ubuntu.com>
+
+ * config/tc-arm.c (make_mapping_symbol): Add braces to avoid empty body
+ in release builds.
+
2009-10-16 H.J. Lu <hongjiu.lu@intel.com>
PR gas/10775
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index 2c70923..bb30073 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -2489,7 +2489,9 @@ make_mapping_symbol (enum mstate state, valueT value, fragS *frag)
frag->tc_frag_data.first_map = symbolP;
}
if (frag->tc_frag_data.last_map != NULL)
- know (S_GET_VALUE (frag->tc_frag_data.last_map) < S_GET_VALUE (symbolP));
+ {
+ know (S_GET_VALUE (frag->tc_frag_data.last_map) < S_GET_VALUE (symbolP));
+ }
frag->tc_frag_data.last_map = symbolP;
}