Add the matchtype of MIPS64 in ramdump_to_elf().

Signed-off-by: Youling Tang <[email protected]>
---
 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

--
Crash-utility mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/crash-utility

Reply via email to