qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v6 08/19] linux-user: Add gen-vdso tool


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH v6 08/19] linux-user: Add gen-vdso tool
Date: Tue, 3 Oct 2023 15:00:14 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.15.1

On 30/9/23 04:15, Richard Henderson wrote:
This tool will be used for post-processing the linked vdso image,
turning it into something that is easy to include into elfload.c.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
  linux-user/gen-vdso.c          | 223 ++++++++++++++++++++++++
  linux-user/gen-vdso-elfn.c.inc | 307 +++++++++++++++++++++++++++++++++
  linux-user/meson.build         |   6 +-
  3 files changed, 535 insertions(+), 1 deletion(-)
  create mode 100644 linux-user/gen-vdso.c
  create mode 100644 linux-user/gen-vdso-elfn.c.inc


+static void output_reloc(FILE *outf, void *buf, void *loc)
+{
+    fprintf(outf, "    0x%08lx,\n", (unsigned long)(loc - buf));

uintptr_t? Otherwise nice!

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>

+}





reply via email to

[Prev in Thread] Current Thread [Next in Thread]