+2009-01-17 Roland McGrath <roland@redhat.com>
+
+ * expr_opcodes.h: Fix DW_OP_deref entry.
+
+2009-01-17 Petr Machata <pmachata@redhat.com>
+
+ * dwarflint.c: Better location handling: references now carry
+ along where did they originate (i.e. which section, offset, etc.),
+ all messages are location-aware.
+ (struct where): New structure that captures location inside the
+ Dwarf file. Can be chained to achieve chains of "caused by this
+ reference" messages ala GCC.
+
+2009-01-15 Petr Machata <pmachata@redhat.com>
+
+ * dwarflint.c: Implement validation of .debug_loc and references
+ from .debug_info to .debug_loc.
+
+2009-01-14 Petr Machata <pmachata@redhat.com>
+
+ * dwarfstrings.h (dwarf_locexpr_opcode_string): New.
+
+2009-01-14 Petr Machata <pmachata@redhat.com>
+
+ * dwarflint.c: Validation .debug_pubtypes.
+
+2009-01-13 Petr Machata <pmachata@redhat.com>
+
+ * dwarflint.c: Adjust check_pubnames_structural to be able to
+ validate also .debug_pubtypes.
+
+2009-01-13 Petr Machata <pmachata@redhat.com>
+
+ * dwarflint.c: Rewrite message macros to functions. This makes it
+ possible to rewrite several other macros to functions.
+
+2009-01-12 Petr Machata <pmachata@redhat.com>
+
+ * dwarflint.c: Implement validation of .debug_pubnames.
+
+2009-01-12 Petr Machata <pmachata@redhat.com>
+
+ * dwarflint.c: Check padding between sections in .debug_aranges.
+
+2009-01-12 Petr Machata <pmachata@redhat.com>
+
+ * dwarflint.c: For DIE references, remember both referrer and
+ referree. Add a new data structure ref_record to support that.
+ Add new message category, mc_die_rel_ref. Rename other DIE
+ relationship categories to mc_die_rel_* pattern.
+
+2009-01-12 Petr Machata <pmachata@redhat.com>
+
+ * dwarflint.c: Changes in data structures for recording DIEs and CUs.
+
+2009-01-12 Petr Machata <pmachata@redhat.com>
+
+ * dwarflint.c: Implement validation of .debug_aranges.
+
+2009-01-11 Petr Machata <pmachata@redhat.com>
+
+ * dwarflint.c (process_file): Handle absence of .debug_info,
+ .debug_abbrev and .debug_str gracefully.
+
+2009-01-11 Petr Machata <pmachata@redhat.com>
+
+ * dwarflint.c: A couple small fixes across the code.
+ (check_debug_info_structural): Return bool.
+ (check_cu_structural): Likewise.
+ (check_addr_record_addr): Likewise.
+ (check_die_references): Likewise.
+
+2009-01-10 Roland McGrath <roland@redhat.com>
+
+ * dwarfcmp.cc (test_writer): New variable.
+ (options, parse_opt): Grok -T/--test-writer to set it.
+ (main): When set, exercise dwarf_output constructors and comparators.
+
+ * dwarflint.c (options, parse_opt): Replace --no-debug with
+ -i/--ignore-missing, to match dwarfcmp.
+
+2009-01-10 Petr Machata <pmachata@redhat.com>
+
+ * dwarflint.c: Implement --no-debug: silently accept file, if its
+ debug info is not available.
+
+2009-01-10 Roland McGrath <roland@redhat.com>
+
+ * dwarfcmp.cc: New file.
+ * Makefile.am (bin_PROGRAMS): Add dwarfcmp.
+ (dwarfcmp_SOURCES): New variable.
+ (dwarfcmp_no_Wformat, dwarfcmp_LDADD): New variables.
+
+2009-01-10 Petr Machata <pmachata@redhat.com>
+
+ * dwarflint.c: Implement fine-grained message selection. Each
+ message has a category, which is bitwise OR of category options.
+ There are acceptance and rejection criteria for warnings and
+ errors, which can be tuned using command-line options (currently
+ --strict and --gnu).
+ Use dwarfstrings.h in two messages.
+
+2009-01-10 Petr Machata <pmachata@redhat.com>
+
+ * readelf.c: Extract functions that format dwarf enums into a file
+ of its own, so it can be shared with dwarflint.
+ * dwarfstrings.h: That file.
+
+2009-01-09 Petr Machata <pmachata@redhat.com>
+
+ * dwarflint.c: Sort the abbrev tables and look up abbreviations
+ with bisect search.
+
+2009-01-09 Petr Machata <pmachata@redhat.com>
+
+ * dwarflint.c: Checking for zero padding and unreferenced bytes.
+ CU size and padding at the end of CU are now checked.
+
+ 2009-01-17 Ulrich Drepper <drepper@redhat.com>
+
+ * addr2line.c: Use ARGP_PROGRAM_VERSION_HOOK_DEF and
+ ARGP_PROGRAM_BUG_ADDRESS_DEF.
+ * ar.c: Likewise.
+ * elfcmp.c: Likewise.
+ * elflint.c: Likewise.
+ * findtextrel.c: Likewise.
+ * ld.c: Likewise.
+ * nm.c: Likewise.
+ * objdump.c: Likewise.
+ * ranlib.c: Likewise.
+ * readelf.c: Likewise.
+ * size.c: Likewise.
+ * strings.c: Likewise.
+ * strip.c: Likewise.
+ * unstrip.c: Likewise.
+
+ 2009-01-16 Ulrich Drepper <drepper@redhat.com>
+
+ * elflint.c (check_program_header): Check that PT_GNU_EH_FRAME entry
+ matches .eh_frame_hdr section, if it is available. Also check that
+ the segment is allocated, not writable, not executable.
+
+ * readelf.c: Add -e option. Dump exception and unwind related
+ sections. Add -e to -a.
+ (print_encoding_base): Handle DW_EH_PE_omit.
+ (print_debug_exception_table): Beginning of support.
+ (print_debug): Hook up print_debug_exception_table for
+ .gcc_except_table sections.
+
+ * readelf.c (print_debug_frame_section): Some fixes for last change.
+
+ 2009-01-15 Ulrich Drepper <drepper@redhat.com>
+
+ * readelf.c (print_encoding): Now a toplevel function.
+ (print_relinfo): Likewise.
+ (print_encoding_base): Broken out of print_debug_frame_section.
+ (print_debug_frame_section): Print different header for .eh_frame
+ sections. Fix recognition of matching CIEs in .debug_frame sections.
+ Print absolute offset for PC-relative FDE locations. Don't print
+ table header for FDEs if the table is empty.
+ (read_encoded): New function.
+ (print_debug_frame_hdr_section): New function.
+ (print_debug): Hook up print_debug_frame_hdr_section for .eh_frame_hdr
+ sections.
+
+ * readelf.c (handle_relocs_rel): Print section number.
+ (print_debug_abbrev_section): Likewise.
+ (print_debug_aranges_section): Likewise.
+ (print_debug_ranges_section): Likewise.
+ (print_debug_info_section): Likewise.
+ (print_debug_line_section): Likewise.
+ (print_debug_loc_section): Likewise.
+ (print_debug_macinfo_section): Likewise.
+ (print_debug_pubnames_section): Likewise.
+ (print_debug_str_section): Likewise.
+
2009-01-10 Ulrich Drepper <drepper@redhat.com>
* strings.c (read_block): Fix typo in error message string.