[LibOS] Replace EM_X86_64 with SHIM_ELF_HOST_MACHINE

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
This commit is contained in:
Stefan Berger
2021-02-18 13:39:42 -05:00
committed by Borys Popławski
parent 347cdab962
commit fb42d39c94

View File

@@ -575,7 +575,7 @@ static int __check_elf_header(void* fbp, size_t len) {
}
/* Now we check if the host match the elf machine profile */
if (ehdr->e_machine != EM_X86_64) {
if (ehdr->e_machine != SHIM_ELF_HOST_MACHINE) {
errstring = "ELF file does not match with the host";
goto verify_failed;
}