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: Franz Sirl <Franz dot Sirl-kernel at lauterbach dot com>
- Subject: Re: Changed shared library loading strategy on PPC, why?
- From: Andreas Jaeger <aj at suse dot de>
- Date: 18 Jun 2001 10:29:36 +0200
- Cc: libc-alpha at sources dot redhat dot com
- References: <5.1.0.14.2.20010618101149.0368aec8@mail.lauterbach.com>
Franz Sirl <Franz.Sirl-kernel@lauterbach.com> writes:
> Hi,
>
> it seems someone changed the library loading strategy on PPC, which
> certainly has a performance impact. So I would like to know why this
> had been done and if it was done on purpose at all.
>
>
> 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.
Andreas
>
> This behavior wasn't there on May 5, so this must be a recent change
> triggering this, but I didn't see something obvious in the ChangeLogs.
>
>
> Franz.
>
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj