linux-user: Move CPU type name selection to a function
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: NRichard Henderson <richard.henderson@linaro.org> Signed-off-by: NLaurent Vivier <laurent@vivier.eu> Reviewed-by: NRichard Henderson <richard.henderson@linaro.org> Reviewed-by: NPhilippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20180220173307.25125-2-laurent@vivier.eu>
Showing
linux-user/aarch64/target_elf.h
0 → 100644
linux-user/alpha/target_elf.h
0 → 100644
linux-user/arm/target_elf.h
0 → 100644
linux-user/cris/target_elf.h
0 → 100644
linux-user/hppa/target_elf.h
0 → 100644
linux-user/i386/target_elf.h
0 → 100644
linux-user/m68k/target_elf.h
0 → 100644
linux-user/mips/target_elf.h
0 → 100644
linux-user/mips64/target_elf.h
0 → 100644
linux-user/nios2/target_elf.h
0 → 100644
linux-user/openrisc/target_elf.h
0 → 100644
linux-user/ppc/target_elf.h
0 → 100644
linux-user/s390x/target_elf.h
0 → 100644
linux-user/sh4/target_elf.h
0 → 100644
linux-user/sparc/target_elf.h
0 → 100644
linux-user/sparc64/target_elf.h
0 → 100644
linux-user/tilegx/target_elf.h
0 → 100644
linux-user/unicore32/target_elf.h
0 → 100644
linux-user/x86_64/target_elf.h
0 → 100644
想要评论请 注册 或 登录