]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
Merge commit 'elfutils-0.146' into dwarf
authorRoland McGrath <roland@redhat.com>
Thu, 22 Apr 2010 00:54:33 +0000 (17:54 -0700)
committerRoland McGrath <roland@redhat.com>
Thu, 22 Apr 2010 00:54:33 +0000 (17:54 -0700)
Conflicts:
tests/Makefile.am

1  2 
ChangeLog
config/eu.am
configure.ac
libdw/ChangeLog
src/ChangeLog
src/readelf.c
tests/ChangeLog
tests/Makefile.am

diff --cc ChangeLog
index 924561b37e31bdf74b9fb3a4f79cbfaff348a514,018a1025b0dbf05ca5389c346b3742192cde8687..4b7fc717b09f3114e644bfd502a7c30f81702785
+++ b/ChangeLog
@@@ -1,11 -1,7 +1,15 @@@
+ 2010-04-15  Roland McGrath  <roland@redhat.com>
+       * configure.ac (LOCALEDIR, DATADIRNAME): Removed.
 +2009-08-20  Roland McGrath  <roland@redhat.com>
 +
 +      * configure.ac (--enable-gprof): Set CXXFLAGS too.
 +
 +2009-01-10  Roland McGrath  <roland@redhat.com>
 +
 +      * configure.ac: Add AC_PROG_CXX.
 +
  2009-09-21  Ulrich Drepper  <drepper@redhat.com>
  
        * configure.ac: Update for more modern autoconf.
diff --cc config/eu.am
Simple merge
diff --cc configure.ac
Simple merge
diff --cc libdw/ChangeLog
Simple merge
diff --cc src/ChangeLog
index 265d135b2b7a1f2bcfdb35b3f0bb6918470f5588,53415428ba2f2982a54dc271ec1e1e159fc86b2f..ae673bd225aca69ba8f9284293b2a95d136f5d1d
+ 2010-04-14  Roland McGrath  <roland@redhat.com>
+       * readelf.c (handle_core_item): Fix bitmask printing.
+ 2010-04-06  Roland McGrath  <roland@redhat.com>
+       * ld.c (options): Fix some typos in messages.
+       * elflint.c (check_scn_group, check_group): Likewise.
+       * ldscript.y (add_id_list): Likewise.
+       * readelf.c (print_hash_info): Add xgettext:no-c-format magic comment
+       before translated string containing a literal %.
+ 2010-02-26  Roland McGrath  <roland@redhat.com>
+       * readelf.c (process_file): Don't leak an fd in failure case.
 +2009-10-02  Roland McGrath  <roland@redhat.com>
 +
 +      * dwarfcmp.cc (talker): Show missing/extra children, not just count.
 +      (noisy_compare): In explicit-offsets case, print for a positive match.
 +
 +      * dwarfcmp.cc (talker::print_one_reference_mismatch): Compare entries,
 +      not references.
 +
 +2009-10-01  Roland McGrath  <roland@redhat.com>
 +
 +      * dwarfcmp.cc: Support more than for arguments to compare multiple
 +      right-hand side entries against the same left-hand side.
 +
 +      * dwarfcmp.cc (talker): Describe reference mismatch details at the
 +      end, iterating when that mentions new mismatches.
 +
 +2009-09-30  Roland McGrath  <roland@redhat.com>
 +
 +      * dwarfcmp.cc: Support four-argument usage to compare specific entries.
 +
 +2009-09-15  Roland McGrath  <roland@redhat.com>
 +
 +      * dwarfcmp.cc (talker, noisy_cmp): Describe context mismatch details
 +      at the end.
 +
 +2009-08-27  Roland McGrath  <roland@redhat.com>
 +
 +      * dwarfcmp.cc (do_writer_test): New function, broken out of ...
 +      (main): ... here.
 +      [TEST]: Conditionalize -T and all its code on this.
 +
 +2009-08-25  Roland McGrath  <roland@redhat.com>
 +
 +      * dwarfcmp.cc (talker): Track real vs fake-positive match result
 +      and cache only real results in the real tracker.
 +
 +2009-08-20  Roland McGrath  <roland@redhat.com>
 +
 +      * dwarfcmp.cc (verbose): New variable.
 +      (options, parse_opt): Add --verbose/-l to set it.
 +      (talker): Keep going after mismatches when verbose.
 +
 +2009-08-19  Roland McGrath  <roland@redhat.com>
 +
 +      Diagnose reference mismatches with more detail.
 +      * dwarfcmp.cc (talker::reference_mismatch): New method.
 +      (talker::mismatch): Call it.
 +
 +      * dwarfcmp.cc (talker): Update constructor for tracker changes.
 +
 +2009-08-16  Roland McGrath  <roland@redhat.com>
 +
 +      * dwarfcmp.cc (main): Call dwarf_end before return, for happy valgrind.
 +
 +2009-07-06  Roland McGrath  <roland@redhat.com>
 +
 +      * dwarfcmp.cc (test_writer): Make it an int.
 +      (parse_opt): Make -T increment it.
 +      (main): Test only dwarf_output for -T, only dwarf_edit for -TT,
 +      both only for -TTT.
 +
 +2009-07-03  Roland McGrath  <roland@redhat.com>
 +
 +      * Makefile.am (AM_CXXFLAGS): Drop -Wno-unused-parameter.
 +
 +      * dwarfcmp.cc (open_file): Exit 77 for no DWARF under -T.
 +
 +2009-07-02  Roland McGrath  <roland@redhat.com>
 +
 +      * dwarflint-hl.cc (operator<<): dwarf::VS_unit_reference is gone.
 +
 +      * dwarfcmp.cc (main): Update -T constructors using tracker.
 +      Instantiate and test dwarf_output for -T too.
 +
 +2009-07-01  Roland McGrath  <roland@redhat.com>
 +
 +      * dwarfcmp.cc (talker): Update constructor parameters.
 +
 +2009-06-19  Roland McGrath  <roland@redhat.com>
 +
 +      * dwarfcmp.cc: Revamp using dwarf_comparator.
 +
 +      * dwarflint-expected-at.cc: Include <config.h> first.
 +      * dwarflint-expected.hh (expected_map::expectation_map):
 +      Use dwarf::tags.
 +      (to_string): Function removed.
 +      * dwarflint-hl.cc (recursively_validate): Don't use it.
 +
 +      * dwarflint.c (abbrev_table_load): No-op control flow fiddle
 +      silences gcc-4.4 -O3 warning.
 +
 +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.
 +
  2010-02-15  Roland McGrath  <roland@redhat.com>
  
        * Makefile.am: Use config/eu.am for common stuff.
diff --cc src/readelf.c
Simple merge
diff --cc tests/ChangeLog
index 2d72ee39d475861d1d274ff6bb3f9b0f1e5ab51a,e4f469c68aa5d66d33fd3505f43b0f91737df9e2..83b4b747b18b65f826cd5af936f57c36b41a9193
+ 2010-04-14  Roland McGrath  <roland@redhat.com>
+       * Makefile.am (EXTRA_DIST): Add run-test-flag-nobits.sh here too.
+ 2010-04-10  Ulrich Drepper  <drepper@redhat.com>
+       * msg_tst.c: Adjust expected error message.
+ 2010-04-01  Petr Machata  <pmachata@redhat.com>
+       * test-flag-nobits.c: New test.
+       * run-test-flag-nobits.sh: And its wrapper.
+       * Makefile.am (noinst_PROGRAMS, TESTS): Add them.
+       (test_flag_nobits_LDADD): New variable.
 +2009-12-13  Roland McGrath  <roland@redhat.com>
 +
 +      * run-dwarfcmp-self.sh: Move the hairiest/largest cases to last.
 +
 +2009-09-15  Roland McGrath  <roland@redhat.com>
 +
 +      * print-die.cc: Grok --refs-shared-cu, --refs-shared-file options
 +      to share the refs_map across CUs or across files.
 +
 +2009-08-28  Roland McGrath  <roland@redhat.com>
 +
 +      * run-dwarfcmp-self.sh: Test dwarfcmp-test binary too.
 +
 +      * print-die.cc: Grok --stats to dump collector stats.
 +
 +2009-08-27  Roland McGrath  <roland@redhat.com>
 +
 +      * run-dwarfcmp-self.sh: Parameterize.  Take out -T runs.
 +      * run-dwarfcmp-test-self.sh: New file.  Do just -T runs here.
 +      * Makefile.am (TESTS, EXTRA_DIST): Add it.
 +
 +2009-08-25  Roland McGrath  <roland@redhat.com>
 +
 +      * print-die.hh: New file with extern decls.  Contents moved to ...
 +      * print-die.cc: ... here, new file.
 +      * Makefile.am (dwarf_print_SOURCES, dwarf_edit_SOURCES): Build it.
 +
 +2009-08-21  Roland McGrath  <roland@redhat.com>
 +
 +      * print-die.hh (print_die_main, print_file): Add --silent option.
 +
 +2009-08-19  Roland McGrath  <roland@redhat.com>
 +
 +      * print-die.hh: Handle --norefs, --dump-refs.
 +
 +2009-07-03  Roland McGrath  <roland@redhat.com>
 +
 +      * print-die.hh: Grok --sort-attrs option to canonicalize order.
 +      Fix ref assignment to produce consistent numbering.
 +      * run-dwarf_edit.sh: Update expected output.
 +      * run-dwarf-attributes.sh: Likewise.
 +
 +      * Makefile.am (AM_CXXFLAGS): New variable (from ../src/Makefile.am).
 +
 +      * print-die.hh: Grok --edit/--output options to print a copied object.
 +
 +2009-07-02  Roland McGrath  <roland@redhat.com>
 +
 +      * run-dwarf_edit.sh: New file.
 +      * dwarf_edit.cc: New file.
 +      * Makefile.am (noinst_PROGRAMS, TESTS, EXTRA_DIST): Add them.
 +      (dwarf_edit_SOURCES, dwarf_edit_LDADD): New variables.
 +
 +      * dwarf-print.cc (print_die): Templatify and move ...
 +      * print-die.hh: ... here, new file.
 +      * Makefile.am (noinst_HEADERS): New variable, add it.
 +
 +2009-07-01  Roland McGrath  <roland@redhat.com>
 +
 +      * run-dwarfcmp-self.sh: Run on dwarflint too.
 +      Fiddle failure output.
 +
 +2009-06-15  Roland McGrath  <roland@redhat.com>
 +
 +      * dwarf-print.cc: Include <cstdio>.
 +
 +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.
 +
  2010-02-15  Roland McGrath  <roland@redhat.com>
  
        * Makefile.am: Use config/eu.am for common stuff.
index c7ce6d50f5a56dd9cbff113ac4f652bed75354ea,008008acc47287593ff235c7566405e86119dbe9..b3ae88fb427feef230ffb5debc90615ee960d735
@@@ -59,7 -57,7 +59,9 @@@ noinst_PROGRAMS = arextract arsymtest n
                  dwfl-bug-addr-overflow arls dwfl-bug-fd-leak \
                  dwfl-addr-sect dwfl-bug-report early-offscn \
                  dwfl-bug-getmodules dwarf-getmacros addrcfi \
-                 dwarf-print dwarf_edit
++                dwarf-print dwarf_edit \
+                 test-flag-nobits
++
  asm_TESTS = asm-tst1 asm-tst2 asm-tst3 asm-tst4 asm-tst5 \
            asm-tst6 asm-tst7 asm-tst8 asm-tst9
  
@@@ -85,8 -83,7 +87,9 @@@ TESTS = run-arextract.sh run-arsymtest.
        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-dwarf-getmacros.sh \
-       run-dwarf_edit.sh run-dwarfcmp-test-self.sh
 +      run-dwarfcmp-self.sh run-dwarflint-self.sh run-dwarf-attributes.sh \
++      run-dwarf_edit.sh run-dwarfcmp-test-self.sh \
+       run-test-flag-nobits.sh
  # run-show-ciefde.sh
  
  if !STANDALONE
@@@ -119,9 -116,7 +122,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-dwarf-getmacros.sh run-test-flag-nobits.sh \
 +           run-dwarfcmp-self.sh run-dwarfcmp-test-self.sh \
 +           run-dwarflint-self.sh run-dwarf-attributes.sh run-dwarf_edit.sh \
             testfile15.bz2 testfile15.debug.bz2 \
             testfile16.bz2 testfile16.debug.bz2 \
             testfile17.bz2 testfile17.debug.bz2 \