bug-binutils
[Top][All Lists]
Advanced

[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 07:41:01 -0000

------- Additional Comments From stephane dot chauveau at philips dot com  
2006-06-15 07:41 -------
I am currently trying to implement DWARF2 support for our architectures so I can
only provide samples that show my current interpretation of the specs.  
More precisely, our architectures are not exactly segmented - at least not like
the x86 was. They are DSPs in which the PROGRAM memory is distinct from the DATA
memory. Some models also support two distinct DATA memories (typically named X
and Y) and a shared version (XY). To make things even more complex, parts of the
PROGRAM and DATA memories can be paged (i.e multiple versions selectable via a
control registers).
The addresses themselves are 16bit or 32bit. In DWARF1, we used to encode th
memory and page information in the unused bits of the 32bit addresses. In
DWARF2, we want to encode those information in the segment fields (e.g
AT_segment and AT_address_class).

I will provide samples for an architecture with the following characteristics:
  - an address is 32bit in which only 24bit are currently used. 
  - two memories PROGRAM & DATA encoded as segment numbers 0 and 1.
 

 




 

-- 


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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]