------- Additional Comments From stephane dot chauveau at philips dot com
2006-06-15 08:04 -------
Created an attachment (id=1093)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=1093&action=view)
elf file with address_size=4 and segment_size=4
In the two previous samples, I rely on the fact that only 24 of the 32 bits are
addressable. This is a limitation of the current implementation and not an
intrinsic property of the architecture itself.
In this sample ELF file, the segmented address is encoded in 8 bytes: 4 for the
address itself and 4 for the segment.
Readelf does not fail on that one but misinterpret the number of ranges:
# readelf --debug-dump=aranges a_4_4.elf
The section .debug_aranges contains:
Length: 84
Version: 2
Offset into .debug_info: 0
Pointer Size: 4
Segment Size: 4
Address Length
000b0000 1
00000002 1
00050000 1
00000009 1
00000200 0
00000014 0
00000214 0
00000218 0
--
http://sourceware.org/bugzilla/show_bug.cgi?id=2768
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
bug-binutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-binutils