mirror of
https://github.com/qemu/qemu.git
synced 2026-05-20 23:27:10 +00:00
linux-user: Move get_elf_platform to arm/elfload.c
Move the aarch32 get_elf_platform to arm/elfload.c; pass in CPUState. Create a simple version in aarch64/elfload.c, which we must do at the same time because of the ifdef dependency between TARGET_AARCH64 and TARGET_ARM. Since all versions of get_elf_platform now have the same signature, remove the ifdef from the declaration in loader.h. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
@@ -105,8 +105,6 @@ abi_ulong get_elf_hwcap(CPUState *cs);
|
||||
abi_ulong get_elf_hwcap2(CPUState *cs);
|
||||
const char *elf_hwcap_str(uint32_t bit);
|
||||
const char *elf_hwcap2_str(uint32_t bit);
|
||||
#if defined(TARGET_I386)
|
||||
const char *get_elf_platform(CPUState *cs);
|
||||
#endif
|
||||
|
||||
#endif /* LINUX_USER_LOADER_H */
|
||||
|
||||
Reference in New Issue
Block a user