aboutsummaryrefslogtreecommitdiff
path: root/bfd/ChangeLog
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@imgtec.com>2016-11-21 15:59:42 +0000
committerMaciej W. Rozycki <macro@imgtec.com>2016-11-21 16:38:08 +0000
commitb6ddcd85e3c0ae1f12af60efd6d1b97ac4bfa771 (patch)
treeda9d5de682782dbbc53c9eede460980f4cdfc0c3 /bfd/ChangeLog
parent3fff9862d5229def9318912c2de64a03dab74532 (diff)
downloadbinutils-b6ddcd85e3c0ae1f12af60efd6d1b97ac4bfa771.zip
binutils-b6ddcd85e3c0ae1f12af60efd6d1b97ac4bfa771.tar.gz
binutils-b6ddcd85e3c0ae1f12af60efd6d1b97ac4bfa771.tar.bz2
BFD/DWARF2: Correct an `index' global shadowing error
Fix a commit 089e3718bd8d ("Greatly improve the speed if looking up DWARF line number information.") build regression: cc1: warnings being treated as errors .../bfd/dwarf2.c: In function 'build_line_info_table': .../bfd/dwarf2.c:1614: warning: declaration of 'index' shadows a global declaration /usr/include/string.h:304: warning: shadowed declaration is here .../bfd/dwarf2.c: In function 'build_lookup_funcinfo_table': .../bfd/dwarf2.c:2262: warning: declaration of 'index' shadows a global declaration /usr/include/string.h:304: warning: shadowed declaration is here make[4]: *** [dwarf2.lo] Error 1 in a way following commit 91d6fa6a035c ("Add -Wshadow to the gcc command line options used when compiling the binutils."). bfd/ * dwarf2.c (build_line_info_table): Rename `index' local variable to `line_index'. (build_lookup_funcinfo_table): Rename `index' local variable to `func_index'.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r--bfd/ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index f28351d..3f4ffcf 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,10 @@
+2016-11-21 Maciej W. Rozycki <macro@imgtec.com>
+
+ * dwarf2.c (build_line_info_table): Rename `index' local
+ variable to `line_index'.
+ (build_lookup_funcinfo_table): Rename `index' local variable to
+ `func_index'.
+
2016-11-19 Jose E. Marchesi <jose.marchesi@oracle.com>
* elfxx-sparc.c (_bfd_sparc_elf_size_dynamic_sections): Do not