This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC] ppc64 and calling conventions


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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]