This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [RFC] ppc64 and calling conventions
- From: Ulrich Drepper <drepper at redhat dot com>
- To: Benjamin Herrenschmidt <benh at kernel dot crashing dot org>
- Cc: libc-alpha at sources dot redhat dot com, linuxppc64-dev <linuxppc64-dev at ozlabs dot org>
- Date: Wed, 10 Nov 2004 21:11:15 -0800
- Subject: Re: [RFC] ppc64 and calling conventions
- Organization: Red Hat, Inc.
- References: <1100143968.24782.15.camel@gaston>
-----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-----