01a8f077ed
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. |
||
---|---|---|
.. | ||
arm | ||
hppa | ||
m68k | ||
vax | ||
windres | ||
alias.def | ||
ar.exp | ||
bintest.s | ||
copy-1.d | ||
copy-1.s | ||
copy-2.d | ||
copy-3.d | ||
copy-4.d | ||
copytest.s | ||
dlltool.exp | ||
dumptest.s | ||
dw2-compressed.S | ||
empty.s | ||
fastcall.def | ||
group-2.s | ||
group-3.s | ||
group-4.s | ||
group.s | ||
link-order.s | ||
localize-hidden-1.d | ||
localize-hidden-1.s | ||
localize-hidden-2.d | ||
localize-hidden-2.s | ||
needed-by-reloc.s | ||
nm.exp | ||
objcopy.exp | ||
objdump.exp | ||
objdump.s | ||
objdump.W | ||
readelf.exp | ||
readelf.h | ||
readelf.r | ||
readelf.r-64 | ||
readelf.s | ||
readelf.s-64 | ||
readelf.ss | ||
readelf.ss-64 | ||
readelf.ss-mips | ||
readelf.ss-tmips | ||
readelf.wa | ||
size.exp | ||
strip-1.d | ||
strip-2.d | ||
strip-3.d | ||
strip-4.d | ||
strip-5.d | ||
strip-6.d | ||
strip-7.d | ||
strip-8.d | ||
strip-9.d | ||
testprog.c | ||
testranges.d | ||
testranges.s | ||
unknown.s |