This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem with AMD64 ld with linker script


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]