This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: Changed shared library loading strategy on PPC, why?
- To: aj at suse dot de
- Subject: Re: Changed shared library loading strategy on PPC, why?
- From: Geoff Keating <geoffk at geoffk dot org>
- Date: Mon, 18 Jun 2001 11:23:34 -0700
- CC: Franz dot Sirl-kernel at lauterbach dot com, libc-alpha at sources dot redhat dot com
- References: <5.1.0.14.2.20010618101149.0368aec8@mail.lauterbach.com> <hon1762ntb.fsf@gee.suse.de>
- Reply-to: Geoff Keating <geoffk at redhat dot com>
> 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>