]> Git Repo - qemu.git/commit - linux-user/sparc/target_elf.h
linux-user: Move CPU type name selection to a function
authorLaurent Vivier <[email protected]>
Tue, 20 Feb 2018 17:33:04 +0000 (18:33 +0100)
committerLaurent Vivier <[email protected]>
Sun, 25 Feb 2018 16:27:41 +0000 (17:27 +0100)
commit542ca4349878a2ea3818aea5c448a6db567da3ae
treefb4408f35dce5576fe4e258db4535ab6f8653d1d
parent0a773d55ac76c5aa89ed9187a3bc5af8c5c2a6d0
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 <[email protected]>
Signed-off-by: Laurent Vivier <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-Id: <20180220173307[email protected]>
21 files changed:
linux-user/aarch64/target_elf.h [new file with mode: 0644]
linux-user/alpha/target_elf.h [new file with mode: 0644]
linux-user/arm/target_elf.h [new file with mode: 0644]
linux-user/cris/target_elf.h [new file with mode: 0644]
linux-user/hppa/target_elf.h [new file with mode: 0644]
linux-user/i386/target_elf.h [new file with mode: 0644]
linux-user/m68k/target_elf.h [new file with mode: 0644]
linux-user/main.c
linux-user/microblaze/target_elf.h [new file with mode: 0644]
linux-user/mips/target_elf.h [new file with mode: 0644]
linux-user/mips64/target_elf.h [new file with mode: 0644]
linux-user/nios2/target_elf.h [new file with mode: 0644]
linux-user/openrisc/target_elf.h [new file with mode: 0644]
linux-user/ppc/target_elf.h [new file with mode: 0644]
linux-user/s390x/target_elf.h [new file with mode: 0644]
linux-user/sh4/target_elf.h [new file with mode: 0644]
linux-user/sparc/target_elf.h [new file with mode: 0644]
linux-user/sparc64/target_elf.h [new file with mode: 0644]
linux-user/tilegx/target_elf.h [new file with mode: 0644]
linux-user/unicore32/target_elf.h [new file with mode: 0644]
linux-user/x86_64/target_elf.h [new file with mode: 0644]
This page took 0.025388 seconds and 4 git commands to generate.