aboutsummaryrefslogtreecommitdiff
path: root/bsd-user
diff options
context:
space:
mode:
authorLaurent Vivier <laurent@vivier.eu>2018-02-20 18:33:04 +0100
committerLaurent Vivier <laurent@vivier.eu>2018-02-25 17:27:41 +0100
commit542ca4349878a2ea3818aea5c448a6db567da3ae (patch)
treefb4408f35dce5576fe4e258db4535ab6f8653d1d /bsd-user
parent0a773d55ac76c5aa89ed9187a3bc5af8c5c2a6d0 (diff)
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: 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>
Diffstat (limited to 'bsd-user')
0 files changed, 0 insertions, 0 deletions