[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/2768] readelf and segmented addresses in DWARF2/3 aranges
From: |
stephane dot chauveau at philips dot com |
Subject: |
[Bug binutils/2768] readelf and segmented addresses in DWARF2/3 aranges |
Date: |
15 Jun 2006 08:04:17 -0000 |
------- 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/2768] New: readelf and segmented addresses in DWARF2/3 aranges, stephane dot chauveau at philips dot com, 2006/06/14
- [Bug binutils/2768] readelf and segmented addresses in DWARF2/3 aranges, nickc at redhat dot com, 2006/06/14
- [Bug binutils/2768] readelf and segmented addresses in DWARF2/3 aranges, stephane dot chauveau at philips dot com, 2006/06/15
- [Bug binutils/2768] readelf and segmented addresses in DWARF2/3 aranges, stephane dot chauveau at philips dot com, 2006/06/15
- [Bug binutils/2768] readelf and segmented addresses in DWARF2/3 aranges, stephane dot chauveau at philips dot com, 2006/06/15
- [Bug binutils/2768] readelf and segmented addresses in DWARF2/3 aranges,
stephane dot chauveau at philips dot com <=
- [Bug binutils/2768] readelf and segmented addresses in DWARF2/3 aranges, stephane dot chauveau at philips dot com, 2006/06/15
- [Bug binutils/2768] readelf and segmented addresses in DWARF2/3 aranges, stephane dot chauveau at philips dot com, 2006/06/15
- [Bug binutils/2768] readelf and segmented addresses in DWARF2/3 aranges, stephane dot chauveau at philips dot com, 2006/06/15
- [Bug binutils/2768] readelf and segmented addresses in DWARF2/3 aranges, nickc at redhat dot com, 2006/06/22
- [Bug binutils/2768] readelf and segmented addresses in DWARF2/3 aranges, nickc at redhat dot com, 2006/06/22
- [Bug binutils/2768] readelf and segmented addresses in DWARF2/3 aranges, nickc at redhat dot com, 2006/06/22
- [Bug binutils/2768] readelf and segmented addresses in DWARF2/3 aranges, stephane dot chauveau at philips dot com, 2006/06/28