-2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
-
- * Makefile.in: Regenerated with automake 1.11.6.
- * aclocal.m4: Likewise.
- * doc/Makefile.in: Likewise.
-
-2016-04-14 Nick Clifton <nickc@redhat.com>
-
- PR target/19938
- * testsuite/binutils-all/i386/compressed-1b.d: Allow for the
- string sections possibly having the SHF_STRINGS flag bit set.
- * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
- * testsuite/binutils-all/readelf.s: Likewise.
- * testsuite/binutils-all/readelf.s-64: Likewise.
- * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
- * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
-
-2016-04-13 Nick Clifton <nickc@redhat.com>
-
- PR target/19938
- * readelf.c (get_solaris_section_type): New function: Returns the
- name of Solaris specific section types.
- (get_solaris_dynamic_type): New function: Return the name of
- Solaris specific dynamic types.
- (get_dynamic_type): Use get_solaris_dynamic_type.
- (get_section_type_name): Use get_solaris_section_type.
- (get_solaris_symbol_visibility): New function: Returns Solaris
- specific symbol visibilities.
- (print_dynamic_symbol): Use get_solaris_symbol_visibility.
- (process_symbol_table): Likewise.
-
-2016-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
-
- * dwarf.h (init_dwarf_regnames_s390): Declare.
- * dwarf.c (dwarf_regnames_s390): New.
- (init_dwarf_regnames_s390): New.
- (init_dwarf_regnames): Call it.
- * objdump.c (dump_dwarf): Likewise.
-
-2016-04-11 Maciej W. Rozycki <macro@imgtec.com>
-
- * testsuite/binutils-all/mips/mips16-undecoded.d: New test.
- * testsuite/binutils-all/mips/mips16-undecoded.s: New test
- source.
- * testsuite/binutils-all/mips/mips.exp: Run the new test.
-
-2016-04-04 Nick Clifton <nickc@redhat.com>
-
- PR 19872
- * dwarf.c (display_debug_aranges): Skip warning about unrecognised
- version number if the version is zero.
+2017-02-17 Nick Clifton <nickc@redhat.com>
-2016-03-29 Alan Modra <amodra@gmail.com>
+ * readelf.c (get_section_type_name): Add decoding of GNU section
+ types.
- * readelf.c (get_data): Use BFD_VMA_FMT to print bfd_size_type vars.
- (get_dynamic_data): Likewise.
+2017-02-15 Nick Clifton <nickc@redhat.com>
-2016-03-22 Nick Clifton <nickc@redhat.com>
+ * MAINTAINERS: (MIPS, MN10300): Move Eric Christopher to Past
+ Maintainers section.
- PR 19851
- * dwarf.c (SAFE_BYTE_GET): Replace local dynamic array allocation
- with run time size check.
+2017-02-14 Nick Clifton <nickc@redhat.com>
- * configure: Regenerate.
+ PR binutils/21159
+ * readelf.c (dump_section_as_strings): Reset the start address if
+ no decompression is perfromed.
+ (dump_section_as_bytes): Likewise.
-2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
+2017-02-14 Nick Clifton <nickc@redhat.com>
- * readelf.c (decode_ARC_machine_flags): Handle nps400.
+ PR binutils/21158
+ * rddbg.c (read_symbol_stabs_debugging_info): Check for a null or
+ empty symbol name.
-2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
+2017-02-14 Nick Clifton <nickc@redhat.com>
- * readelf.c (get_machine_flags): Move arc processing into...
- (decode_ARC_machine_flags): ... new function. Remove use of
- EF_ARC_CPU_GENERIC, change default case from "generic arc" to
- "unknown arc". Merged ABI printing between two machine types.
+ PR binutils/21157
+ * stabs.c (parse_stab_enum_type): Check for corrupt NAME:VALUE
+ pairs.
+ (parse_number): Exit early if passed an empty string.
-2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
+2017-02-14 Nick Clifton <nickc@redhat.com>
- * testsuite/binutils-all/objdump.exp (cpus_expected): Add ARC700
- to the architecture list.
+ PR binutils/21155
+ * readelf.c (IN_RANGE): New macro. Tests for an address + offset
+ being within a given range.
+ (target_specific_reloc_handling): Use macro to test for underflow
+ as well as overflow of reloc offset.
-2016-03-21 Nick Clifton <nickc@redhat.com>
+2017-02-13 Nick Clifton <nickc@redhat.com>
- * dlltool.c: Replace use of alloca with call to xmalloc.
- * dllwrap.c: Likewise.
- * nlmconv.c: Likewise.
- * objdump.c: Likewise.
- * resrc.c: Likewise.
- * winduni.c: Likewise.
- * configure: Regenerate.
+ PR binutils/21150
+ * nm.c (file_symbol): Add test of string length before testing
+ string characters.
-2016-03-07 Nick Clifton <nickc@redhat.com>
+2017-02-13 Nick Clifton <nickc@redhat.com>
- PR binutils/19775
- * testsuite/binutils-all/ar.exp (proc empty_archive): New proc.
- Run the new proc.
- * testsuite/binutils-all/empty: New, empty, file.
+ PR binutils/21135
+ * readelf.c (dump_section_as_bytes): Handle the case where
+ uncompress_section_contents returns false.
+ (dump_section_as_bytes, load_specific_debug_section): Likewise.
-2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
+2017-02-13 Nick Clifton <nickc@redhat.com>
- * readelf.c (arm_attry_tag_FP_arch): Add "NEON for ARMv8.1".
+ PR binutils/21149
+ * readelf.c (get_compression_header): Add size parameter. Check
+ size against sizeof compression header before attempting to
+ extract the header.
+ (process_section_headers): Pass size to get_compression_header.
+ (dump_section_as_strings): Likewise.
+ (dump_section_as_bytes): Likewise.
+ (load_specific_debug_section): Likewise.
-2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
+2017-02-13 Nick Clifton <nickc@redhat.com>
- PR ld/19645
- * NEWS: Mention --elf-stt-common= for objcopy.
- * doc/binutils.texi: Document --elf-stt-common= for objcopy.
- * objcopy.c (do_elf_stt_common): New.
- (command_line_switch): Add OPTION_ELF_STT_COMMON.
- (copy_options): Add --elf-stt-common=.
- (copy_usage): Add --elf-stt-common=.
- (copy_object): Also check do_elf_stt_common for ELF targets.
- (copy_file): Handle do_elf_stt_common.
- (copy_main): Handle OPTION_ELF_STT_COMMON.
- * readelf.c (apply_relocations): Support STT_COMMON.
- * testsuite/binutils-all/common-1.s: New file.
- * testsuite/binutils-all/common-1a.d: Likewise.
- * testsuite/binutils-all/common-1b.d: Likewise.
- * testsuite/binutils-all/common-1c.d: Likewise.
- * testsuite/binutils-all/common-1d.d: Likewise.
- * testsuite/binutils-all/common-1e.d: Likewise.
- * testsuite/binutils-all/common-1f.d: Likewise.
- * testsuite/binutils-all/common-2.s: Likewise.
- * testsuite/binutils-all/common-2a.d: Likewise.
- * testsuite/binutils-all/common-2b.d: Likewise.
- * testsuite/binutils-all/common-2c.d: Likewise.
- * testsuite/binutils-all/common-2d.d: Likewise.
- * testsuite/binutils-all/common-2e.d: Likewise.
- * testsuite/binutils-all/common-2f.d: Likewise.
- * testsuite/binutils-all/objcopy.exp
- (objcopy_test_elf_common_symbols): New proc.
- Run objcopy_test_elf_common_symbols for ELF targets
+ PR binutils/21148
+ * readelf.c (process_version_sections): Include size of auxillary
+ version information when checking for buffer overflow.
-2016-02-16 H.J. Lu <hongjiu.lu@intel.com>
+2017-02-13 Nick Clifton <nickc@redhat.com>
- PR binutils/19647
- * readelf.c (get_section_type_name): Add a missing break.
+ PR binutils/21147
+ * readelf.c (process_section_contents): Fix off by one error
+ reporting un-dumped sections.
-2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
+2017-02-13 Nick Clifton <nickc@redhat.com>
- * readelf.c (is_32bit_pcrel_reloc): Add R_ARC_32_PCREL.
+ PR binutils/21139
+ * readelf.c (target_specific_reloc_handling): Add num_syms
+ parameter. Check for symbol table overflow before accessing
+ symbol value. If reloc pointer is NULL, discard all saved state.
+ (apply_relocations): Pass num_syms to target_specific_reloc_handling.
+ Call target_specific_reloc_handling with a NULL reloc pointer
+ after processing all of the relocs.
-2016-02-15 Nick Clifton <nickc@redhat.com>
+2017-02-13 Nick Clifton <nickc@redhat.com>
- * readelf.c (get_section_type_name): Add hex prefix to offsets
- printed for LOPROC and LOOS values. Ensure that a result is
- always returned for the V850 target, even when an unrecognised
- processor specific value is encountered.
- (process_section_headers): Display key values in the order in
- which they appear to the user. Add the "C (compressed)" value to
- the list.
+ PR binutils/21137
+ * readelf.c (target_specific_reloc_handling): Add end parameter.
+ Check for buffer overflow before writing relocated values.
+ (apply_relocations): Pass end to target_specific_reloc_handling.
-2016-02-12 H.J. Lu <hongjiu.lu@intel.com>
+2017-01-27 Dilyan Palauzov <dilyan.palauzov@aegee.org>
+ Nick Clifton <nickc@redhat.com>
- * doc/binutils.texi: Fix a typo.
+ PR 20343
+ * doc/binutils.texi (ar): Extend documentation of the --plugin
+ option. Include a description of where the plugins should be
+ located.
+ (nm): Likewise.
-2016-02-05 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
+2017-01-23 Nick Clifton <nickc@redhat.com>
- * testsuite/binutils-all/objdump.exp: Update expected default
- architecture value for ARC binaries.
+ * MAINTAINERS: Add Bernd to Past Maintainers section.
+ (SCORE): Remove Mei Ligang as maintainer. Add to Past Maintainers
+ section.
-2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
+2017-01-23 Bernd Schmidt <bschmidt@redhat.com>
- PR binutils/19547
- * testsuite/binutils-all/objcopy.exp
- (objcopy_test_without_global_symbol): New proc.
- Run objcopy_test_without_global_symbol.
- * testsuite/binutils-all/pr19547.c: New file.
+ * MAINTAINERS (BFIN): Remove myself as Blackfin maintainer.
-2016-01-28 H.J. Lu <hongjiu.lu@intel.com>
+2017-01-20 Andrew Burgess <andrew.burgess@embecosm.com>
- PR binutils/19523
- * Makefile.am (check-DEJAGNU): Pass CC and CC_FOR_BUILD to
- runtest.
- * Makefile.in: Regenerated.
- * testsuite/binutils-all/compress.exp (test_gnu_debuglink): New
- proc.
- Run test_gnu_debuglink for native ELF build.
+ * objdump.c (dump_section_header): Extract max section name length
+ from data parameter, use this when formatting output.
+ (find_longest_section_name): New function.
+ (dump_headers): Calculate longest section name when in wide mode,
+ reformat to unify printing of header line.
-2016-01-20 Nick Clifton <nickc@redhat.com>
+2017-01-18 Bernhard Rosenkranzer <bero@lindev.ch>
- PR 19495
- * testsuite/binutils-all/dlltool.exp: Fix tests for targets which
- do not support inserting leading underscores.
+ PR 21059
+ * arlex.l: Support processing with flex 2.6.3.
+ * deflex.l: Likewise.
-2016-01-20 Mickael Guene <mickael.guene@st.com>
+2017-01-17 Dmitry Timoshkov <dmitry@baikal.ru>
- * readelf.c (get_elf_section_flags): Display y letter for section
- with SHF_ARM_NOREAD section flag in readelf section output.
- (process_section_headers): Add y letter in readelf section output
- key mapping for ARM architecture.
- * objdump.c (dump_section_header): Display NOREAD attributes as
- well.
- * doc/binutils.texi (objdump): Note that it is correct for
- sections to have both the READONLY and NOREAD attributes.
-
-2016-01-19 John Baldwin <jhb@FreeBSD.org>
-
- * readelf.c (get_freebsd_elfcore_note_type): Remove unused variable.
+ * resbin.c: Optional dialog control data immediately follows
+ the control description without alignment.
+ * testsuite/binutils-all/windres/controldata.rc: New test.
+ source.
+ * testsuite/binutils-all/windres/controldata.rsd: New test.
-2016-01-19 John Baldwin <jhb@FreeBSD.org>
+2017-01-12 Nick Clifton <nickc@redhat.com>
- * readelf.c (get_freebsd_elfcore_note_type): New
- (process_note): Add support for FreeBSD core notes.
+ PR binutils/20876
+ * NEWS: Mention the new feature.
+ * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
+ New proc to test the location of separate debug info files using
+ the build-id method.
-2016-01-18 Miranda Cupertino <Cupertino.Miranda@synopsys.com>
- Zissulescu Claudiu <Claudiu.Zissulescu@synopsys.com>
+2017-01-10 Nick Clifton <nickc@redhat.com>
- * readelf.c (get_machine_flags): Add support for newer ARC ELF
- header flags.
+ PR 21034
+ * stabs.c (parse_stab_members): Fix thinko checking for g++
+ version 1 stabs information.
-2016-01-18 Alan Modra <amodra@gmail.com>
+2017-01-09 Nick Clifton <nickc@redhat.com>
- * configure: Regenerate.
+ * objdump.c (display_file): Add new parameter 'last_file'. If
+ last_file is true, do not call bfd_close at the end of the
+ function.
+ (main): Set the value of the last_file parameter when calling
+ display_file.
-2016-01-17 Alan Modra <amodra@gmail.com>
+2017-01-09 Alan Modra <amodra@gmail.com>
- * configure: Regenerate.
+ * readelf.c (process_section_headers): Correct .rel.dyn/.rela.dyn
+ comment.
-2016-01-17 Alan Modra <amodra@gmail.com>
+2017-01-06 Nick Clifton <nickc@redhat.com>
- * testsuite/lib/binutils-common.exp (is_elf_format): Return true
- for m68hc11/12 and xgate triples.
+ * MAINTAINERS: Move Paul Brook to the Past Maintainers section.
-2016-01-17 Alan Modra <amodra@gmail.com>
+2017-01-04 Dilan Palauzov <dilyan.palauzov@aegee.org>
- * readelf.c (is_32bit_abs_reloc): Add R_M68HC11_32.
+ PR 20958
+ * syslex.l (option): Add noyywrap
+ (yywrap): Delete.
-2016-01-01 Alan Modra <amodra@gmail.com>
+2017-01-02 Alan Modra <amodra@gmail.com>
Update year range in copyright notice of all files.
-For older changes see ChangeLog-2015 and testsuite/ChangeLog-1215
+For older changes see ChangeLog-2016
\f
-Copyright (C) 2016 Free Software Foundation, Inc.
+Copyright (C) 2017 Free Software Foundation, Inc.
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright