diff options
Diffstat (limited to 'gold/dynobj.cc')
-rw-r--r-- | gold/dynobj.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gold/dynobj.cc b/gold/dynobj.cc index 2a1b9a3..baf8489 100644 --- a/gold/dynobj.cc +++ b/gold/dynobj.cc @@ -336,6 +336,17 @@ template<int size, bool big_endian> void Sized_dynobj<size, big_endian>::do_read_symbols(Read_symbols_data* sd) { + this->base_read_symbols(sd); +} + +// Read the symbols and sections from a dynamic object. We read the +// dynamic symbols, not the normal symbols. This is common code for +// all target-specific overrides of do_read_symbols(). + +template<int size, bool big_endian> +void +Sized_dynobj<size, big_endian>::base_read_symbols(Read_symbols_data* sd) +{ this->read_section_data(&this->elf_file_, sd); const unsigned char* const pshdrs = sd->section_headers->data(); |