From: Richard Henderson <rth@twiddle.net>
To: qemu-devel@nongnu.org
Cc: riku.voipio@iki.fi
Subject: [Qemu-devel] [PATCH 0/2] vdso for x86_64-linux-user
Date: Tue, 23 Jul 2013 12:27:52 -0800 [thread overview]
Message-ID: <1374611274-19493-1-git-send-email-rth@twiddle.net> (raw)
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
next reply other threads:[~2013-07-23 20:28 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-23 20:27 Richard Henderson [this message]
2013-07-23 20:27 ` [Qemu-devel] [PATCH 1/2] linux-user: Build vdso for x64 Richard Henderson
2013-07-23 20:27 ` [Qemu-devel] [PATCH 2/2] linux-user: Load a VDSO for x86-64 Richard Henderson
2013-07-23 21:15 ` [Qemu-devel] [PATCH 0/2] vdso for x86_64-linux-user Peter Maydell
2013-07-24 16:34 ` Richard Henderson
2013-07-24 16:39 ` Peter Maydell
2013-07-24 17:37 ` Richard Henderson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1374611274-19493-1-git-send-email-rth@twiddle.net \
--to=rth@twiddle.net \
--cc=qemu-devel@nongnu.org \
--cc=riku.voipio@iki.fi \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).