mirror of
https://github.com/qemu/qemu.git
synced 2026-02-17 13:55:21 +00:00
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>
16 lines
447 B
C
16 lines
447 B
C
/*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation, or (at your option) any
|
|
* later version. See the COPYING file in the top-level directory.
|
|
*/
|
|
|
|
#ifndef ARM_TARGET_ELF_H
|
|
#define ARM_TARGET_ELF_H
|
|
|
|
#define HAVE_ELF_HWCAP 1
|
|
#define HAVE_ELF_HWCAP2 1
|
|
#define HAVE_ELF_PLATFORM 1
|
|
|
|
#endif
|