]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
Merge commit 'elfutils-0.149' into dwarf
authorRoland McGrath <roland@redhat.com>
Wed, 15 Sep 2010 01:43:11 +0000 (18:43 -0700)
committerRoland McGrath <roland@redhat.com>
Wed, 15 Sep 2010 01:43:11 +0000 (18:43 -0700)
1  2 
ChangeLog
configure.ac
libdw/ChangeLog
libdw/Makefile.am
libdw/libdwP.h
src/ChangeLog
src/readelf.c

diff --cc ChangeLog
Simple merge
diff --cc configure.ac
Simple merge
diff --cc libdw/ChangeLog
index b092a4056f793cbb833a743a56b0ae7353f57c2b,da6ed0569dba2d30a2f48b25b28cf12cda8c8ecd..c80600350b766381703363c92f5dcdae8b093d21
@@@ -1,34 -1,26 +1,57 @@@
+ 2010-07-26  Roland McGrath  <roland@redhat.com>
+       * dwarf_getlocation_implicit_pointer.c: New file.
+       * Makefile.am (libdw_a_SOURCES): Add it.
+       * libdw.map (ELFUTILS_0.149): New set.
+       Add dwarf_getlocation_implicit_pointer.
+       * libdw.h: Declare it.
+       * dwarf_offdie.c (do_offdie): Renamed to __libdw_offdie, made global.
+       (dwarf_offdie, dwarf_offdie_types): Update callers.
+       * libdwP.h: Declare it.
+       * dwarf.h: Add DW_OP_GNU_implicit_pointer.
+       * dwarf_getlocation.c (__libdw_intern_expression): Handle it.
+ 2010-08-24  Roland McGrath  <roland@redhat.com>
+       * libdw.map (ELFUTILS_0.149): New set.  Add dwfl_dwarf_line.
+ 2010-07-27  Roland McGrath  <roland@redhat.com>
+       * dwarf_formref_die.c: Fix sig8 hash insertion.
 +2010-08-20  Mark Wielaard  <mjw@redhat.com>
 +
 +      * c++/dwarf_data (dwarf_data::directory_table::directory_table):
 +      Cleaner way of handling first push_back.
 +
 +2010-08-19  Mark Wielaard  <mjw@redhat.com>
 +
 +      * c++/dwarf_data (dwarf_data::directory_table::directory_table):
 +      Treat first entry "special", can be NULL/empty.
 +
 +2010-08-18  Roland McGrath  <roland@redhat.com>
 +
 +      * c++/subr.hh (subr::container_tail_equal): New function.
 +      * c++/dwarf_data (dwarf_data::directory_table::operator==): Use it
 +      to ignore the compilation directory (first table element).
 +
 +2010-07-21  Roland McGrath  <roland@redhat.com>
 +
 +      * c++/dwarf_ref_maker (dwarf_ref_maker::seen): Add copy constructor
 +      to avoid default copying of uninitialized iterator.
 +
 +2010-07-13  Roland McGrath  <roland@redhat.com>
 +
 +      * c++/dwarf_comparator (dwarf_tracker_base): Replace visit method with
 +      visitor type.
 +      (dwarf_comparator): Update caller.
 +
 +2010-07-01  Roland McGrath  <roland@redhat.com>
 +
 +      * c++/values.cc (is_list, what_space): Handle v4 CU rules.
 +
  2010-06-23  Roland McGrath  <roland@redhat.com>
  
        * cfi.c (dwarf_cfi_validate_fde): Function removed.
index a6c98a87958bc01d3c50ce38756e4fb0e9559b64,598bdd1ff560347b21c091fc7735637a0a55ef9c..279e859958ccbbe243cb73f90e8245e9f8fa73a8
@@@ -92,17 -84,8 +92,17 @@@ libdw_a_SOURCES = dwarf_begin.c dwarf_b
                  dwarf_frame_info.c dwarf_frame_cfa.c dwarf_frame_register.c \
                  dwarf_cfi_addrframe.c \
                  dwarf_getcfi.c dwarf_getcfi_elf.c dwarf_cfi_end.c \
-                 dwarf_aggregate_size.c
+                 dwarf_aggregate_size.c dwarf_getlocation_implicit_pointer.c
  
 +# XXX need to figure out C++ dso crapola
 +lib_LIBRARIES += libdwpp.a
 +libdwpp_a_SOURCES = c++/values.cc \
 +                  c++/exception.cc \
 +                  c++/known.cc \
 +                  c++/line_info.cc \
 +                  c++/edit-values.cc \
 +                  c++/output-values.cc c++/output-shape.cc
 +
  if MAINTAINER_MODE
  BUILT_SOURCES = $(srcdir)/known-dwarf.h
  MAINTAINERCLEANFILES = $(srcdir)/known-dwarf.h
diff --cc libdw/libdwP.h
Simple merge
diff --cc src/ChangeLog
index 96826fb5341eb1696df1eab3f92198f440e01c16,716e7313f4cccd3167af518eb6d8a4e5e229160a..0d56ea369dc90e56a625907988226a0d56a8fe67
@@@ -1,8 -1,57 +1,62 @@@
+ 2010-07-26  Roland McGrath  <roland@redhat.com>
+       * readelf.c (print_ops): Handle DW_OP_GNU_implicit_pointer.
+ 2010-08-30  Roland McGrath  <roland@redhat.com>
+       Print .debug_loc/.debug_ranges with cognizance of actual DIE uses.
+       * readelf.c (parse_opt): Add section_info to implicit_debug_sections
+       for ranges, loc.
+       (struct listptr, struct listptr_table): New types.
+       (compare_listptr, reset_listptr, sort_listptr): New functions.
+       (notice_listptr, skip_listptr_hole): New functions.
+       (struct attrcb_args): Add silent member.
+       (attr_callback): Call notice_listptr for loclistptr and rangelistptr.
+       Suppress output if silent, but still call notice_listptr.
+       (print_debug_units): Suppress output if section_info not requested.
+       (print_debug_loc_section): Call sort_listptr, skip_listptr_hole.
+       (print_debug_ranges_section): Likewise.
+       (print_debug): Call reset_listptr on both tables.
+       * readelf.c (print_debug_ranges_section): Print empty list.
+       (print_debug_loc_section): Likewise.
+       * readelf.c (print_debug_loc_section): Check for bogus length
+       before calling print_ops.
+       (print_ops): Check harder for bogus data that would read off end.
+ 2010-08-11  Roland McGrath  <roland@redhat.com>
+       * readelf.c (for_each_section_argument): Process all sections with
+       matching name, not just the first.
+ 2010-07-26  Roland McGrath  <roland@redhat.com>
+       * readelf.c (print_ops): Take new argument for CU version.
+       Fix DW_OP_call_ref decoding to depend on it.
+       (print_debug_loc_section): Update caller.
+       (print_cfa_program): Take new argument, pass it down.
+       (print_debug_frame_section): Update caller.
+       (struct attrcb_args): New member version.
+       (print_debug_units): Initialize it.
+ 2010-07-02  Roland McGrath  <roland@redhat.com>
+       * readelf.c (print_debug_frame_section): Use format_dwarf_addr for
+       initial_location.
+ 2010-06-30  Roland McGrath  <roland@redhat.com>
+       * strings.c (main): Use STDIN_FILENO, not STDOUT_FILENO.
+       Ignore st_size for a non-S_ISREG file descriptor.
+       (read_block): Move assert after no-mmap bail-out.
+       (read_block_no_mmap): Fix size calculations for moving buffer remnant.
 +2010-07-13  Roland McGrath  <roland@redhat.com>
 +
 +      * dwarfcmp.cc (talker): Replace visit method with visitor type.
 +      (noisy_compare): Update caller.
 +
  2010-06-22  Roland McGrath  <roland@redhat.com>
  
        * readelf.c (print_debug_line_section): Fix braino in DW_LNS_set_isa.
diff --cc src/readelf.c
Simple merge