diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2023-08-14 13:22:57 -0700 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2023-10-30 13:41:55 -0700 |
| commit | 00cc2934b2f02c469bd28cae0f1ac09e289a5ae9 (patch) | |
| tree | 4346b885d7ac31e8b90a5eb94a2a03dadd9371f0 /linux-user/elfload.c | |
| parent | 468c1bb5cac9fc91fb6e7d94d65a99810f1e029c (diff) | |
| download | focaccia-qemu-00cc2934b2f02c469bd28cae0f1ac09e289a5ae9.tar.gz focaccia-qemu-00cc2934b2f02c469bd28cae0f1ac09e289a5ae9.zip | |
linux-user/loongarch64: Add vdso
Requires a relatively recent binutils version in order to avoid spurious R_LARCH_NONE relocations. The presence of these relocs are diagnosed by our gen-vdso tool. Tested-by: Song Gao <gaosong@loongson.cn> Reviewed-by: Song Gao <gaosong@loongson.cn> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'linux-user/elfload.c')
| -rw-r--r-- | linux-user/elfload.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/linux-user/elfload.c b/linux-user/elfload.c index e2d90b84a9..4e6e0059e6 100644 --- a/linux-user/elfload.c +++ b/linux-user/elfload.c @@ -1197,6 +1197,8 @@ static void elf_core_copy_regs(target_elf_gregset_t *regs, const CPUPPCState *en #define elf_check_arch(x) ((x) == EM_LOONGARCH) +#define VDSO_HEADER "vdso.c.inc" + static inline void init_thread(struct target_pt_regs *regs, struct image_info *infop) { |