[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 0/2] linux-user: Load a vdso for x86_64
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH 0/2] linux-user: Load a vdso for x86_64 |
Date: |
Thu, 28 May 2020 15:20:16 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 |
On 5/28/20 12:32 PM, Laurent Vivier wrote:
> Le 28/05/2020 à 12:08, Peter Maydell a écrit :
>> On Tue, 19 May 2020 at 20:45, Richard Henderson
>> <richard.henderson@linaro.org> wrote:
>>> Makefile | 4 +-
>>> linux-user/elfload.c | 203 +++++++++++++++++++++++++++++++++++++-
>>> pc-bios/Makefile | 5 +
>>> pc-bios/vdso-linux-x64.S | 115 +++++++++++++++++++++
>>> pc-bios/vdso-linux-x64.ld | 81 +++++++++++++++
>>> pc-bios/vdso-linux-x64.so | Bin 0 -> 7500 bytes
>>
>> I'm not really a fan of binaries in source control :-(
>
> Can't we see that as a firmware or a ROM?
> It's only 7,4 KB and needs a cross-compilation env to be rebuilt.
>
> Do you have another solution?
There are only 13 asm instructions, the rest is ELF structure.
Maybe we can strip the linker version ELF sections. Taking out the
alignment gap, not much left.
Nonetheless it is certainly annoying to write that using a readable
scripting language when the linker already does the job, and the patch
is already written/tested.
>
> If you don't like this I can remove the series. Let me know.
>
> Thanks,
> Laurent
>
>