* dynobj.cc (Sized_dynobj::do_read_symbols): Clear version

information fields.
This commit is contained in:
Ian Lance Taylor 2009-12-10 01:10:09 +00:00
parent 3d23d756e5
commit 1276bc895a
2 changed files with 14 additions and 1 deletions

View 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):
@ -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

View 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)
{