From: Edgar E. Iglesias Date: Mon, 24 May 2010 09:14:04 +0000 (+0200) Subject: microblaze: Handle new elf mach nr for sysemu. X-Git-Tag: v0.13.0-rc0~441 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=16f04416175844507b20072c422d08286ebbced6;p=thirdparty%2Fqemu.git microblaze: Handle new elf mach nr for sysemu. Signed-off-by: Edgar E. Iglesias --- diff --git a/hw/elf_ops.h b/hw/elf_ops.h index 69c07571b60..27d1ab9bc21 100644 --- a/hw/elf_ops.h +++ b/hw/elf_ops.h @@ -216,6 +216,11 @@ static int glue(load_elf, SZ)(const char *name, int fd, if (EM_386 != ehdr.e_machine) goto fail; break; + case EM_MICROBLAZE: + if (EM_MICROBLAZE != ehdr.e_machine) + if (EM_MICROBLAZE_OLD != ehdr.e_machine) + goto fail; + break; default: if (elf_machine != ehdr.e_machine) goto fail;