warning fixes
authorAlan Modra <amodra@gmail.com>
Wed, 17 Mar 2010 07:57:06 +0000 (07:57 +0000)
committerAlan Modra <amodra@gmail.com>
Wed, 17 Mar 2010 07:57:06 +0000 (07:57 +0000)
bfd/ChangeLog
bfd/elf32-arm.c
binutils/ChangeLog
binutils/readelf.c

index 0be128e48cab8feb6b63cb4ade701dbc5899340b..c3a00fdda72cd3ce7402c80cdfcd346550072d68 100644 (file)
@@ -1,3 +1,7 @@
+2010-03-17  Alan Modra  <amodra@gmail.com>
+
+       * elf32-arm.c (cortex_a8_erratum_scan): Warning fix.
+
 2010-03-16  Alan Modra  <amodra@gmail.com>
 
        * elf64-ppc.c (struct ppc_link_hash_table): Add do_toc_opt.
index cc9ce59f3b044a45b27429afa9ec03c8fe751ec9..eede7ecbfbfd9259aa1f089f6128a6e9eac25d80 100644 (file)
@@ -4080,7 +4080,7 @@ cortex_a8_erratum_scan (bfd *input_bfd,
                  && last_was_32bit
                  && ! last_was_branch)
                 {
-                  bfd_signed_vma offset;
+                  bfd_signed_vma offset = 0;
                   bfd_boolean force_target_arm = FALSE;
                  bfd_boolean force_target_thumb = FALSE;
                   bfd_vma target;
index c34c82ad8b3f25309db511b6854ef9bd351adbab..506ab55e13def4dddb1ef7b21776c9ffb02d1a41 100644 (file)
@@ -1,3 +1,7 @@
+2010-03-17  Alan Modra  <amodra@gmail.com>
+
+       * readelf.c (dump_arm_unwind): Warning fix.
+
 2010-03-16  Daniel Jacobowitz  <dan@codesourcery.com>
 
        * MAINTAINERS: Update my email address.  List Tristan Gingold
index e3b54873ad65b95c7237cd176f90380cd8a25fcd..c76fc178c23192e16d8401609ec588ec228ff850 100644 (file)
@@ -6276,7 +6276,7 @@ dump_arm_unwind (struct arm_unw_aux_info *aux, Elf_Internal_Shdr *exidx_sec)
        }
       else
        {
-         bfd_vma table, table_offset;
+         bfd_vma table, table_offset = 0;
          Elf_Internal_Shdr *table_sec;
 
          fputs ("@", stdout);