|
@@ -537,7 +537,11 @@ static const char *get_elf_platform(void)
|
|
|
|
|
|
#define ELF_ARCH EM_AARCH64
|
|
#define ELF_ARCH EM_AARCH64
|
|
#define ELF_CLASS ELFCLASS64
|
|
#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,
|
|
static inline void init_thread(struct target_pt_regs *regs,
|
|
struct image_info *infop)
|
|
struct image_info *infop)
|