This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] Plugin API clarification.
- From: Alan Modra <amodra at gmail dot com>
- To: Dave Korn <dave dot korn dot cygwin at gmail dot com>
- Cc: "binutils at sourceware dot org" <binutils at sourceware dot org>
- Date: Fri, 5 Nov 2010 16:11:12 +1030
- Subject: Re: [PATCH] Plugin API clarification.
- References: <4CD229F6.9040304@gmail.com> <4CD38E11.5090008@gmail.com>
On Fri, Nov 05, 2010 at 04:54:41AM +0000, Dave Korn wrote:
> > * plugin.h (plugin_active_plugins_p): New prototype.
> > (is_ir_dummy_bfd): Delete prototype.
> > * plugin.c: Fix formatting issues.
> > (is_ir_dummy_bfd): Make static.
> > (plugin_active_plugins_p): New function.
> > * ldfile.c (ldfile_try_open_bfd): Use it to save work if no plugins
> > are loaded. Always close file descriptor after claim handler returns.
> > * ldmain.c (add_archive_element): Likewise.
> >
> >
> > Built+tested on i686-pc-cygwin without regressions. Am bootstrapping
> > GCC+lto-plugin and will verify it against that after it's finished building.
> > OK if no problems?
>
> It finished and I did, and it was all correct. May I commit?
OK.
--
Alan Modra
Australia Development Lab, IBM