]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
Merge commit 'elfutils-0.139' into dwarf
authorRoland McGrath <roland@redhat.com>
Sat, 24 Jan 2009 02:00:40 +0000 (18:00 -0800)
committerRoland McGrath <roland@redhat.com>
Sat, 24 Jan 2009 02:00:40 +0000 (18:00 -0800)
Conflicts:
ChangeLog
libdw/ChangeLog
src/ChangeLog
src/Makefile.am

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

diff --cc ChangeLog
index fcd9119b78a6f65e91dcfaf07ab15b0c8e806dc3,b1fb5b99ca15912d6335c1e993f974ca6dfde6d1..e976f2db73177b67b6e9c9a931cc5cc4e227c326
+++ b/ChangeLog
@@@ -1,7 -1,7 +1,11 @@@
 +2009-01-10  Roland McGrath  <roland@redhat.com>
 +
 +      * configure.ac: Add AC_PROG_CXX.
 +
+ 2009-01-22  Ulrich Drepper  <drepper@redhat.com>
+       * Makefile.am (rpm): The tarball is now bzip2-compressed.
  2009-01-10  Ulrich Drepper  <drepper@redhat.com>
  
        * configure.ac: Require gcc with TLS support.
diff --cc configure.ac
Simple merge
diff --cc libdw/ChangeLog
index 92435ab53669358a46fa49b81db8f961227ba201,d55d2d1eccef83685f39c20aa930075f54aeab81..f9aff6c8ccc457a552af5773984723cda4c0daa6
@@@ -1,8 -1,7 +1,12 @@@
 +2009-01-10  Roland McGrath  <roland@redhat.com>
 +
 +      * c++/dwarf: New file.
 +      * Makefile.am (pkginclude_HEADERS): Add it.
 +
+ 2009-01-22  Roland McGrath  <roland@redhat.com>
+       * dwarf.h: Add DW_OP_GNU_encoded_addr.
  2009-01-21  Roland McGrath  <roland@redhat.com>
  
        * Makefile.am (CLEANFILES): Renamed to ...
diff --cc src/ChangeLog
index 5139781fbe739e753a7f7560ede649686362af66,da35a66876c7760f6f5e3ac2273195795e6aec52..6e861506888f54fc67718ef8d9a97e65d5ae037a
 +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-01-22  Roland McGrath  <roland@redhat.com>
+       * readelf.c (print_phdr): Don't print section mapping when no sections.
+       * Makefile.am (AM_CFLAGS): Pass -Wno-format for *_no_Wformat.
+       * readelf.c (print_debug_frame_section): Initialize IS_SIGNED to false
+       and reset it only for the 'true' cases.
+       * Makefile.am (addr2line_no_Wformat): New variable.
+       * readelf.c (print_debug_frame_section): Use t instead of j formats
+       for ptrdiff_t OFFSET.
  2009-01-21  Ulrich Drepper  <drepper@redhat.com>
  
        * elflint.c (check_program_header): Fix typo in .eh_frame_hdr section
diff --cc src/Makefile.am
index 6ac14df90469a278d391a3c8a7b248c1c6aacfe0,c92accbe1f1c821640eae6b94d77247aa3724569..96c9f9ada60707d29f00a43431e2e6da1b50c711
@@@ -113,9 -108,9 +113,10 @@@ libeu = ../lib/libeu.
  nm_no_Wformat = yes
  size_no_Wformat = yes
  strings_no_Wformat = yes
+ addr2line_no_Wformat = yes
  # XXX While the file is not finished, don't warn about this
  ldgeneric_no_Wunused = yes
 +dwarfcmp_no_Wformat = yes
  
  readelf_LDADD = $(libdw) $(libebl) $(libelf) $(libeu) $(libmudflap) -ldl
  nm_LDADD = $(libdw) $(libebl) $(libelf) $(libeu) $(libmudflap) -ldl
diff --cc src/readelf.c
Simple merge