aboutsummaryrefslogtreecommitdiff
path: root/gold
diff options
context:
space:
mode:
Diffstat (limited to 'gold')
-rw-r--r--gold/ChangeLog7
-rw-r--r--gold/dynobj.cc8
2 files changed, 14 insertions, 1 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index e36c83c..1e6d07c 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,3 +1,8 @@
+2009-12-09 Ian Lance Taylor <iant@google.com>
+
+ * dynobj.cc (Sized_dynobj::do_read_symbols): Clear version
+ information fields.
+
2009-12-09 H.J. Lu <hongjiu.lu@intel.com>
* testsuite/Makefile.am (two_file_shared_1_pic_2_test_DEPENDENCIES):
@@ -323,7 +328,7 @@
bit instead of a flag indicating that the thumb-bit is used. Adjust
calls to methods in Arm_relocate_functions for this change.
-2009-11-08 Ian Lance Taylor <ian@airs.com>
+2009-11-08 Ian Lance Taylor <iant@google.com>
PR 10925
* reloc.cc: Instantiate
diff --git a/gold/dynobj.cc b/gold/dynobj.cc
index dec6f3d..1b0dad9 100644
--- a/gold/dynobj.cc
+++ b/gold/dynobj.cc
@@ -323,6 +323,14 @@ Sized_dynobj<size, big_endian>::do_read_symbols(Read_symbols_data* sd)
sd->external_symbols_offset = 0;
sd->symbol_names = NULL;
sd->symbol_names_size = 0;
+ sd->versym = NULL;
+ sd->versym_size = 0;
+ sd->verdef = NULL;
+ sd->verdef_size = 0;
+ sd->verdef_info = 0;
+ sd->verneed = NULL;
+ sd->verneed_size = 0;
+ sd->verneed_info = 0;
if (this->dynsym_shndx_ != -1U)
{