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 Wed, Jul 30, 2008 at 05:59:23PM +0930, Alan Modra wrote:
> I don't think either of these are bugs, but it is a little strange
> that we don't use the 64-bit offsets for 64-bit targets since that
> means we can't have a .debug_info section larger than 4G.
I am pretty sure that is deliberate. The 64-bit size is wasteful;
only rare cases need 64-bit offsets in debug info. I wouldn't be
opposed to an option, but I don't think it's a good idea to increase
the size of debug info so much (I'd guess 20-25% depending on what
offsets you're talking about changing).
--
Daniel Jacobowitz
CodeSourcery