From 6bd7c2c4ffa287a743d8412fadbb38855f66fe1a Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Fri, 22 Sep 2017 17:23:34 -0300 Subject: bring ChangeLog entries from master commit --- binutils/ChangeLog | 33 +++++++++++++++++++++++++++++++++ include/ChangeLog | 7 +++++++ 2 files changed, 40 insertions(+) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 87ee8a4eaee..037408440be 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,36 @@ +2017-09-22 Alexandre Oliva + + * dwarf.h (debug_info): Add loc_views and num_loc_views. + * dwarf.c (vm1): New constant. + (print_dwarf_view): New function. + (read_and_display_attr_value): Support DW_AT_GNU_locviews. + (process_debug_info): Keep num_loc_offsets and num_loc_views + in sync. + (display_view_pair_list): New function. + (display_loc_list_dwo): Take vstart_ptr; update it. Dump + location view pairs before the range they apply to, when a + viewlist augments the loc list. + (display_loc_list): Likewise. Check view numbers in range + tests. + (display_loclists_list): Likewise. Handle view pair entries, + and warn on trailing ones. + (loc_views): New variable. + (loc_offsets_compar): Compare loc_views if loc_offsets are the + same. + (display_debug_loc): Check and sort loc_views too. Accept + loc_view as expected_start. Skip if lists and views are the + same. Dump locview list separately in order, and pass the + locview list base to each list dump function. Warn and skip + overlap and hole checking if we find loclists and locviews to + not be adjacent. + * testsuite/binutils-all/locview-1.s: New. + * testsuite/binutils-all/readelf.locview-1: New. + * testsuite/binutils-all/locview-2.s: New. + * testsuite/binutils-all/readelf.locview-2: New. + * testsuite/binutils-all/readelf.exp: Run new tests. Fix + option spelling in pr18374 fail message. XFAIL dw5 test on + nds32*-elf. + 2017-09-22 Alan Modra * testsuite/binutils-all/readelf.exp: Don't perror and exit on diff --git a/include/ChangeLog b/include/ChangeLog index 1ba7de3c6a5..0ece8de3f7e 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,10 @@ +2017-09-22 Alexandre Oliva + + * dwarf2.def (DW_AT_GNU_locviews): New. + * dwarf2.h (enum dwarf_location_list_entry_type): Add + DW_LLE_GNU_view_pair. + (DW_LLE_view_pair): Define. + 2017-09-15 Pedro Alves Sync with mainline gcc sources (r252823) -- cgit v1.2.1