This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Replace "link" with "sh_link"
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Thu, 14 Apr 2016 11:50:47 -0400
- Subject: [binutils-gdb] Replace "link" with "sh_link"
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 7634c4e679156fc6a93ccb8b33898f5cf41eb233 ***
Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 7634c4e679156fc6a93ccb8b33898f5cf41eb233
Replace "link" with "sh_link"
On Linux/x86, GCC 4.2 issues a warning:
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".