Re: [PATCH v2 22/36] linux-user/i386: Add vdso and use it for sigreturn

2021-07-07 Thread Richard Henderson
On 7/6/21 4:49 PM, Richard Henderson wrote: + .cfi_startproc +__vdso_clock_gettime: + mov $__NR_clock_gettime, %eax + int $0x80 + ret Bah. Have to load the parameters from the stack for these functions. Not sure why this doesn't fail on ubuntu host, but it does

[PATCH v2 22/36] linux-user/i386: Add vdso and use it for sigreturn

2021-07-06 Thread Richard Henderson
Building the vdso itself is not actually wired up to anything, since we require a cross-compiler. Just check in that file for now. Signed-off-by: Richard Henderson --- linux-user/elfload.c | 16 +++- linux-user/i386/signal.c | 39 - linux-user/i386/Makefile.vdso | 5 ++