How do I prevent ld from merging PT_LOAD segments?

Nick Clifton nickc@redhat.com
Fri Jul 11 14:17:00 GMT 2003


Hi Jeff,

> I've discovered that if I set the MAXPAGESIZE in the linker script
> to be the same as the alignment of the PT_LOAD segment everything
> seems to fall back into place.
>
> Now my question becomes why did the alignment change from 4k to 32k?

Unfortunately there does not appear to be a ChangeLog entry for the
switch from 4k to 32k.  Presumably 32k matches the page size on some
OS implentation for an OS that runs on the ARM.  arm-linux maybe ?

Cheers
        Nick
        



More information about the Binutils mailing list