bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: objdump on very large files


From: Alan Modra
Subject: Re: objdump on very large files
Date: Mon, 31 Jan 2011 14:31:00 +1030
User-agent: Mutt/1.5.20 (2009-06-14)

On Thu, Jan 27, 2011 at 03:48:47PM -0800, Michael Snyder wrote:
> The relevant printf is in objdump.c::dump_section_header, vis:
> 
>   printf ("  %08lx  2**%u", (unsigned long) section->filepos,
>           bfd_get_section_alignment (abfd, section));
> 
> 
> Is there a way to get the total file size here, and if it is greater
> than 4gig, to make this field wider?  I realize that it will then be
> greater than 80 chars...

Patches welcome..  Alternatively, build on a 64-bit host.

-- 
Alan Modra
Australia Development Lab, IBM



reply via email to

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