[committed, PATCH] Replace "link" with "sh_link"
Nick Clifton
nickc@redhat.com
Thu Apr 14 16:01:00 GMT 2016
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
More information about the Binutils
mailing list