Add basic recognition of new EM_ ELF machine numbers.
[deliverable/binutils-gdb.git] / binutils / ChangeLog
index 21ae4af7fef690fdba889bacccae62c80a2f6f83..1abde2a30971964ad3beeaf358a456691226fa6a 100644 (file)
@@ -1,16 +1,93 @@
+2017-03-10  Nick Clifton  <nickc@redhat.com>
+
+       * readelf.c (get_machine_name): Rearrange switch table in order of
+       increasing machine number.  Add missing entries.
+
+2017-03-08  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/21231
+       * readelf.c (decode_x86_isa): Change argument to unsigned int.
+       (print_gnu_property_note): Retrieve property type and datasz as
+       4-byte integer.  Consolidate property datasz check.  Check
+       GNU_PROPERTY_LOPROC and GNU_PROPERTY_LOUSER.
+       * testsuite/binutils-all/i386/pr21231a.d: New file.
+       * testsuite/binutils-all/i386/pr21231a.s: Likewise.
+       * testsuite/binutils-all/i386/pr21231b.d: Likewise.
+       * testsuite/binutils-all/i386/pr21231b.s: Likewise.
+       * testsuite/binutils-all/x86-64/pr21231a.d: Likewise.
+       * testsuite/binutils-all/x86-64/pr21231a.s: Likewise.
+       * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
+       * testsuite/binutils-all/x86-64/pr21231b.s: Likewise.
+
+2017-03-06  Nick Clifton  <nickc@redhat.com>
+
+       * readelf.c (print_gnu_build_attribute_name): Read byte values
+       from the name string as unsigned bytes.
+       (process_notes_at): Use memcpy to copy an unterminated name
+       string.
+
+2017-03-06  Sam Thursfield  <sam.thursfield@codethink.co.uk>
+
+       * configure.ac (AC_CHECK_DECLS): Add asprintf.
+       * config.in: Regenerate.
+       * configure: Regenerate.
+
+2017-03-02  Nick Clifton  <nickc@redhat.com>
+
+       * readelf.c (print_gnu_build_attribute_description): Use global
+       symbols for OPEN attributes if at all possible.
+       * objcopy.c (is_merged_note_section): Support build note sections
+       without the SHF_GNU_BUILD_NOTE section flag set.
+
+2017-03-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * dwarf.c (debug_displays_assert): New static assertion.
+
+2017-03-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * dwarf.h (enum dwarf_section_display_enum): Add loclists and rnglists.
+
+2017-03-01  Nick Clifton  <nickc@redhat.com>
+
+       * readelf.c (get_note_type): Add support for GNU_BUILD_NOTEs.
+       (get_gnu_elf_note_type): Add support for GNU_PROPERTY_NOTEs.
+       (decode_x86_isa): New function.
+       (print_gnu_property_note): New function.
+       (print_gnu_note): Handle GNU_PROPERTY_NOTEs.
+       (print_gnu_build_attribute_description): New function.
+       (print_gnu_build_attribute_name): New function.
+       (process_note): Add support for GNU_BUILD_NOTEs.
+       * objcopy.c (--merge-notes): New command line option.
+       (copy_options): Add merge-notes.
+       (copy_usage): Likewise.
+       (is_merge_note_section): New function.
+       (merge_gnu_build_notes): New function.
+       (copy_object): Merge note sections if asked to do so.
+       (skip_section): Add skip_copy parameter.  Add support for skipping
+       merged note sections.
+       (copy_relocations_in_section): Update call to skip_section.
+       (copy_section): Likewise.
+       (copy_main): Add support for merge-notes option.
+       * doc/binutils.texi: Document the new option to objcopy.
+       * NEWS: Mention the new feature.
+       * testsuite/binutils-all/note-2-32.d: New test.  Checks note
+       merging on 32-bit targets.
+       * testsuite/binutils-all/note-2-32.s: New test source file.
+       * testsuite/binutils-all/note-2-64.d: New test.  Like note-2-32.d
+       but for 64-bit targets.
+       * testsuite/binutils-all/note-2-64.s: New test source file.
+       * testsuite/binutils-all/objcopy.exp: Run the new test.
+
+2017-02-28  Peter Bergner  <bergner@vnet.ibm.com>
+
+       * objdump.c (main): Use remove_whitespace_and_extra_commas.
+
 2017-02-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
        Fix compilation with GCC 4.4.7.
        * dwarf.c (display_loclists_list, display_debug_rnglists_list):
        Initialize begin and end.
 
-2017-02-27  Rudy Y  <rudyy.id@gmail.com>
-
-       PR 20881
-       * dlltool.c (secdata): Align .idata$6 on 2 byte boundary.
-       (make_one_lib_file): Export a symbol called __nm_<symbol> for use
-       with auto-importing.
-
 2017-02-25  Alan Modra  <amodra@gmail.com>
 
        * testsuite/binutils-all/dw5.S: Replace .string with .asciz.
This page took 0.031197 seconds and 4 git commands to generate.