Message ID | d4504edb68de142a6599562bd80e3a384747ee16.1270486025.git.rth@twiddle.net |
---|---|
State | New |
Headers | show |
diff --git a/linux-user/elfload.c b/linux-user/elfload.c index 962f9ba..5814702 100644 --- a/linux-user/elfload.c +++ b/linux-user/elfload.c @@ -778,7 +778,7 @@ static void elf_core_copy_regs(target_elf_gregset_t *regs, const CPUState *env) #define elf_check_arch(x) ( (x) == ELF_ARCH ) #define ELF_CLASS ELFCLASS64 -#define ELF_DATA ELFDATA2MSB +#define ELF_DATA ELFDATA2LSB #define ELF_ARCH EM_ALPHA static inline void init_thread(struct target_pt_regs *regs,
Alpha is little-endian on Linux. Signed-off-by: Richard Henderson <rth@twiddle.net> --- linux-user/elfload.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)