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: ppc64 vDSO in mainline


On Tue, Mar 29, 2005 at 09:00:18AM -0600, Steve Munroe wrote:
> Alan Modra <amodra@bigpond.net.au> wrote on 03/28/2005 06:46:12 PM:
> 
> > On Sat, Mar 26, 2005 at 10:13:58AM +1100, Benjamin Herrenschmidt wrote:
> > [About function pointers]
> > > But ppc64 will always load pointers from OPDs no ?
> > 
> > Yes.  This is why glibc/VDSO must provide relocated OPD entries if
> > VDSO function symbols are to directly resolve references in a user app,
> > ie. so that calls can be made without bouncing through some glibc stub
> > code.  Calls via a function pointer don't go through the PLT.
> > 
> But inter-library bindings do (use the PLT) and this is what I am trying 
> to enable.

Not for loading function pointers.  Please try compiling a testcase
before (seemingly) contradicting me.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


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