* 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 e36c83c7b869ffa5e588d02227edc8e778e8eb45..1e6d07c6aeb6d84cb380d62aa14ec52431973759 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 dec6f3d0f3d8bf77b0c80c8836982f48851d757d..1b0dad93d7613aef31029a9f266e9801d47081c7 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)
     {