-----Original Message-----
Add the matchtype of MIPS64 in ramdump_to_elf().
Signed-off-by: Youling Tang <tangyouling(a)loongson.cn>
Acked-by: Kazuhito Hagio <k-hagio-ab(a)nec.com>
Thanks,
Kazu
---
ramdump.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ramdump.c b/ramdump.c
index 4c4a920..a206fcb 100644
--- a/ramdump.c
+++ b/ramdump.c
@@ -184,7 +184,7 @@ char *ramdump_to_elf(void)
e_machine = EM_ARM;
else if (machine_type("ARM64"))
e_machine = EM_AARCH64;
- else if (machine_type("MIPS"))
+ else if (machine_type("MIPS") || machine_type("MIPS64"))
e_machine = EM_MIPS;
else if (machine_type("X86_64"))
e_machine = EM_X86_64;
--
2.1.0