Move get_elf_platform to i386/elfload.c; pass in CPUState. Create a simple get_elf_platform for x86_64. Introduce HAVE_ELF_PLATFORM. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
14 lines
419 B
C
14 lines
419 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 X86_64_TARGET_ELF_H
|
|
#define X86_64_TARGET_ELF_H
|
|
|
|
#define HAVE_ELF_HWCAP 1
|
|
#define HAVE_ELF_PLATFORM 1
|
|
|
|
#endif
|