This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [patch][rfc] Giving plugins access to gold's file views
Rafael Avila de Espindola <respindola@mozilla.com> writes:
> Fixed. The two patches are attached.
>
> 2010-03-22 Rafael Ãvila de EspÃndola <respindola@mozilla.com>
>
> * plugin-api.h (ld_plugin_get_view): New.
> (ld_plugin_tag): Add LDPT_GET_VIEW.
> (ld_plugin_tv): Add tv_get_view.
>
> 2010-03-22 Rafael Ãvila de EspÃndola <respindola@mozilla.com>
>
> * plugin.cc (get_view): New.
> (Plugin::load): Pass get_view to the plugin.
> (Plugin_manager::get_view): New.
> + *viewp = (void*) input_file->file().get_view(offset, 0, filesize, false,
> + false);
Use static_cast<>.
These patches are OK with that change if they're OK with Cary.
Please also update http://gcc.gnu.org/wiki/whopr/driver .
Ian