aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/config/tc-arm.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 6a0865c..6c4e6b8 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+2014-08-22 Maciej W. Rozycki <macro@codesourcery.com>
+
+ * config/tc-arm.c (add_to_lit_pool): Preinitialize `imm1'.
+
2014-08-20 Maciej W. Rozycki <macro@codesourcery.com>
* dw2gencfi.c (make_debug_seg): Replace leading spaces with tabs.
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index ae908b1..560b4cf 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -3192,7 +3192,7 @@ add_to_lit_pool (unsigned int nbytes)
literal_pool * pool;
unsigned int entry, pool_size = 0;
bfd_boolean padding_slot_p = FALSE;
- unsigned imm1;
+ unsigned imm1 = 0;
unsigned imm2 = 0;
if (nbytes == 8)