This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]