GDB: Add support for the new set/show disassembler-options commands.
[deliverable/binutils-gdb.git] / binutils / ChangeLog
index 10140c204e51a44116e6a38a3a48b1b19a73cad2..7004b0b9a9b70148a57290bae90efc2e942abf12 100644 (file)
@@ -1,3 +1,295 @@
+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-25  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/binutils-all/dw5.S: Replace .string with .asciz.
+       Support hpux .comm variant.
+       * testsuite/binutils-all/readelf.exp: Define HPUX when assembling
+       dw5 test for hppa64-hpux.
+
+2017-02-24  Nick Clifton  <nickc@redhat.com>
+
+       * readelf.c (show_name, do_dynamic, do_syms, do_dyn_syms,
+       (do_reloc, do_sections, do_section_groups, do_section_details,
+       (do_segments, do_unwind, do_using_dynamic, do_header, do_dump,
+       (do_version, do_histogram, do_debugging, do_arch, do_notes,
+       (do_archive_index, is_32bit_elf, decompress_dumps): Use
+       bfd_boolean type.
+       (parse_args): Treat the do_* variables as booleans.
+       (print_vma): Return an unsigned int.
+       (print_symbol): Change width parameter to signed int.
+       (is_ia64_vms): Change return type to bfd_boolean.
+       (guess_is_rela): Likewise.
+       (slurp_rela_relocs): Likewise.
+       (slurp_rel_relocs): Likewise.
+       (dump_relocations): Likewise.
+       (process_file_header): Likewise.
+       (get_program_headers): Likewise.
+       (process_program_headers): Likewise.
+       (process_section_headers): Likewise.
+       (process_section_groups): Likewise.
+       (dump_ia64_vms_dynamic_fixups): Likewise.
+       (dump_ia64_vms_dynamic_relocs): Likewise.
+       (process_ia64_vms_dynamic_relocs): Likewise.
+       (process_relocs): Likewise.
+       (dump_ia64_unwind): Likewise.
+       (ia64_process_unwind): Likewise.
+       (dump_hppa_unwind): Likewise.
+       (slurp_hppa_unwind_table): Likewise.
+       (hppa_process_unwind): Likewise.
+       (decode_arm_unwind_bytecode): Likewise.
+       (decode_tic6x_unwind_bytecode): Likewise.
+       (decode_arm_unwind): Likewise.
+       (dump_arm_unwind): Likewise.
+       (arm_process_unwind): Likewise.
+       (process_unwind): Likewise.
+       (get_32bit_dynamic_section): Likewise.
+       (get_64bit_dynamic_section): Likewise.
+       (process_dynamic_section): Likewise.
+       (process_version_sections): Likewise.
+       (process_symbol_table): Likewise.
+       (process_syminfo): Likewise.
+       (apply_relocations): Likewise.
+       (disassemble_section): Likewise.
+       (dump_section_as_strings): Likewise.
+       (dump_section_as_bytes): Likewise.
+       (load_specific_debug_section): Likewise.
+       (load_debug_section): Likewise.
+       (display_debug_section): Likewise.
+       (process_section_contents): Likewise.
+       (process_attributes): Likewise.
+       (process_nds32_specific): Likewise.
+       (process_gnu_liblist): Likewise.
+       (print_core_note): Likewise.
+       (print_gnu_note): Likewise.
+       (print_v850_note): Likewise.
+       (process_netbsd_elf_note): Likewise.
+       (print_stapsdt_note): Likewise.
+       (print_ia64_vms_note): Likewise.
+       (process_note): Likewise.
+       (process_notes_at): Likewise.
+       (process_corefile_note_segments): Likewise.
+       (process_v850_notes): Likewise.
+       (process_note_sections): Likewise.
+       (process_notes): Likewise.
+       (process_arch_specific): Likewise.
+       (get_file_header): Likewise.
+       (process_object): Likewise.
+       (process_archive): Likewise.
+       (process_file): Likewise.
+       (section_subset): Make static.
+       (get_mips_reg_size): Return a signed integer.
+       (process_object): Reverse the logic of the return value.
+       (process_archive): Likewise.
+       (process_file): Likewise.
+       (process_program_headers): Fix snafu - if the program headers are
+       not available then this is not a cause to fail.
+       (process_corefile_note_segments): Likewise.
+
+2017-02-24  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * readelf.c (get_ver_flags): Tidy the formatting of the string
+       returned
+
+2017-02-24  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * readelf.c (process_version_sections) <SHT_GNU_verdef>: Make
+       `isum' unsigned.
+       <SHT_GNU_verneed>: Likewise.
+
+2017-02-24  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * readelf.c (process_version_sections) <SHT_GNU_verdef>: Limit
+       the number of entries processed by the section size.  Don't
+       break out of the loop if `ent.vd_next' is 0.
+
+2017-02-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * testsuite/binutils-all/dw5.S: New file.
+       * testsuite/binutils-all/dw5.W: New file.
+       * testsuite/binutils-all/readelf.exp (readelf -wiaoRlL): New test.
+
+2017-02-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * dwarf.c (read_and_display_attr_value): Support DW_FORM_data16.
+
+2017-02-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * dwarf.c (display_debug_macro): Support DWARF-5.  Rename
+       DW_MACRO_GNU_*.
+
+2017-02-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * dwarf.c (decode_location_expression): Support DW_OP_implicit_pointer,
+       DW_OP_const_type, DW_OP_regval_type, DW_OP_deref_type, DW_OP_convert
+       and DW_OP_reinterpret.
+       (read_and_display_attr_value): Support DW_AT_call_value,
+       DW_AT_call_data_value, DW_AT_call_target and
+       DW_AT_call_target_clobbered.
+
+2017-02-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * dwarf.c (fetch_indirect_line_string): New function.
+       (abbrev_attr): New field implicit_const.
+       (add_abbrev_attr): New parameter implicit_const.
+       (process_abbrev_section): Support DW_FORM_implicit_const.
+       (decode_location_expression): Support DW_OP_entry_value.
+       (read_and_display_attr_value): Add parameter implicit_const.  Support
+       DW_FORM_line_strp and DW_FORM_implicit_const.
+       (read_and_display_attr): Add parameter implicit_const.
+       (process_debug_info): Support line_str and DWARF-5.
+       (read_debug_line_header): Support DWARF-5.
+       (display_formatted_table): New function.
+       (display_debug_lines_raw): New parameter file.  Support DWARF-5.
+       (display_debug_lines_decoded): New parameter fileptr.  Support DWARF-5.
+       (display_debug_lines): Pass file parameter.
+       (display_debug_macro): Update read_and_display_attr_value caller.
+       (display_debug_abbrev): Support DW_FORM_implicit_const.
+       (display_loclists_list): New function.
+       (display_loc_list): Support .debug_loclists.
+       (display_debug_ranges_list): New function from display_debug_ranges.
+       (display_debug_rnglists_list): New function.
+       (display_debug_ranges): Support .debug_rnglists.
+       (debug_displays): Add .debug_line_str, .debug_loclists and
+       .debug_rnglists.
+       * dwarf.h: Include dwarf2.h
+       (DWARF2_Internal_LineInfo): Add li_offset_size.
+       (DWARF2_Internal_CompUnit): Add cu_unit_type.
+       (enum dwarf_section_display_enum): Add line_str.
+       * readelf.c (process_section_headers): Add rnglists and loclists.
+
+2017-02-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * dwarf.c (display_block): Add parameter delimiter.
+       (decode_location_expression): Update display_block callers.
+       (read_and_display_attr_value): Add parameter delimiter.
+       (read_and_display_attr, display_debug_macro): Update
+       read_and_display_attr_value caller.
+
+2017-02-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * dwarf.c (display_loc_list): Use dwarf_vma for offset, base_address
+       and off.
+       (display_loc_list_dwo): Use dwarf_vma for offset.
+       (display_debug_loc): Use dwarf_vma for offset, base_address.
+       (struct range_entry, range_entry_compar): Use dwarf_vma for
+       ranges_offset.
+       (display_debug_ranges): Use dwarf_vma for ranges_offset, offset and
+       base_address.
+
+2017-02-23  Nick Clifton  <nickc@redhat.com>
+
+       * readelf.c (display_tag_value): Use an explicit signed type for
+       the tag parameter.
+       (display_gnu_attributes): Use an unsigned integer type for
+       attribute tags.
+       (display_power_gnu_attribute): Likewise.
+       (display_s390_gnu_attribute): Likewise.
+       (display_sparc_hwcaps): Likewise.
+       (display_sparc_hwcaps2): Likewise.
+       (display_sparc_gnu_attribute): Likewise.
+       (display_mips_gnu_attribute): Likewise.
+       (display_tic6x_attribute): Likewise.
+       (display_raw_attribute): Likewise.
+       (process_attributes): Likewise.
+       (process_arm_specific): Delete redundant function.
+       (process_power_specific): Likewise.
+       (process_s390_specific): Likewise.
+       (process_sparc_specific): Likewise.
+       (process_tic6x_specific): Likewise.
+       (process_msp430x_specific): Likewise.
+       (display_public_gnu_attributes): New function.  Displays known
+       information about an unknown gnu attribute.
+       (display_generic_attribute): New function.  Calls
+       display_tag_value for non-nul tags.
+       (process_arch_specific): Call process_attributes even for
+       architectures not known to specifically support gnu attributes.
+
+2017-02-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * dwarf.c (decode_location_expression): Display also OP.
+
+2017-02-22  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * readelf.c (process_version_sections) <SHT_GNU_verdef>: Print a
+       new line between the heading and the first version definition
+       entry.
+
+2017-02-20  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/21156
+       * dwarf.c (cu_tu_indexes_read): Move into...
+       (load_cu_tu_indexes): ... here.  Change the variable into
+       tri-state.  Change the function into boolean, returning
+       false if the indicies could not be loaded.
+       (find_cu_tu_set): Return NULL if the indicies could not be
+       loaded.
+
+2017-02-17  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/21156
+       * readelf.c (find_section_in_set): Test for invalid section
+       indicies.
+
+2017-02-17  Nick Clifton  <nickc@redhat.com>
+
+       * readelf.c (get_section_type_name): Add decoding of GNU section
+       types.
+
+2017-02-15  Nick Clifton  <nickc@redhat.com>
+
+       * MAINTAINERS: (MIPS, MN10300): Move Eric Christopher to Past
+       Maintainers section.
+
+2017-02-14  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/21159
+       * readelf.c (dump_section_as_strings): Reset the start address if
+       no decompression is perfromed.
+       (dump_section_as_bytes): Likewise.
+
+2017-02-14  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/21158
+       * rddbg.c (read_symbol_stabs_debugging_info): Check for a null or
+       empty symbol name.
+
+2017-02-14  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/21157
+       * stabs.c (parse_stab_enum_type): Check for corrupt NAME:VALUE
+       pairs.
+       (parse_number): Exit early if passed an empty string.
+
+2017-02-14  Nick Clifton  <nickc@redhat.com>
+
+       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.
+
+2017-02-13  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/21150
+       * nm.c (file_symbol): Add test of string length before testing
+       string characters.
+
+2017-02-13  Nick Clifton  <nickc@redhat.com>
+
+       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.
+
 2017-02-13  Nick Clifton  <nickc@redhat.com>
 
        PR binutils/21149
This page took 0.026816 seconds and 4 git commands to generate.