Re: objdump on very large files

2011-01-30 Thread Alan Modra
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 si

objdump on very large files

2011-01-28 Thread Michael Snyder
Hi, I have encountered a problem with objdump on elf files of greater than 4 gigabytes size. In an elf header dump (objdump -h), only 8 chars are allowed for the file offset field, and this will overflow. The relevant printf is in objdump.c::dump_section_header, vis: printf (" %08lx 2**%u