[PATCH 3/3] MIPS64: Add support for ramdump type

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Add the matchtype of MIPS64 in ramdump_to_elf().

Signed-off-by: Youling Tang <tangyouling@xxxxxxxxxxx>
---
 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
Crash-utility@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/crash-utility




[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux