* dynobj.cc (Sized_dynobj::do_read_symbols): Clear version
authorIan Lance Taylor <ian@airs.com>
Thu, 10 Dec 2009 01:10:09 +0000 (01:10 +0000)
committerIan Lance Taylor <ian@airs.com>
Thu, 10 Dec 2009 01:10:09 +0000 (01:10 +0000)
information fields.

gold/ChangeLog
gold/dynobj.cc

index e36c83c..1e6d07c 100644 (file)
@@ -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):
        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
index dec6f3d..1b0dad9 100644 (file)
@@ -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)
     {