Thread (39 messages) 39 messages, 6 authors, 2014-06-20

Re: [RFC 0/2] __vdso_findsym

flat view

From: Rich Felker <dalias@libc.org>
Date: 2014-06-14 21:30:06
Also in: lkml

On Sat, Jun 14, 2014 at 11:16:42AM -0700, Andy Lutomirski wrote:
The idea is to add AT_VDSO_FINDSYM pointing at __vdso_findsym.  This
implements __vdso_findsym.

This would make it easier for runtimes that don't otherwise implement
ELF loaders to use the vdso.

Thoughts?

If people like the basic concept, I'll finish it, write up
documentation and a selftest.  If people don't like it, I'll drop it.
I like the idea. I don't think it's immediately useful, since
libraries wanting to use vdso will likely want to support older
kernels that don't yet have this, and thus need to include their own
vdso parsing code. However, if we could get this in now, it would be
very useful a few years down the line where optimizing for old kernels
is not an important goal. I'd certainly like to be able to drop the
ELF parsing code from musl to reduce static binary size. And I could
see other projects possibly using it just to avoid the issue of ever
adding ELF parsing code in the first place.

Rich
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help