This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: ppc64 vDSO in mainline
- From: Roland McGrath <roland at redhat dot com>
- To: Benjamin Herrenschmidt <benh at kernel dot crashing dot org>
- Cc: Steve Munroe <sjmunroe at us dot ibm dot com>,Alan Modra <amodra at bigpond dot net dot au>, libc-alpha at sources dot redhat dot com
- Date: Wed, 23 Mar 2005 20:25:44 -0800
- Subject: Re: ppc64 vDSO in mainline
> > But if the descriptors are going to be synthesized by the dynamic linker
> > anyway, then it is indeed quite simple to make them with whatever address
> > you like.
>
> Yes, though where does the dynamic linker itself will find this value ?
> another AT_* entry ?
It's not some random other address you want to get at, it's part of the
contiguous vDSO image, right? So there are all sorts of things you can
decide are the address, that are readily at hand in the dynamic linker.
> Also, that would be different between 32 and 64 bits vDSO which I'm
> trying to keep as much in sync as possible... but that isn't that much
> of a problem.
Those machines have very different ABIs (i.e. function descriptors).
That's just a fact that means things will be different.