[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 0/2] vdso for x86_64-linux-user
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH 0/2] vdso for x86_64-linux-user |
Date: |
Wed, 24 Jul 2013 17:39:57 +0100 |
On 24 July 2013 17:34, Richard Henderson <address@hidden> wrote:
> On 07/23/2013 11:15 AM, Peter Maydell wrote:
>> On 23 July 2013 21:27, Richard Henderson <address@hidden> wrote:
>>> 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.
>>
>> Do we really need to mess with building an x86 shared object
>> and pulling it in, rather than the kind of ad-hoc way we
>> handle the ARM commpage?
>
> Isn't the arm ad-hoc really the much larger and uglier hack?
Maaaybe, but it doesn't require a cross-compiler :-)
-- PMM