[RFC] ppc64 and calling conventions

Ulrich Drepper drepper at redhat.com
Thu Nov 11 16:11:15 EST 2004


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


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

- --
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFBkvRz2ijCOnn/RHQRAvNXAKCWp0ZxnaTkvsuErzMMWVOJXUREPQCfXH8I
GNWpu4CvP6GCX4BXN4N0OeQ=
=D665
-----END PGP SIGNATURE-----



More information about the Linuxppc64-dev mailing list