diff options
Diffstat (limited to 'gold/dynobj.cc')
-rw-r--r-- | gold/dynobj.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gold/dynobj.cc b/gold/dynobj.cc index 7e61007..3c3549d 100644 --- a/gold/dynobj.cc +++ b/gold/dynobj.cc @@ -335,7 +335,7 @@ Sized_dynobj<size, big_endian>::do_read_symbols(Read_symbols_data* sd) sd->symbol_names = this->get_lasting_view(strtabshdr.get_sh_offset(), strtabshdr.get_sh_size(), - true); + false); sd->symbol_names_size = convert_to_section_size_type(strtabshdr.get_sh_size()); @@ -667,6 +667,10 @@ Sized_dynobj<size, big_endian>::do_add_symbols(Symbol_table* symtab, delete sd->verneed; sd->verneed = NULL; } + + // This is normally the last time we will read any data from this + // file. + this->clear_view_cache_marks(); } // Given a vector of hash codes, compute the number of hash buckets to |