From: Roland McGrath Date: Fri, 10 Sep 2010 06:16:18 +0000 (-0700) Subject: Merge branch 'roland/implicit-ptr' X-Git-Tag: elfutils-0.149~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a4e6b968146b9b2e9879dc4bc0c1f0510f3abf40;p=thirdparty%2Felfutils.git Merge branch 'roland/implicit-ptr' --- a4e6b968146b9b2e9879dc4bc0c1f0510f3abf40 diff --cc src/ChangeLog index 060e9df79,4fff2768e..716e7313f --- a/src/ChangeLog +++ b/src/ChangeLog @@@ -1,22 -1,9 +1,26 @@@ + 2010-07-26 Roland McGrath + + * readelf.c (print_ops): Handle DW_OP_GNU_implicit_pointer. + 2010-08-30 Roland McGrath + 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.