binutils/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Tue, 14 Jul 2009 16:57:18 +0000 (16:57 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Tue, 14 Jul 2009 16:57:18 +0000 (16:57 +0000)
commit01a8f077edb6f09060c339831a9b3c7e5f45c812
tree3fefc13e20780b54fb1e22ba7fd1b4a36e0787b4
parent140033b39116ffc7d6ca946c43c19880e2e48a0c
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.
binutils/ChangeLog
binutils/dwarf.c
binutils/dwarf.h
binutils/testsuite/ChangeLog
binutils/testsuite/binutils-all/objcopy.exp
binutils/testsuite/binutils-all/testranges.d [new file with mode: 0644]
binutils/testsuite/binutils-all/testranges.s [new file with mode: 0644]