Re: x86_64: vsyscall vs vdso

From: Francis Moreau
Date: Mon Sep 17 2007 - 16:32:15 EST


On 9/16/07, Ulrich Drepper <drepper@xxxxxxxxx> wrote:
> On 9/16/07, Francis Moreau <francis.moro@xxxxxxxxx> wrote:
> > Another question: is vdso going to replace vsyscall at all ? If so how

It's weird, because it seems that vsyscalls are only done by x86_64,
all others archs have only vdso... so they seem to forget about
statically linked apps...

> > are statically programs going to be handled ?
>
> Unfortunately the vsyscalls cannot ever go completely away.
> Statically linked apps, the bane of progress, will need them.

Actually if we could easily retrieve the vdso in a process memory
mapping (through a new syscall or /proc/self/maps), it should be easy
for gcc/ld to statically links vdso functions into a statically linked
app, shouldn't it ?

--
Francis
-
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/