summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCary Coutant <ccoutant@google.com>2013-05-16 16:34:50 +0000
committerCary Coutant <ccoutant@google.com>2013-05-16 16:34:50 +0000
commit5aa148e4cbf9f25d8a1a33d71c029abe3a7d9f6c (patch)
treea8ebd844ade64ba7dfa45fd78df8d8c904c0c6e0
parent0e8baff8e5a7752131364f177906d70ee92934f0 (diff)
downloadgdb-5aa148e4cbf9f25d8a1a33d71c029abe3a7d9f6c.tar.gz
bfd/
* ecoff.c (ecoff_link_check_archive_element): Add initializers for external_ext_size and esize.
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/ecoff.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 0f5986376c1..e220c63524b 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2013-05-16 Cary Coutant <ccoutant@google.com>
+
+ * ecoff.c (ecoff_link_check_archive_element): Add initializers for
+ external_ext_size and esize.
+
2013-05-16 Tristan Gingold <gingold@adacore.com>
* coff-rs6000.c (_bfd_xcoff_reloc_type_lookup): Handle BFD_RELOC_16.
diff --git a/bfd/ecoff.c b/bfd/ecoff.c
index 5add50cf506..7bfb333f184 100644
--- a/bfd/ecoff.c
+++ b/bfd/ecoff.c
@@ -3561,9 +3561,9 @@ ecoff_link_check_archive_element (bfd *abfd,
void (* const swap_ext_in) (bfd *, void *, EXTR *)
= backend->debug_swap.swap_ext_in;
HDRR *symhdr;
- bfd_size_type external_ext_size;
+ bfd_size_type external_ext_size = 0;
void * external_ext = NULL;
- bfd_size_type esize;
+ bfd_size_type esize = 0;
char *ssext = NULL;
char *ext_ptr;
char *ext_end;