aboutsummaryrefslogtreecommitdiff
path: root/bfd/ChangeLog
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 /bfd/ChangeLog
parentbe570f06848d262853de218e0b24245c93cb402b (diff)
downloadgdb-5270eddc6ed6b5d8e4e2817491bb44b784fa6f81.zip
gdb-5270eddc6ed6b5d8e4e2817491bb44b784fa6f81.tar.gz
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 'bfd/ChangeLog')
-rw-r--r--bfd/ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index b0671b3..dd6ecd9 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2018-07-10 Maciej W. Rozycki <macro@mips.com>
+
+ * elflink.c (bfd_elf_final_link): Rename `remove' local variable
+ to `remove_section'.
+
2018-07-10 Alan Modra <amodra@gmail.com>
* elf32-xgate.h: Delete.