This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [gold][patch] a bit of plugin code refactoring


>        * 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 looks good to me. I like getting rid of Add_plugin_symbols. Thanks!

-cary


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]