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]

Fw: ld's padding up with zeroes


----- Original Message -----
From: "Steffen Hierl" <Steffen.Hierl@web.de>
To: "Nick Clifton" <nickc@redhat.com>
Sent: Monday, September 11, 2006 4:51 PM
Subject: Re: ld's padding up with zeroes


> Dear Nick,
>
> Thank you for your hint. But -N doesn't work neither.
>
> So long,
>
> Steffen
>
> ----- Original Message -----
> From: "Nick Clifton" <nickc@redhat.com>
> To: "Steffen Hierl" <Steffen.Hierl@web.de>
> Cc: <binutils@sourceware.org>
> Sent: Monday, September 11, 2006 4:36 PM
> Subject: Re: ld's padding up with zeroes
>
>
> > Hi Steffen,
> >
> > > I have linked two short object files a.o and b.o into one binary
c.bin.
> > > The first part of c.bin consists of machine code. The second part of
> > > c.bin consists of zeroes.
> > >
> > > Apparantely, ld padds up the file c.bin with zeroes until it reaches
> > > 1024kbytes. Is there a switch to avoid this?
> >
> > This sounds like a pagesize problem.  Try linking with the -N switch.
> >
> > Cheers
> >    Nick
> >
> >
>


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