Fix for the "extend" command when running with an x86_64 crash binary

that was built with "make target=ARM64" in order to analyze ARM64
dumpfiles on an x86_64 host.  Without the patch, if the extend
command is used with an extension module built in the same manner,
it fails with the message "extend: <module>.so: not an ELF format
object file".
(Jan.Karlsson@sonymobile.com)
This commit is contained in:
Dave Anderson 2014-06-05 09:19:29 -04:00
parent d25e4c9e7f
commit 843ac0e0a6

View File

@ -3488,7 +3488,7 @@ is_shared_object(char *file)
break;
case EM_X86_64:
if (machine_type("X86_64"))
if (machine_type("X86_64") || machine_type("ARM64"))
return TRUE;
break;