fix linux-user microblaze ELF_ARCH definition
authorMike Frysinger <vapier@gentoo.org>
Sun, 17 Jan 2010 06:15:05 +0000 (01:15 -0500)
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>
Sun, 17 Jan 2010 08:51:03 +0000 (09:51 +0100)
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
linux-user/elfload.c

index b90604b..1d5f651 100644 (file)
@@ -652,7 +652,7 @@ static void elf_core_copy_regs(target_elf_gregset_t *regs, const CPUState *env)
 
 #define ELF_CLASS   ELFCLASS32
 #define ELF_DATA       ELFDATA2MSB
-#define ELF_ARCH    EM_MIPS
+#define ELF_ARCH    EM_XILINX_MICROBLAZE
 
 static inline void init_thread(struct target_pt_regs *regs, struct image_info *infop)
 {