Changed shared library loading strategy on PPC, why?

Geoff Keating geoffk@geoffk.org
Mon Jun 18 11:07:00 GMT 2001


> 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>



More information about the Libc-alpha mailing list