projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c03d35d
)
microblaze: Handle new elf mach nr for sysemu.
author
Edgar E. Iglesias
<edgar.iglesias@gmail.com>
Mon, 24 May 2010 09:14:04 +0000
(11:14 +0200)
committer
Edgar E. Iglesias
<edgar.iglesias@gmail.com>
Mon, 24 May 2010 09:14:04 +0000
(11:14 +0200)
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
hw/elf_ops.h
patch
|
blob
|
history
diff --git
a/hw/elf_ops.h
b/hw/elf_ops.h
index
69c0757
..
27d1ab9
100644
(file)
--- 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;