Skip to content

vdso for x86_64-linux-user

Richard Henderson qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2linux-user: Build vdso for x64.Makefile pc-bios/Makefile pc-bios/vdso-linux-x64.S +2 more+186 -10 replies
2/2linux-user: Load a VDSO for x86-64.linux-user/elfload.c+190 -70 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/2] vdso for x86_64-linux-user

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
Signature · 1 line
1.8.3.1