This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [gold][patch] Add a add_input_library callback
- From: Ian Lance Taylor <iant at google dot com>
- To: Rafael Espindola <espindola at google dot com>
- Cc: Binutils <binutils at sourceware dot org>, Diego Novillo <dnovillo at google dot com>
- Date: Mon, 05 Oct 2009 13:23:32 -0700
- Subject: Re: [gold][patch] Add a add_input_library callback
- References: <38a0d8450910011454s5cc85ce9lf06dea81142f00d3@mail.gmail.com>
Rafael Espindola <espindola@google.com> writes:
> gold/
> 2009-10-01 Rafael Avila de Espindola <espindola@google.com>
>
> * plugin.cc (add_input_library): New.
> (Plugin::load): Add add_input_library to tv.
> (Plugin_manager::add_input_file): Add the search argument.
> (add_input_file): Update call to Plugin_manager::add_input_file.
> (add_input_library): New.
> * plugin.h (Plugin_manager::add_input_file): Add the search argument.
>
> include/
> 2009-10-01 Rafael Avila de Espindola <espindola@google.com>
>
> * plugin-api.h (ld_plugin_symbol_resolution): Document.
> (ld_plugin_add_input_library): New.
> (ld_plugin_tag): Add LDPT_ADD_INPUT_LIBRARY.
> (ld_plugin_tv): Add tv_add_input_library.
This is OK.
The plugin-api.h file is in both the gcc and src repository. Please
commit the changes to the copy in gcc first. If you haven't already
done so, please send the patch to gcc-patches@gcc.gnu.org with the
comment that I had approved it.
Please make sure that http://gcc.gnu.org/wiki/whopr/driver is up to
date with this and other changes, or get Cary to do it. In
particular, LDPT_ADD_INPUT_LIBRARY needs to be documented to explain
what sort of file name should be passed--e.g., "c" to mean the same as
"-lc".
Thanks.
Ian