aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2010-03-17 07:57:06 +0000
committerAlan Modra <amodra@gmail.com>2010-03-17 07:57:06 +0000
commit8f73510c492cb1371470a8930ae103439d12834a (patch)
tree44cf68dcc7ae04f3be39f103b0c384e34c529928 /bfd
parent7a6771ef40f861534f21f31ef6ff892bd0737ca3 (diff)
downloadgdb-8f73510c492cb1371470a8930ae103439d12834a.zip
gdb-8f73510c492cb1371470a8930ae103439d12834a.tar.gz
gdb-8f73510c492cb1371470a8930ae103439d12834a.tar.bz2
warning fixes
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/elf32-arm.c2
2 files changed, 5 insertions, 1 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;