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


Reply via email to