Print addend as signed in objdump
[binutils-gdb.git] / binutils / ChangeLog
index c5b85c065c08a7da6d8dbcbd1887aedb371ab611..7072d1ec4ea1e8f03563aff94a589b2a0b41ff6b 100644 (file)
@@ -1,12 +1,73 @@
+2012-05-13  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * objdump.c (disassemble_bytes): Print addend as signed.
+       (dump_reloc_set): Likewise.
+
+2012-05-04  Sterling Augustine  <saugustine@google.com>
+           Cary Coutant  <ccoutant@google.com>
+
+       * doc/binutils.texi: Add --dwarf-check option.
+       * dwarf.c (dwarf_check): New global flag.
+       (fetch_indexed_string): New function.
+       (fetch_indexed_value): New function.
+       (get_FORM_name): Add DW_FORM_GNU_str_index and DW_FORM_GNU_addr_index.
+       (decode_location_expression): Add DW_OP_GNU_addr_index.
+       (read_and_display_attr_value): Add DW_FORM_GNU_str_index,
+       DW_FORM_GNU_addr_index, DW_AT_GNU_addr_base, and DW_AT_GNU_ranges_base.
+       (get_AT_name): Add new attributes for Fission.
+       (process_debug_info): Load new debug sections for Fission.
+       (load_debug_info): Check for .debug_info.dwo section.
+       (display_loc_list, display_loc_list_dwo): New functions.
+       (display_debug_loc): Move logic to above two functions.
+       (display_debug_info): Choose abbrev section based on info section.
+       (display_debug_types): Likewise.
+       (display_trace_info): Likewise.
+       (comp_addr_base): New function.
+       (display_debug_addr): New function.
+       (display_debug_str_offsets): New function.
+       (display_debug_ranges): Allow missing range lists.  Suppress
+       diagnostics if dwarf_check not set.
+       (debug_displays): Add column to select abbrev section.
+       * dwarf.h (enum dwarf_section_display_enum): Add new debug sections
+       for Fission.
+       (struct dwarf_section): Add abbrev_sec field.
+       (struct dwarf_section_display): New type.
+       (debug_info): Add addr_base, ranges_base fields.
+       (dwarf_check): New global variable.
+       * objdump.c (usage): Add --dwarf-check option.
+       (enum option_values): Add OPTION_DWARF_CHECK.
+       (long_options): Add --dwarf-check.
+       (main): Likewise.
+       * readelf.c (OPTION_DWARF_CHECK): New macro.
+       (options): Add --dwarf-check.
+       (parse_args): Likewise.
+       (process_section_headers): Use const_strneq instead of
+       streq.
+
+2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/14088
+       * readelf.c (dump_relocations): Always display addend as
+       signed hex number.
+
+2012-05-11  Daniel Richard G.  <skunk@iskunk.org>
+
+       PR binutils/14028
+       * configure.in: Invoke ACX_HEADER_STRING.
+       * configure: Regenerate.
+       * config.in: Regenerate.
+       * sysdep.h: If STRINGS_WITH_STRING is defined then include both
+       string.h and strings.h.
+
 2012-05-10  Jakub Jelinek  <jakub@redhat.com>
 
        * dwarf.c (read_and_display_attr_value): Don't look up tag from
        abbrev for DW_FORM_ref_addr.
 
 2012-05-08  Sean Keys  <skeys@ipdatasys.com>
-       
+
        * binutils/MAINTAINERS: Added my entry to the maintainers secion.
+
 2012-05-08  Cary Coutant  <ccoutant@google.com>
 
        * doc/binutils.texi (objcopy): Add --strip-dwo, --extract-dwo options.