On Sunday 15 April 2007 16:03, Blue Swirl wrote:
> On 4/15/07, Stefan Weil <[EMAIL PROTECTED]> wrote:
> > The Sparc64 image is much larger than the Sparc32 image,
> > but the size command displays a much smaller text and data size
> > (about the same size as for the Sparc32 image).
> >
> > Maybe it contains some unneeded parts?
>
> Thanks for the report. There is indeed a whole lot of unused space
> between ELF header and start of .text segment.
>
> But I don't see what in the ldscript (attached) causes the gap to
> appear. Suggestions?

Probably the linker is making sure the file offset and VMA are the same modulo 
the page size.

For our purposes we don't care about this. On an OS with virtual memory this 
means the image can be mmapped drectly into memory.

Paul


Reply via email to