aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@mips.com>2018-07-11 00:42:43 +0100
committerMaciej W. Rozycki <macro@mips.com>2018-07-11 00:42:43 +0100
commit5270eddc6ed6b5d8e4e2817491bb44b784fa6f81 (patch)
treeef1e58adf8c20e8a2e942e9e9c9aa5d2b63e186a /ld
parentbe570f06848d262853de218e0b24245c93cb402b (diff)
downloadfsf-binutils-gdb-5270eddc6ed6b5d8e4e2817491bb44b784fa6f81.zip
fsf-binutils-gdb-5270eddc6ed6b5d8e4e2817491bb44b784fa6f81.tar.gz
fsf-binutils-gdb-5270eddc6ed6b5d8e4e2817491bb44b784fa6f81.tar.bz2
BFD/ELF: Correct a `remove' global shadowing error for pre-4.8 GCC
Remove `-Wshadow' compilation errors: cc1: warnings being treated as errors .../bfd/elflink.c: In function 'bfd_elf_final_link': .../bfd/elflink.c:11722: error: declaration of 'remove' shadows a global declaration /usr/include/stdio.h:154: error: shadowed declaration is here which for versions of GCC before 4.8 prevent support for ELF targets from being built. See also GCC PR c/53066. bfd/ * elflink.c (bfd_elf_final_link): Rename `remove' local variable to `remove_section'.
Diffstat (limited to 'ld')
0 files changed, 0 insertions, 0 deletions