diff options
author | Ian Lance Taylor <ian@airs.com> | 2009-12-10 01:10:09 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 2009-12-10 01:10:09 +0000 |
commit | 1276bc895aa3d28a64df990a39df32c93d4f3ca8 (patch) | |
tree | 342aeb56009a169c0e538bdaf4bf369a476d864e /gold/dynobj.cc | |
parent | 3d23d756e5ff09b67c68e0e698cf639ae5ce5089 (diff) | |
download | fsf-binutils-gdb-1276bc895aa3d28a64df990a39df32c93d4f3ca8.zip fsf-binutils-gdb-1276bc895aa3d28a64df990a39df32c93d4f3ca8.tar.gz fsf-binutils-gdb-1276bc895aa3d28a64df990a39df32c93d4f3ca8.tar.bz2 |
* dynobj.cc (Sized_dynobj::do_read_symbols): Clear version
information fields.
Diffstat (limited to 'gold/dynobj.cc')
-rw-r--r-- | gold/dynobj.cc | 8 |
1 files changed, 8 insertions, 0 deletions
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) { |