This is the mail archive of the binutils@sources.redhat.com 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]

Re: Fix for emulparms/elf


"H . J . Lu" <hjl@lucon.org> writes:

> On Mon, Apr 30, 2001 at 11:37:08AM +0200, Andreas Jaeger wrote:
> > 
> > I've committed the appended patch to synch the bfd and ld files.
> > 
> > Andreas
> > 
> > 2001-04-30  Andreas Jaeger  <aj@suse.de>
> > 
> > 	* emulparms/elf_x86_64.sh (MAXPAGESIZE): Fix value.
> > 
> > 
> > ============================================================
> > Index: ld/emulparams/elf_x86_64.sh
> > --- ld/emulparams/elf_x86_64.sh	2000/11/30 19:30:33	1.1
> > +++ ld/emulparams/elf_x86_64.sh	2001/04/30 09:35:52
> > @@ -2,7 +2,7 @@
> >  ELFSIZE=64
> >  OUTPUT_FORMAT="elf64-x86-64"
> >  TEXT_START_ADDR=0x1000
> > -MAXPAGESIZE=0x1000
> > +MAXPAGESIZE=0x100000
> >  NONPAGED_TEXT_START_ADDR=0x1000
> >  ARCH=i386
> >  MACHINE=
> > 
> 
> It looks very strang to me. It seems that TEXT_START_ADDR and
> NONPAGED_TEXT_START_ADDR may be to set to non-page boundary.

I'll change this soon to an address that's greater than MAXPAGESIZE.
AFAIK it can be on a non-page boundary, compare e.g. armnbsd.sh.

What's a good value for the TEXT_START_ADDR constants?  What should I
consider in setting the value?

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


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