diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2017-07-05 09:04:51 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2017-07-05 09:05:05 -0700 |
commit | 1d827a720c9659cc8d54059ccc3efae24b875c03 (patch) | |
tree | 994f49f2ebf72794c24099a34aedcd84643f0983 /ld/ldmisc.h | |
parent | 15a7695fdce108548169ca265cc440b049d63951 (diff) | |
download | gdb-1d827a720c9659cc8d54059ccc3efae24b875c03.zip gdb-1d827a720c9659cc8d54059ccc3efae24b875c03.tar.gz gdb-1d827a720c9659cc8d54059ccc3efae24b875c03.tar.bz2 |
Fix build with GCC 4.2
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.
Diffstat (limited to 'ld/ldmisc.h')
0 files changed, 0 insertions, 0 deletions