From: Ian Lance Taylor Date: Thu, 10 Dec 2009 01:10:09 +0000 (+0000) Subject: * dynobj.cc (Sized_dynobj::do_read_symbols): Clear version X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1276bc895aa3d28a64df990a39df32c93d4f3ca8;p=binutils-gdb.git * dynobj.cc (Sized_dynobj::do_read_symbols): Clear version information fields. --- diff --git a/gold/ChangeLog b/gold/ChangeLog index e36c83c7b86..1e6d07c6aeb 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,8 @@ +2009-12-09 Ian Lance Taylor + + * dynobj.cc (Sized_dynobj::do_read_symbols): Clear version + information fields. + 2009-12-09 H.J. Lu * 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 +2009-11-08 Ian Lance Taylor PR 10925 * reloc.cc: Instantiate diff --git a/gold/dynobj.cc b/gold/dynobj.cc index dec6f3d0f3d..1b0dad93d76 100644 --- a/gold/dynobj.cc +++ b/gold/dynobj.cc @@ -323,6 +323,14 @@ Sized_dynobj::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) {