mirror of https://github.com/xqemu/xqemu.git
microblaze: Handle new elf mach nr for sysemu.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
This commit is contained in:
parent
259d5577ae
commit
16f0441617
|
@ -216,6 +216,11 @@ static int glue(load_elf, SZ)(const char *name, int fd,
|
||||||
if (EM_386 != ehdr.e_machine)
|
if (EM_386 != ehdr.e_machine)
|
||||||
goto fail;
|
goto fail;
|
||||||
break;
|
break;
|
||||||
|
case EM_MICROBLAZE:
|
||||||
|
if (EM_MICROBLAZE != ehdr.e_machine)
|
||||||
|
if (EM_MICROBLAZE_OLD != ehdr.e_machine)
|
||||||
|
goto fail;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
if (elf_machine != ehdr.e_machine)
|
if (elf_machine != ehdr.e_machine)
|
||||||
goto fail;
|
goto fail;
|
||||||
|
|
Loading…
Reference in New Issue