diff options
author | Cary Coutant <ccoutant@google.com> | 2009-02-13 19:04:45 +0000 |
---|---|---|
committer | Cary Coutant <ccoutant@google.com> | 2009-02-13 19:04:45 +0000 |
commit | f488e4b0e99b9f8871013aa719ea4ff477a4f330 (patch) | |
tree | 638692a3604b5b1c5fa5f4a4148a4876858a32a3 /gold/archive.cc | |
parent | 7065b901d547c516370affe96e0162bb82926cc7 (diff) | |
download | gdb-f488e4b0e99b9f8871013aa719ea4ff477a4f330.zip gdb-f488e4b0e99b9f8871013aa719ea4ff477a4f330.tar.gz gdb-f488e4b0e99b9f8871013aa719ea4ff477a4f330.tar.bz2 |
(From Rafael Espindola)
* archive.cc (Archive::include_member): Update calls to add_symbols.
* dynobj.cc (Sized_dynobj<size, big_endian>::make_version_map): Add
the Layout argument.
* dynobj.h (do_add_symbols): Add the Layout argument.
* object.cc (Sized_relobj<size, big_endian>::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<size, big_endian>::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.
Diffstat (limited to 'gold/archive.cc')
-rw-r--r-- | gold/archive.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gold/archive.cc b/gold/archive.cc index b1ba6d9..6c4a36c 100644 --- a/gold/archive.cc +++ b/gold/archive.cc @@ -759,7 +759,7 @@ Archive::include_member(Symbol_table* symtab, Layout* layout, if (input_objects->add_object(obj)) { obj->layout(symtab, layout, sd); - obj->add_symbols(symtab, sd); + obj->add_symbols(symtab, sd, layout); } delete sd; return; @@ -775,7 +775,7 @@ Archive::include_member(Symbol_table* symtab, Layout* layout, Pluginobj* pluginobj = obj->pluginobj(); if (pluginobj != NULL) { - pluginobj->add_symbols(symtab, layout); + pluginobj->add_symbols(symtab, NULL, layout); return; } @@ -784,7 +784,7 @@ Archive::include_member(Symbol_table* symtab, Layout* layout, Read_symbols_data sd; obj->read_symbols(&sd); obj->layout(symtab, layout, &sd); - obj->add_symbols(symtab, &sd); + obj->add_symbols(symtab, &sd, layout); // If this is an external member of a thin archive, unlock the file // for the next task. |