diff options
author | Alan Modra <amodra@gmail.com> | 2010-03-17 07:57:06 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2010-03-17 07:57:06 +0000 |
commit | 8f73510c492cb1371470a8930ae103439d12834a (patch) | |
tree | 44cf68dcc7ae04f3be39f103b0c384e34c529928 | |
parent | 7a6771ef40f861534f21f31ef6ff892bd0737ca3 (diff) | |
download | gdb-8f73510c492cb1371470a8930ae103439d12834a.zip gdb-8f73510c492cb1371470a8930ae103439d12834a.tar.gz gdb-8f73510c492cb1371470a8930ae103439d12834a.tar.bz2 |
warning fixes
-rw-r--r-- | bfd/ChangeLog | 4 | ||||
-rw-r--r-- | bfd/elf32-arm.c | 2 | ||||
-rw-r--r-- | binutils/ChangeLog | 4 | ||||
-rw-r--r-- | binutils/readelf.c | 2 |
4 files changed, 10 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 0be128e..c3a00fd 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -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. diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c index cc9ce59..eede7ec 100644 --- a/bfd/elf32-arm.c +++ b/bfd/elf32-arm.c @@ -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; diff --git a/binutils/ChangeLog b/binutils/ChangeLog index c34c82a..506ab55 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -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 diff --git a/binutils/readelf.c b/binutils/readelf.c index e3b5487..c76fc17 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -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); |