mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-23 19:49:43 +00:00
linux-user: Fix ELF_PLATFORM for aarch64_be-linux-user
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Message-Id: <20190212074840.13542-3-richard.henderson@linaro.org> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
This commit is contained in:
parent
13ec4ec3e1
commit
e20e3ec928
@ -537,7 +537,11 @@ static const char *get_elf_platform(void)
|
||||
|
||||
#define ELF_ARCH EM_AARCH64
|
||||
#define ELF_CLASS ELFCLASS64
|
||||
#define ELF_PLATFORM "aarch64"
|
||||
#ifdef TARGET_WORDS_BIGENDIAN
|
||||
# define ELF_PLATFORM "aarch64_be"
|
||||
#else
|
||||
# define ELF_PLATFORM "aarch64"
|
||||
#endif
|
||||
|
||||
static inline void init_thread(struct target_pt_regs *regs,
|
||||
struct image_info *infop)
|
||||
|
Loading…
Reference in New Issue
Block a user