summary refs log tree commit diff stats
path: root/linux-user/mips64/target_elf.h
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2025-07-28 09:24:31 -1000
committerRichard Henderson <richard.henderson@linaro.org>2025-08-28 06:39:25 +1000
commitf8498e084eaa7f78d455d5f2f7a308a4d0d5f39b (patch)
treeebb027551a45095cb127f79d60859628a5c5513c /linux-user/mips64/target_elf.h
parentf10c3d90849da63916905f7bd155d5737aa4378f (diff)
downloadfocaccia-qemu-f8498e084eaa7f78d455d5f2f7a308a4d0d5f39b.tar.gz
focaccia-qemu-f8498e084eaa7f78d455d5f2f7a308a4d0d5f39b.zip
linux-user: Move get_elf_base_platform to mips/elfload.c
Pass in CPUState; define HAVE_ELF_BASE_PLATFORM.
Since this was the only instance of ELF_BASE_PLATFORM, go ahead and
provide the stub definition for other platforms.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'linux-user/mips64/target_elf.h')
-rw-r--r--linux-user/mips64/target_elf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-user/mips64/target_elf.h b/linux-user/mips64/target_elf.h
index c0347e5cb6..24bb7fcd3f 100644
--- a/linux-user/mips64/target_elf.h
+++ b/linux-user/mips64/target_elf.h
@@ -9,5 +9,6 @@
 #define MIPS64_TARGET_ELF_H
 
 #define HAVE_ELF_HWCAP          1
+#define HAVE_ELF_BASE_PLATFORM  1
 
 #endif