From 16f04416175844507b20072c422d08286ebbced6 Mon Sep 17 00:00:00 2001 From: "Edgar E. Iglesias" Date: Mon, 24 May 2010 11:14:04 +0200 Subject: microblaze: Handle new elf mach nr for sysemu. Signed-off-by: Edgar E. Iglesias --- hw/elf_ops.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'hw/elf_ops.h') diff --git a/hw/elf_ops.h b/hw/elf_ops.h index 69c07571b6..27d1ab9bc2 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; -- cgit v1.2.1