This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] Add plugin interface to LD [1/4] Infrastructure.
- From: Dave Korn <dave dot korn dot cygwin at gmail dot com>
- To: "binutils at sourceware dot org" <binutils at sourceware dot org>
- Date: Mon, 04 Oct 2010 05:58:13 +0100
- Subject: Re: [PATCH] Add plugin interface to LD [1/4] Infrastructure.
- References: <4C9AE5CA.80707@gmail.com> <4C9AE625.8030904@gmail.com>
On 23/09/2010 06:31, Dave Korn wrote:
> This is the first patch in the series: it adds the infrastructure for
> parsing plugin-related command line options, and for loading, initialising,
> and cleaning up the plugins.
One more thing I already noticed and fixed, to save anyone else the trouble
of pointing it out:
> +#ifdef ENABLE_PLUGINS
> + { {"plugin", required_argument, NULL, OPTION_PLUGIN},
> + '\0', N_("PLUGIN"), N_("Load named plugin"), ONE_DASH },
> + { {"plugin-arg", required_argument, NULL, OPTION_PLUGIN_ARG},
> + '\0', N_("ARG"), N_("Send arg to last-loaded plugin"), ONE_DASH },
> +#endif /* ENABLE_PLUGINS */
That's meant to be -plugin-opt, not -plugin-arg. Fixed in current respin.
cheers,
DaveK