]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
Merge commit 'origin/master' into dwarf
authorRoland McGrath <roland@redhat.com>
Fri, 8 May 2009 01:46:12 +0000 (18:46 -0700)
committerRoland McGrath <roland@redhat.com>
Fri, 8 May 2009 01:46:12 +0000 (18:46 -0700)
Conflicts:
libdw/ChangeLog
src/ChangeLog
tests/ChangeLog
tests/Makefile.am

1  2 
libdw/ChangeLog
src/ChangeLog
tests/ChangeLog
tests/Makefile.am

diff --cc libdw/ChangeLog
index 4761d822f0b06ad9a3c2093dd7457fe906668118,a3d9170a8dffe3353e398b827c20a62504cbe4df..d59288585879e19310af8c99c07d1f947e610de0
@@@ -1,60 -1,8 +1,65 @@@
 +2009-04-02  Roland McGrath  <roland@redhat.com>
 +
 +      * Makefile.am (noinst_HEADERS): Add known-dwarf.h and
 +      c++/dwarf-knowledge.cc here.
 +
 +2009-03-29  Roland McGrath  <roland@redhat.com>
 +
 +      * c++/exception.cc: New file.
 +      * Makefile.am (libdwpp_a_SOURCES): Add it.
 +
 +2009-03-25  Roland McGrath  <roland@redhat.com>
 +
 +      * c++/dwarf, c++/values.cc: Proper dwarf_constant support.
 +      * c++/dwarf_edit, c++/edit-values.cc: Likewise.
 +      * c++/known.cc: New file.
 +      * Makefile.am (libdwpp_a_SOURCES): Add it.
 +
 +2009-03-24  Petr Machata  <pmachata@redhat.com>
 +
 +      * c++/dwarf (dwarf::debug_info_entry::raw_attributes):
 +      Fix iteration over attributes.
 +
 +2009-03-24  Roland McGrath  <roland@redhat.com>
 +
 +      * Makefile.am (libdwpp_a_SOURCES): New variable.
 +      (lib_LIBRARIES): Add libdwpp.a to it.
 +
 +2009-02-26  Roland McGrath  <roland@redhat.com>
 +
 +      * c++/dwarf (dwarf::attr_value): Add _m_tag private member.
 +      (dwarf::attr_value, dwarf::attribute): Update initializers.
 +      (dwarf::raw_attributes::const_iterator): Update caller.
 +      * c++/values.cc (attr_value::what_space): Use it.
 +
 +2009-02-01  Roland McGrath  <roland@redhat.com>
 +
 +      * c++/edit-values.cc: New file.
 +
 +2009-01-28  Roland McGrath  <roland@redhat.com>
 +
 +      * c++/dwarf: Add line table support.
 +      * c++/values.cc: New file.
 +      * c++/line_info.cc: New file.
 +      * c++/subr.hh: New file.
 +      * Makefile.am (pkginclude_HEADERS): Add it.
 +
 +2009-01-26  Roland McGrath  <roland@redhat.com>
 +
 +      * c++/dwarf (dwarf_output): Renamed to dwarf_edit and moved to ...
 +      * c++/dwarf_edit: ... here.  New file.
 +      * Makefile.am (pkginclude_HEADERS): Add it.
 +
 +2009-01-10  Roland McGrath  <roland@redhat.com>
 +
 +      * c++/dwarf: New file.
 +      * Makefile.am (pkginclude_HEADERS): Add it.
 +
+ 2009-05-07  Petr Machata  <pmachata@redhat.com>
+       * dwarf_getmacros.c (dwarf_getmacros): Take into account offset in
+       DW_AT_macro_info attribute of CU DIE.
  2009-04-15  Roland McGrath  <roland@redhat.com>
  
        * dwarf.h (DW_CIE_ID): Removed.
diff --cc src/ChangeLog
index da77d8c64982e1adcede5942b6067e67f53f3d29,f6fd86f325a21978cd0c81eb3fc9ccb4c6e1756b..85326e098684cfe96714ec6f834ec1b0934716b5
 +2009-04-02  Roland McGrath  <roland@redhat.com>
 +
 +      * Makefile.am (noinst_HEADERS): Add dwarfstrings.h here.
 +      (dwarflint_SOURCES): Add dwarflint-expected.hh and dwarflint.h here.
 +      (noinst_HEADERS): Add expr_opcodes.h too.
 +
 +2009-03-24  Roland McGrath  <roland@redhat.com>
 +
 +      * Makefile.am (libdwplusplus_SOURCES): Variable removed.
 +      (dwarfcmp_SOURCES, dwarflint_SOURCES): Don't use it.
 +      (libdwpp): New variable.
 +      (dwarfcmp_LDADD, dwarflint_LDADD): Use it.
 +
 +2009-03-05  Petr Machata  <pmachata@redhat.com>
 +
 +      * dwarflint.c: Add --nohl command line switch.
 +
 +2009-01-28  Petr Machata  <pmachata@redhat.com>
 +
 +      * dwarflint.c: Coding style cleanups.
 +      (found_hole): Tolerate zero-padding to given alignment.
 +
 +2009-01-27  Petr Machata  <pmachata@redhat.com>
 +
 +      * dwarflint.c: Implement validation of .debug_ranges and
 +      references from .debug_info to .debug_ranges.
 +
 +2009-01-27  Petr Machata  <pmachata@redhat.com>
 +
 +      * dwarflint.c: Check that the base address selection entry
 +      actually changes base address.
 +
 +2009-01-27  Petr Machata  <pmachata@redhat.com>
 +
 +      * dwarflint.c: Match the way dwarflint reports offsets with the
 +      way elfutils does it.
 +
 +2009-01-26  Petr Machata  <pmachata@redhat.com>
 +
 +      * dwarflint.c (check_aranges_structural): Check that each CU is
 +      referenced from one aranges section only.
 +      (check_pub_structural): Likewise for pubnames and pubtypes.
 +      (read_ctx_read_uleb128): Allow ten-byte ULEB128.
 +
 +2009-01-23  Petr Machata  <pmachata@redhat.com>
 +
 +      * dwarflint.c (check_debug_info_structural): Check that all CUs
 +      have the same address size.
 +
 +2009-01-17  Roland McGrath  <roland@redhat.com>
 +
 +      * expr_opcodes.h: Fix DW_OP_deref entry.
 +      Add DW_OP_GNU_push_tls_address, DW_OP_GNU_uninit.
 +
 +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-04-29  Ulrich Drepper  <drepper@redhat.com>
+       * elflint.c (check_symtab): Add tests of st_other field.
  2009-04-23  Ulrich Drepper  <drepper@redhat.com>
  
        * Makefile [BUILD_STATIC] (libdw): Add $(zip_LIBS).
diff --cc tests/ChangeLog
index 5897d9d630259a8f7cb7c14e8cd8f2cf183db84e,e31dcbb46616846366a0ec02e0d5babb40cbd7f5..39245f84fae4c99d4b3e8e924a3db2617b13f49a
@@@ -1,43 -1,11 +1,51 @@@
 +2009-03-25  Petr Machata  <pmachata@redhat.com>
 +
 +      * dwarf-attributes.cc: New file.
 +      * Makefile.am (noinst_PROGRAMS): Add it.
 +      (dwarf_attributes_SOURCES, dwarf_attributes_LDADD): New variables.
 +
 +2009-03-25  Roland McGrath  <roland@redhat.com>
 +
 +      * dwarf-print.cc (print_die, process_file): Take LIMIT argument.
 +      Punt recursion at that depth.
 +      (main): Grok first argument --depth=N to set it.
 +
 +2009-03-24  Roland McGrath  <roland@redhat.com>
 +
 +      * dwarf-print.cc: New file.
 +      * Makefile.am (noinst_PROGRAMS): Add it.
 +      (dwarf_print_SOURCES, dwarf_print_LDADD): New variables.
 +
 +2009-01-10  Roland McGrath  <roland@redhat.com>
 +
 +      * run-dwarfcmp-self.sh: Also run with -T.
 +
 +      * run-dwarflint-self.sh: --no-debug -> -i
 +
 +      * run-dwarfcmp-self.sh: Run both with and without -q.
 +
 +2009-01-10  Petr Machata  <pmachata@redhat.com>
 +
 +      * run-dwarflint-self.sh: Pass new option --no-debug to dwarflint.
 +
 +2009-01-10  Roland McGrath  <roland@redhat.com>
 +
 +      * run-dwarflint-self.sh: New file.
 +      * Makefile.am (TESTS, EXTRA_DIST) Add it.
 +
 +2009-01-05  Roland McGrath  <roland@redhat.com>
 +
 +      * run-dwarfcmp-self.sh: New file.
 +      * Makefile.am (TESTS, EXTRA_DIST) Add it.
 +
+ 2009-05-07  Petr Machata  <pmachata@redhat.com>
+       * testfile51.bz2: New data file.
+       * dwarf-getmacros.c: New test core.
+       * run-dwarf-getmacros.sh: New test wrapper.
+       * Makefile.am (TESTS, EXTRA_DIST, noinst_PROGRAMS): Add them.
+       (dwarf_getmacros_LDADD): New variable.
  2009-04-23  Ulrich Drepper  <drepper@redhat.com>
  
        * Makefile [BUILD_STATIC] (libdw): Add $(zip_LIBS).
index 293bad913e8514cb69fe623b9a6b30d2de8e52f2,956b7253d37eb2b69bf2a82cb24d310e4d25f5b9..ba95008852a4001a3c1fa25d9fb101af2b52030e
@@@ -60,8 -60,7 +60,7 @@@ noinst_PROGRAMS = arextract arsymtest n
                  find-prologues funcretval allregs rdwrmmap \
                  dwfl-bug-addr-overflow arls dwfl-bug-fd-leak \
                  dwfl-addr-sect dwfl-bug-report early-offscn \
-                 dwfl-bug-getmodules \
-                 dwarf-print
 -                dwfl-bug-getmodules dwarf-getmacros
++                dwfl-bug-getmodules dwarf-getmacros dwarf-print
  # get-ciefde
  asm_TESTS = asm-tst1 asm-tst2 asm-tst3 asm-tst4 asm-tst5 \
            asm-tst6 asm-tst7 asm-tst8 asm-tst9
@@@ -87,8 -86,7 +86,8 @@@ TESTS = run-arextract.sh run-arsymtest.
        dwfl-bug-fd-leak dwfl-bug-report \
        run-dwfl-bug-offline-rel.sh run-dwfl-addr-sect.sh \
        run-disasm-x86.sh run-disasm-x86-64.sh \
-       run-early-offscn.sh \
 -      run-early-offscn.sh run-dwarf-getmacros.sh
++      run-early-offscn.sh run-dwarf-getmacros.sh \
 +      run-dwarfcmp-self.sh run-dwarflint-self.sh run-dwarf-attributes.sh
  # run-show-ciefde.sh
  
  if !STANDALONE
@@@ -121,8 -119,7 +120,9 @@@ EXTRA_DIST = run-arextract.sh run-arsym
             run-find-prologues.sh run-allregs.sh run-native-test.sh \
             run-addrname-test.sh run-dwfl-bug-offline-rel.sh \
             run-dwfl-addr-sect.sh run-early-offscn.sh \
+            run-dwarf-getmacros.sh \
 +           run-dwarfcmp-self.sh run-dwarflint-self.sh \
 +           run-dwarf-attributes.sh \
             testfile15.bz2 testfile15.debug.bz2 \
             testfile16.bz2 testfile16.debug.bz2 \
             testfile17.bz2 testfile17.debug.bz2 \