From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33137) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V1jBj-0007iw-5Y for qemu-devel@nongnu.org; Tue, 23 Jul 2013 16:28:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V1jBg-0005CH-71 for qemu-devel@nongnu.org; Tue, 23 Jul 2013 16:28:03 -0400 Received: from mail-pb0-x232.google.com ([2607:f8b0:400e:c01::232]:43772) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V1jBg-0005C6-0w for qemu-devel@nongnu.org; Tue, 23 Jul 2013 16:28:00 -0400 Received: by mail-pb0-f50.google.com with SMTP id wz7so8891968pbc.9 for ; Tue, 23 Jul 2013 13:27:58 -0700 (PDT) Sender: Richard Henderson From: Richard Henderson Date: Tue, 23 Jul 2013 12:27:52 -0800 Message-Id: <1374611274-19493-1-git-send-email-rth@twiddle.net> Subject: [Qemu-devel] [PATCH 0/2] vdso for x86_64-linux-user List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: riku.voipio@iki.fi This is a refresh of a patch I wrote in 2010, and have re-posted every 6 months thereafter. To my knowledge, it has never been reviewed. It supplies a replacement for the required x86-64 vdso. Anyone trying to emulate x86_64-linux on a host other than same will quickly run into the lack of a gettimeofday syscall, which glibc assumes is always provided by the vdso. r~ Richard Henderson (2): linux-user: Build vdso for x64. linux-user: Load a VDSO for x86-64. Makefile | 3 +- linux-user/elfload.c | 197 ++++++++++++++++++++++++++++++++++++++++++++-- pc-bios/Makefile | 5 ++ pc-bios/vdso-linux-x64.S | 100 +++++++++++++++++++++++ pc-bios/vdso-linux-x64.ld | 79 +++++++++++++++++++ pc-bios/vdso-linux-x64.so | Bin 0 -> 7419 bytes 6 files changed, 376 insertions(+), 8 deletions(-) create mode 100644 pc-bios/vdso-linux-x64.S create mode 100644 pc-bios/vdso-linux-x64.ld create mode 100755 pc-bios/vdso-linux-x64.so -- 1.8.3.1