This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [committed, PATCH] Replace "link" with "sh_link"
- From: Nick Clifton <nickc at redhat dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>, binutils at sourceware dot org
- Date: Thu, 14 Apr 2016 17:01:15 +0100
- Subject: Re: [committed, PATCH] Replace "link" with "sh_link"
- Authentication-results: sourceware.org; auth=none
- References: <20160414154049 dot GA24424 at intel dot com>
Hi H.J.
> bfd/elf.c: In function â_bfd_elf_copy_private_bfd_dataâ:
> bfd/elf.c:1334: warning: declaration of âlinkâ shadows a global declaration
> /usr/include/unistd.h:757: warning: shadowed declaration is here
> make[6]: *** [elf.lo] Error 1
>
> Replace "link" with "sh_link" fixes it.
>
> * elf.c (_bfd_elf_copy_private_bfd_data): Replace "link" with
> "sh_link".
Thanks for fixing this.
Cheers
Nick