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", (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...
Cheers,
Michael Snyder
_______________________________________________
bug-binutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-binutils