[RFC] ppc64 and calling conventions
Benjamin Herrenschmidt
benh at kernel.crashing.org
Thu Nov 11 16:56:26 EST 2004
On Wed, 2004-11-10 at 21:11 -0800, Ulrich Drepper wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Benjamin Herrenschmidt wrote:
>
> > The current one still exports 'normal' function symbols, that is
> > procedure descriptors and "dot" symbols for the actual function.
>
> What dot symbols? They are dead. We don't have them anymore.
They are handy to get to the actual function with a debugger, we were
pretty unhappy in kernel-land to see them gone... but I can remove them.
> > Something that was proposed a while ago (by Ulrich I think) is that
> > instead, I could export simple non-descriptor symbols that point
> > directly to the code and link the whole thing at 0.
>
> Well, something like this. The vDSO must be freely relocatable without
> changes unless you forever want to have one address. ld.so won't
> perform any relocations. So, letting libc figure out the descriptors is
> possible, just provide symbol offsets.
Yah, I prefer that solution too.
Ben.
More information about the Linuxppc64-dev
mailing list