aboutsummaryrefslogtreecommitdiff
path: root/compile
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2016-04-14 08:36:32 -0700
committerH.J. Lu <hjl.tools@gmail.com>2016-04-14 08:36:32 -0700
commit7634c4e679156fc6a93ccb8b33898f5cf41eb233 (patch)
tree5e4d4d1a9a6ae056bd8de7bc0d61b3a1ec84b3bf /compile
parentd105775eea0442515e9003dc025cd927f4a1805f (diff)
downloadgdb-7634c4e679156fc6a93ccb8b33898f5cf41eb233.zip
gdb-7634c4e679156fc6a93ccb8b33898f5cf41eb233.tar.gz
gdb-7634c4e679156fc6a93ccb8b33898f5cf41eb233.tar.bz2
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".
Diffstat (limited to 'compile')
0 files changed, 0 insertions, 0 deletions