[PATCH] Add plugin interface to LD [4/4] Add files, libs and dir paths.

Dave Korn dave.korn.cygwin@gmail.com
Fri Sep 24 00:35:00 GMT 2010


On 23/09/2010 06:32, Dave Korn wrote:

  Spot of self-review here:

> --- a/ld/ldmain.c
> +++ b/ld/ldmain.c
> @@ -889,7 +889,7 @@ add_archive_element (struct bfd_link_info *info,
>     multiple times.  */
>  
>  static bfd_boolean
> -multiple_definition (struct bfd_link_info *info ATTRIBUTE_UNUSED,
> +multiple_definition (struct bfd_link_info *info,
>  		     const char *name,
>  		     bfd *obfd,
>  		     asection *osec,

  Don't do that, because it's only used when ENABLE_PLUGINS.  Will remember
not to commit with this change.

    cheers,
      DaveK



More information about the Binutils mailing list