projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
259d557
)
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 69c07571b6077f829410adf41a7a2d9194330434..27d1ab9bc21a5543ff64cc436fa1228d2088ee20 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;