From 8f73510c492cb1371470a8930ae103439d12834a Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Wed, 17 Mar 2010 07:57:06 +0000 Subject: [PATCH] warning fixes --- bfd/ChangeLog | 4 ++++ bfd/elf32-arm.c | 2 +- binutils/ChangeLog | 4 ++++ 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 + + * 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 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 + + * 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 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); -- 2.7.4