mirror of https://gitee.com/openkylin/qemu.git
542ca43498
Instead of a sequence of "#if ... #endif" move the selection to a function in linux-user/*/target_elf.h We can't add them in linux-user/*/target_cpu.h because we will need to include "elf.h" to use ELF flags with eflags, and including "elf.h" in "target_cpu.h" introduces some conflicts in elfload.c Suggested-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Laurent Vivier <laurent@vivier.eu> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20180220173307.25125-2-laurent@vivier.eu> |
||
---|---|---|
.. | ||
nwfpe | ||
syscall_nr.h | ||
target_cpu.h | ||
target_elf.h | ||
target_signal.h | ||
target_structs.h | ||
target_syscall.h | ||
termbits.h |