Re: vDSO for ppc64 : Preliminary release #3

From: Benjamin Herrenschmidt
Date: Thu Sep 09 2004 - 07:41:24 EST



> > with some toolchain or ld.so magic or something). But the descriptors
> > are in the data section rather than the text, of course.
>
> None of the assembly routines seem to use toc register, so if the functions
> exported from the library have special calling conventions (glibc would use
> them from inline assembly wrappers anyway), you can get away without .opd.
> vDSO is not in global search scope anyway, so applications can't call
> symbols from it anyway unless doing lots of magic.

Ok. I'm linking to the vdso directly from test apps at the moment but
that will die as soon as glibc has been adapted. Just let me know what
you prefer. I can keep the descriptors as-is and glibc would take care
of offset'ing properly when calling them, or I could try to find some
way to export different symbols like Ulrich suggested... whatever you
prefer for the glibc side.

Ben.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/