From 1d827a720c9659cc8d54059ccc3efae24b875c03 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Wed, 5 Jul 2017 09:04:51 -0700 Subject: Fix build with GCC 4.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix GCC 4.2 warnings like: cc1: warnings being treated as errors binutils-gdb/bfd/dwarf2.c:1844: warning: declaration of ‘time’ shadows a global declaration /usr/include/time.h:187: warning: shadowed declaration is here binutils-gdb/bfd/dwarf2.c: In function ‘line_info_add_file_name’: binutils-gdb/bfd/dwarf2.c:1854: warning: declaration of ‘time’ shadows a global declaration /usr/include/time.h:187: warning: shadowed declaration is here bfd/ * dwarf2.c (line_info_add_include_dir_stub): Replace time with xtime. (line_info_add_file_name): Likewise. (decode_line_info): Likewise. binutils/ * dwarf.c (display_debug_names): Replace index with xindex. --- binutils/ChangeLog | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'binutils/ChangeLog') diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 6daa1a4..b5cd595 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2017-07-05 H.J. Lu + + * dwarf.c (display_debug_names): Replace index with xindex. + 2017-07-04 Tristan Gingold * configure: Regenerate. -- cgit v1.1