This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [gold][patch] a bit of plugin code refactoring
- From: Ian Lance Taylor <iant at google dot com>
- To: Rafael Espindola <espindola at google dot com>
- Cc: binutils at sourceware dot org, Cary Coutant <ccoutant at google dot com>
- Date: Fri, 13 Feb 2009 07:28:21 -0800
- Subject: Re: [gold][patch] a bit of plugin code refactoring
- References: <38a0d8450902121131o2ad78c28kc673028b5e4e479b@mail.gmail.com>
Rafael Espindola <espindola@google.com> writes:
> 2009-02-15 Rafael Avila de Espindola <espindola@google.com>
>
> * 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.
This is OK.
Thanks.
Ian