]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
Merge branch 'master' into dwarf
authorRoland McGrath <roland@redhat.com>
Sat, 17 Jan 2009 22:42:29 +0000 (14:42 -0800)
committerRoland McGrath <roland@redhat.com>
Sat, 17 Jan 2009 22:42:29 +0000 (14:42 -0800)
Conflicts:
libdw/ChangeLog
src/ChangeLog

1  2 
libdw/ChangeLog
libdw/Makefile.am
src/ChangeLog
src/readelf.c

diff --cc libdw/ChangeLog
index 3e8c618d3bee8f0eb354b2a0c5d700f11c27861a,51ab6e946a5db7af4d4abd23fd66b45e7de60b47..d915349eaf03a468a71b05cabd0640a3e71f66b7
@@@ -1,15 -1,8 +1,13 @@@
- 2008-01-06  Roland McGrath  <roland@redhat.com>
-       * libdwP.h (struct Dwarf_Abbrev): Change type of 'has_children' to bool.
-       Reorder members.
-       * dwarf_haschildren.c: Return -1 for error case, not 0.
 +2009-01-10  Roland McGrath  <roland@redhat.com>
 +
 +      * c++/dwarf: New file.
 +      * Makefile.am (pkginclude_HEADERS): Add it.
 +
+ 2009-01-17  Roland McGrath  <roland@redhat.com>
  
- 2009-01-11  Roland McGrath  <roland@redhat.com>
+       * Makefile.am (known-dwarf.h): Target renamed, not in $(srcdir).
+       Make it unconditional.
+       (BUILT_SOURCES): Updated.
  
        * dwarf.h: Add description comments for DW_LANG_* values.
  
        ($(srcdir)/known-dwarf.h): New target.
        (BUILT_SOURCES): Add it.
  
+       * dwarf.h: Add DW_OP_GNU_push_tls_address, DW_OP_GNU_uninit.
++2008-01-06  Roland McGrath  <roland@redhat.com>
++
++      * libdwP.h (struct Dwarf_Abbrev): Change type of 'has_children' to bool.
++      Reorder members.
++      * dwarf_haschildren.c: Return -1 for error case, not 0.
++
  2009-01-10  Ulrich Drepper  <drepper@redhat.com>
  
        * dwarf_error.c: Always use __thread.  Remove all !USE_TLS code.
Simple merge
diff --cc src/ChangeLog
index 282d7db37bcee0b75dff974fd6d98536001a0f6d,97fd4495a9e66046165815d8f072e0bbaac1c0ec..844814e7b422eb1a4f3ccdd34b882eee84466f4c
 +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.
diff --cc src/readelf.c
Simple merge