linux-user: Move elf parameters to s390x/target_elf.h
Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
39955adeb2
commit
2fed144511
2 changed files with 4 additions and 9 deletions
|
|
@ -130,15 +130,6 @@ typedef abi_uint target_gid_t;
|
|||
#endif
|
||||
typedef abi_int target_pid_t;
|
||||
|
||||
#ifdef TARGET_S390X
|
||||
|
||||
#define ELF_CLASS ELFCLASS64
|
||||
#define ELF_ARCH EM_S390
|
||||
|
||||
#define VDSO_HEADER "vdso.c.inc"
|
||||
|
||||
#endif /* TARGET_S390X */
|
||||
|
||||
#ifdef TARGET_RISCV
|
||||
|
||||
#define ELF_ARCH EM_RISCV
|
||||
|
|
|
|||
|
|
@ -10,6 +10,10 @@
|
|||
|
||||
#include "target_ptrace.h"
|
||||
|
||||
#define ELF_CLASS ELFCLASS64
|
||||
#define ELF_ARCH EM_S390
|
||||
#define VDSO_HEADER "vdso.c.inc"
|
||||
|
||||
#define HAVE_ELF_HWCAP 1
|
||||
#define HAVE_ELF_CORE_DUMP 1
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue