]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
Merge commit 'origin/master' into dwarf
authorRoland McGrath <roland@redhat.com>
Sat, 7 Feb 2009 23:21:51 +0000 (15:21 -0800)
committerRoland McGrath <roland@redhat.com>
Sat, 7 Feb 2009 23:21:51 +0000 (15:21 -0800)
Conflicts:
src/ChangeLog

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

diff --cc src/ChangeLog
index 754a8bcf0be5a44ca8582258967919266c88e2ea,88dd78a9faee576cb3c8d159eefdc6756612146c..a8e46552f6643288db58c49bc6fb4081a81bcc77
 +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-02-05  Ulrich Drepper  <drepper@redhat.com>
+       * objdump.c (show_relocs_x): Minor cleanups.
+       * readelf.c (print_cfa_program): Correct a few labels.
+       Print first DW_CFA_expression and DW_CFA_val_expression parameter
+       as register.
+ 2009-02-01  Ulrich Drepper  <drepper@redhat.com>
+       * objdump.c (show_relocs_rel, show_relocs_rela): Split common parts
+       into ...
+       (show_relocs_x): ...here.  New function.
+       (show_relocs): Better spacing in output.
+       * objdump.c (show_relocs_rela): Show offsets as signed values.
+       * ar.c (main): Fix recognition of invalid modes for a, b, i modifiers.
+       Improve some error messages.
+       Use program_invocation_short_name instead of AR macro.
+       * Makefile.am (CFLAGS_ar): Remove.
+       * elflint.c (parse_opt): ARGP_HELP_EXIT_ERR does nothing for argp_help.
+       * objdump.c (parse_opt): Likewise.
+       * readelf.c (parse_opt): Likewise.
  2009-01-27  Roland McGrath  <roland@redhat.com>
  
        * readelf.c (print_ops): Notice short length, don't overrun buffer
diff --cc src/Makefile.am
index 032c621c23481293dfed48d8a1a28df997bbb2f1,64e4478bef7e901452652722cc62f444f164c8ae..8510791d98cef0dea4a7b5de06852aabefe551ab
@@@ -145,10 -130,7 +145,9 @@@ objdump_LDADD  = $(libasm) $(libebl) $(
  ranlib_LDADD = libar.a $(libelf) $(libeu) $(libmudflap)
  strings_LDADD = $(libelf) $(libeu) $(libmudflap)
  ar_LDADD = libar.a $(libelf) $(libeu) $(libmudflap)
- CFLAGS_ar = -DAR=\"$(shell echo ar|sed '$(transform)')\"
  unstrip_LDADD = $(libebl) $(libelf) $(libdw) $(libeu) $(libmudflap) -ldl
 +dwarfcmp_LDADD = $(libdw) $(libmudflap) -ldl
 +dwarflint_LDADD  = $(libebl) $(libelf) $(libdw) $(libeu) $(libmudflap) -ldl
  
  ldlex.o: ldscript.c
  ldlex_no_Werror = yes
diff --cc src/readelf.c
Simple merge