Problem with AMD64 ld with linker script

H. J. Lu hjl@lucon.org
Fri Oct 6 19:37:00 GMT 2006


On Fri, Oct 06, 2006 at 07:58:16PM +0200, Peter Bindels wrote:
> >
> >You can use
> >
> >  -z max-page-size=SIZE Set maximum page size to SIZE
> >
> >to change the maximum page size with the new linker.
> 
> This gave me hope for not getting the crushed binary that -N gives me.
> However, using -z max-page-size=4096 gives me a 3MB binary again,
> seems not to do anything.
> 

Please make sure that your linker supports -z max-page-size. You can
use

# ld --help

to verify.


H.J.



More information about the Binutils mailing list