This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


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

Re: Changed shared library loading strategy on PPC, why?



> From: Andreas Jaeger <aj@suse.de>
> Date: 18 Jun 2001 10:29:36 +0200

> > On PPC before the change the address scheme was like that:
> > 
> > executable at 0x10000000
> > shared lib first load below that, and if that space runs out, loading
> > continues below 0x70000000.
> > 
> > 
> > Now, it seems that loading starts immediately below 0x70000000,
> > leaving the space with optimal relocations below 0x10000000 unused.
> 
> Are you sure that this is not a "feature" of a new kernel?  The kernel
> allocates the mmaped areas for glibc.

glibc controls the areas, at least with a preference, through the
ELF_PREFERRED_ADDRESS macro.

-- 
- Geoffrey Keating <geoffk@geoffk.org>


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