[PATCH] Add plugin interface to LD [1/4] Infrastructure.

Dave Korn dave.korn.cygwin@gmail.com
Mon Oct 4 04:35:00 GMT 2010
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



More information about the Binutils mailing list