linux-user: Move elf parameters to sh4/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
b333696601
commit
ac2a6820bf
2 changed files with 3 additions and 7 deletions
|
|
@ -130,13 +130,6 @@ typedef abi_uint target_gid_t;
|
|||
#endif
|
||||
typedef abi_int target_pid_t;
|
||||
|
||||
#ifdef TARGET_SH4
|
||||
|
||||
#define ELF_CLASS ELFCLASS32
|
||||
#define ELF_ARCH EM_SH
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef TARGET_M68K
|
||||
|
||||
#define ELF_CLASS ELFCLASS32
|
||||
|
|
|
|||
|
|
@ -10,6 +10,9 @@
|
|||
|
||||
#include "target_ptrace.h"
|
||||
|
||||
#define ELF_CLASS ELFCLASS32
|
||||
#define ELF_ARCH EM_SH
|
||||
|
||||
#define HAVE_ELF_HWCAP 1
|
||||
#define HAVE_ELF_CORE_DUMP 1
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue