This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: RFC: Change in dwarf2dbg using sizeof_offset
On Thu, Jul 31, 2008 at 09:06:39AM +0930, Alan Modra wrote:
> The .debug_aranges change will increase its size by 12 bytes per
> compilation unti. The .debug_info change increases its size by 4
> bytes per compilation unit. I don't see this as a big deal.
>
> We aren't talking about changing anything to do with target
> addresses/offsets. They are already 64-bit for a 64-bit target even
> in the current 32-bit dwarf .debug_aranges.
Oh, I see. That sounds fine if we're only talking about aranges. You
confused me by saying "means we can't have a .debug_info section
larger than 4G" - that offset's the one that takes up a lot of space.
I'm not sure I see the value in doing this for non-Windows; a 4GB
.debug_aranges would be very peculiar (and require a more than 32GB
code segment most likely).
--
Daniel Jacobowitz
CodeSourcery