From f488e4b0e99b9f8871013aa719ea4ff477a4f330 Mon Sep 17 00:00:00 2001 From: Cary Coutant Date: Fri, 13 Feb 2009 19:04:45 +0000 Subject: (From Rafael Espindola) * archive.cc (Archive::include_member): Update calls to add_symbols. * dynobj.cc (Sized_dynobj::make_version_map): Add the Layout argument. * dynobj.h (do_add_symbols): Add the Layout argument. * object.cc (Sized_relobj::do_add_symbols): Add the Layout argument. * object.h (Object::add_symbols): Add the Layout argument. (Object::do_add_symbols): Add the Layout argument. (Sized_relobj::do_add_symbols): Add the Layout argument. * plugin.cc (Sized_pluginobj::do_add_symbols): Unify the two versions. (Add_plugin_symbols): Remove. * plugin.h (Pluginobj::add_symbols, Pluginobj::do_add_symbols): Remove. (Sized_pluginobj::do_add_symbols): Unify the two versions. (Add_plugin_symbols): Remove. * readsyms.cc (Read_symbols::do_read_symbols): Update call to Add_symbols. Use Add_symbols instead of Add_plugin_symbols. (Add_symbols::run): Make it work with Pulginobj. --- gold/object.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gold/object.h') diff --git a/gold/object.h b/gold/object.h index 614a02e..6efc0fe 100644 --- a/gold/object.h +++ b/gold/object.h @@ -350,8 +350,8 @@ class Object // Add symbol information to the global symbol table. void - add_symbols(Symbol_table* symtab, Read_symbols_data* sd) - { this->do_add_symbols(symtab, sd); } + add_symbols(Symbol_table* symtab, Read_symbols_data* sd, Layout *layout) + { this->do_add_symbols(symtab, sd, layout); } // Functions and types for the elfcpp::Elf_file interface. This // permit us to use Object as the File template parameter for @@ -462,7 +462,7 @@ class Object // Add symbol information to the global symbol table--implemented by // child class. virtual void - do_add_symbols(Symbol_table*, Read_symbols_data*) = 0; + do_add_symbols(Symbol_table*, Read_symbols_data*, Layout*) = 0; // Return the location of the contents of a section. Implemented by // child class. @@ -1446,7 +1446,7 @@ class Sized_relobj : public Relobj // Add the symbols to the symbol table. void - do_add_symbols(Symbol_table*, Read_symbols_data*); + do_add_symbols(Symbol_table*, Read_symbols_data*, Layout*); // Read the relocs. void -- cgit v1.1