From: Alan Modra Date: Wed, 17 Mar 2010 07:57:06 +0000 (+0000) Subject: warning fixes X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8f73510c492cb1371470a8930ae103439d12834a;p=binutils-gdb.git warning fixes --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 0be128e48ca..c3a00fdda72 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2010-03-17 Alan Modra + + * elf32-arm.c (cortex_a8_erratum_scan): Warning fix. + 2010-03-16 Alan Modra * 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 cc9ce59f3b0..eede7ecbfbf 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 c34c82ad8b3..506ab55e13d 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2010-03-17 Alan Modra + + * readelf.c (dump_arm_unwind): Warning fix. + 2010-03-16 Daniel Jacobowitz * MAINTAINERS: Update my email address. List Tristan Gingold diff --git a/binutils/readelf.c b/binutils/readelf.c index e3b54873ad6..c76fc178c23 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);