From: Roland McGrath Date: Fri, 24 Apr 2009 22:56:58 +0000 (-0700) Subject: Merge commit 'origin/master' into dwarf X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e88d9de19f2b72ced22e07c6099e742dff6be7c8;p=thirdparty%2Felfutils.git Merge commit 'origin/master' into dwarf Conflicts: ChangeLog src/ChangeLog tests/ChangeLog tests/Makefile.am --- e88d9de19f2b72ced22e07c6099e742dff6be7c8 diff --cc ChangeLog index d533c55b4,7b8c4438b..4197903a1 --- a/ChangeLog +++ b/ChangeLog @@@ -1,7 -1,12 +1,16 @@@ +2009-01-10 Roland McGrath + + * configure.ac: Add AC_PROG_CXX. + + 2009-04-19 Roland McGrath + + * configure.ac (eu_version): Round down here, not in version.h macros. + + 2009-04-17 Roland McGrath + + * configure.ac (eu_version): Compute number 1000 times larger, + let $PACKAGE_VERSION be x.y.z as well as x.y (implied x.y.0). + 2009-01-23 Roland McGrath * configure.ac (zlib check): Check for gzdirect, need zlib >= 1.2.2.3. diff --cc src/ChangeLog index fc03582a1,49b720379..da77d8c64 --- a/src/ChangeLog +++ b/src/ChangeLog @@@ -1,171 -1,17 +1,185 @@@ +2009-04-02 Roland McGrath + + * 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 + + * 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 + + * dwarflint.c: Add --nohl command line switch. + +2009-01-28 Petr Machata + + * dwarflint.c: Coding style cleanups. + (found_hole): Tolerate zero-padding to given alignment. + +2009-01-27 Petr Machata + + * dwarflint.c: Implement validation of .debug_ranges and + references from .debug_info to .debug_ranges. + +2009-01-27 Petr Machata + + * dwarflint.c: Check that the base address selection entry + actually changes base address. + +2009-01-27 Petr Machata + + * dwarflint.c: Match the way dwarflint reports offsets with the + way elfutils does it. + +2009-01-26 Petr Machata + + * 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 + + * dwarflint.c (check_debug_info_structural): Check that all CUs + have the same address size. + +2009-01-17 Roland McGrath + + * expr_opcodes.h: Fix DW_OP_deref entry. + Add DW_OP_GNU_push_tls_address, DW_OP_GNU_uninit. + +2009-01-17 Petr Machata + + * 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 + + * dwarflint.c: Implement validation of .debug_loc and references + from .debug_info to .debug_loc. + +2009-01-14 Petr Machata + + * dwarfstrings.h (dwarf_locexpr_opcode_string): New. + +2009-01-14 Petr Machata + + * dwarflint.c: Validation .debug_pubtypes. + +2009-01-13 Petr Machata + + * dwarflint.c: Adjust check_pubnames_structural to be able to + validate also .debug_pubtypes. + +2009-01-13 Petr Machata + + * dwarflint.c: Rewrite message macros to functions. This makes it + possible to rewrite several other macros to functions. + +2009-01-12 Petr Machata + + * dwarflint.c: Implement validation of .debug_pubnames. + +2009-01-12 Petr Machata + + * dwarflint.c: Check padding between sections in .debug_aranges. + +2009-01-12 Petr Machata + + * 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 + + * dwarflint.c: Changes in data structures for recording DIEs and CUs. + +2009-01-12 Petr Machata + + * dwarflint.c: Implement validation of .debug_aranges. + +2009-01-11 Petr Machata + + * dwarflint.c (process_file): Handle absence of .debug_info, + .debug_abbrev and .debug_str gracefully. + +2009-01-11 Petr Machata + + * 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 + + * 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 + + * dwarflint.c: Implement --no-debug: silently accept file, if its + debug info is not available. + +2009-01-10 Roland McGrath + + * 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 + + * 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 + + * 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 + + * dwarflint.c: Sort the abbrev tables and look up abbreviations + with bisect search. + +2009-01-09 Petr Machata + + * dwarflint.c: Checking for zero padding and unreferenced bytes. + CU size and padding at the end of CU are now checked. + + 2009-04-23 Ulrich Drepper + + * Makefile [BUILD_STATIC] (libdw): Add $(zip_LIBS). + + 2009-04-20 Roland McGrath + + * addr2line.c (print_dwarf_function): Honor -s and -A for file names + of inline call sites. + + * addr2line.c (just_section): New variable. + (adjust_to_section): New function, broken out of ... + (handle_address): ... here. + (options, parse_opt): Add -j/--section=NAME to set it. + 2009-04-15 Roland McGrath * readelf.c (print_debug_frame_section): Check for DW_CIE_ID_64 in diff --cc tests/ChangeLog index e523c8cda,f1fd512b3..5897d9d63 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@@ -1,43 -1,14 +1,54 @@@ +2009-03-25 Petr Machata + + * dwarf-attributes.cc: New file. + * Makefile.am (noinst_PROGRAMS): Add it. + (dwarf_attributes_SOURCES, dwarf_attributes_LDADD): New variables. + +2009-03-25 Roland McGrath + + * 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 + + * dwarf-print.cc: New file. + * Makefile.am (noinst_PROGRAMS): Add it. + (dwarf_print_SOURCES, dwarf_print_LDADD): New variables. + +2009-01-10 Roland McGrath + + * 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 + + * run-dwarflint-self.sh: Pass new option --no-debug to dwarflint. + +2009-01-10 Roland McGrath + + * run-dwarflint-self.sh: New file. + * Makefile.am (TESTS, EXTRA_DIST) Add it. + +2009-01-05 Roland McGrath + + * run-dwarfcmp-self.sh: New file. + * Makefile.am (TESTS, EXTRA_DIST) Add it. + + 2009-04-23 Ulrich Drepper + + * Makefile [BUILD_STATIC] (libdw): Add $(zip_LIBS). + (rdwrmmap_LDADD): Add $(libmudflap). - ++ + 2009-04-21 Roland McGrath + + * testfile50.bz2: New data file. + * Makefile.am (EXTRA_DIST): Add it. + * run-dwfl-addr-sect.sh: Add a case using it. + 2008-12-31 Ulrich Drepper * testfile44.S.bz2: Add tests for dppd, dpps, insertps, movntdqa, diff --cc tests/Makefile.am index 530aa0886,9f4ccddbf..293bad913 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@@ -121,7 -119,6 +121,8 @@@ 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-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 \