linux-user: Move elf parameters to microblaze/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:
Richard Henderson 2025-07-29 10:38:04 -10:00
parent c33d665297
commit db325955c7
2 changed files with 5 additions and 9 deletions

View file

@ -130,15 +130,6 @@ typedef abi_uint target_gid_t;
#endif
typedef abi_int target_pid_t;
#ifdef TARGET_MICROBLAZE
#define elf_check_arch(x) ( (x) == EM_MICROBLAZE || (x) == EM_MICROBLAZE_OLD)
#define ELF_CLASS ELFCLASS32
#define ELF_ARCH EM_MICROBLAZE
#endif /* TARGET_MICROBLAZE */
#ifdef TARGET_OPENRISC
#define ELF_ARCH EM_OPENRISC

View file

@ -10,6 +10,11 @@
#include "target_ptrace.h"
#define ELF_CLASS ELFCLASS32
#define ELF_ARCH EM_MICROBLAZE
#define elf_check_arch(x) ((x) == EM_MICROBLAZE || (x) == EM_MICROBLAZE_OLD)
#define HAVE_ELF_CORE_DUMP 1
/*