binutils/
Support unordered .debug_info references to .debug_ranges. * dwarf.c (struct range_entry, range_entry_compar): New. (display_debug_ranges): Remove variables last_offset, first, j, seen_first_offset, use_debug_info and next. New variables range_entries and range_entry_fill. Create the sorted copy range_entries. Remove the FIXME error on detected unordered references. * dwarf.h (debug_info <range_lists>): New comment. binutils/testsuite/ * binutils-all/objcopy.exp (testranges): New test. * binutils-all/testranges.d, binutils-all/testranges.s: New files.
Showing
- binutils/ChangeLog 10 additions, 0 deletionsbinutils/ChangeLog
- binutils/dwarf.c 107 additions, 106 deletionsbinutils/dwarf.c
- binutils/dwarf.h 1 addition, 0 deletionsbinutils/dwarf.h
- binutils/testsuite/ChangeLog 5 additions, 0 deletionsbinutils/testsuite/ChangeLog
- binutils/testsuite/binutils-all/objcopy.exp 1 addition, 0 deletionsbinutils/testsuite/binutils-all/objcopy.exp
- binutils/testsuite/binutils-all/testranges.d 14 additions, 0 deletionsbinutils/testsuite/binutils-all/testranges.d
- binutils/testsuite/binutils-all/testranges.s 57 additions, 0 deletionsbinutils/testsuite/binutils-all/testranges.s
Loading
Please register or sign in to comment