From: Roland McGrath Date: Sun, 25 Jan 2009 06:55:08 +0000 (-0800) Subject: Merge commit 'origin/master' into dwarf X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ea7eb8e8e2606eaf7a895eb4aef06b314e6d5f3e;p=thirdparty%2Felfutils.git Merge commit 'origin/master' into dwarf Conflicts: ChangeLog libdw/ChangeLog src/ChangeLog --- ea7eb8e8e2606eaf7a895eb4aef06b314e6d5f3e diff --cc ChangeLog index e976f2db7,f6d54aaa2..d533c55b4 --- a/ChangeLog +++ b/ChangeLog @@@ -1,7 -1,10 +1,14 @@@ +2009-01-10 Roland McGrath + + * configure.ac: Add AC_PROG_CXX. + + 2009-01-23 Roland McGrath + + * configure.ac (zlib check): Check for gzdirect, need zlib >= 1.2.2.3. + + * configure.ac (__thread check): Use AC_LINK_IFELSE, in case of + building with compiler support but no working runtime support. + 2009-01-22 Ulrich Drepper * Makefile.am (rpm): The tarball is now bzip2-compressed. diff --cc libdw/ChangeLog index f9aff6c8c,6ee143f79..c92286376 --- a/libdw/ChangeLog +++ b/libdw/ChangeLog @@@ -1,8 -1,8 +1,13 @@@ +2009-01-10 Roland McGrath + + * c++/dwarf: New file. + * Makefile.am (pkginclude_HEADERS): Add it. + + 2009-01-23 Roland McGrath + + * Makefile.am ($(srcdir)/known-dwarf.h): Target renamed back. + Put these rules under if MAINTAINER_MODE. + 2009-01-22 Roland McGrath * dwarf.h: Add DW_OP_GNU_encoded_addr. diff --cc src/ChangeLog index 6e8615068,4886bcf2c..35eb79645 --- a/src/ChangeLog +++ b/src/ChangeLog @@@ -1,122 -1,19 +1,138 @@@ +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-01-24 Ulrich Drepper + + * readelf.c (print_debug_frame_section): Fix computation of vma_base + for PC-relative mode. + + 2009-01-23 Ulrich Drepper + + * size.c (process_file): When handling archive, close file descriptor + here. For unknown file format also close file descriptor. + (handle_ar): Don't close file descriptor here. + + * readelf.c (parse_opt): Move code to add to dump_data_sections and + string_sections list in local function add_dump_section. Adjust 'x' + key handling. For 'a' key add .strtab, .dynstr, and .comment section + to string_sections list. + 2009-01-22 Roland McGrath * readelf.c (print_phdr): Don't print section mapping when no sections.