Remove the check for arch type x86_64 in ELF parsing. Enables TLS test on ARM.
@@ -135,8 +135,7 @@ getElf(char *path)
if((elf->e_ident[EI_MAG0] != 0x7f) ||
strncmp((char *)&elf->e_ident[EI_MAG1], "ELF", 3) ||
(elf->e_ident[EI_CLASS] != ELFCLASS64) ||
- (elf->e_ident[EI_DATA] != ELFDATA2LSB) ||
- (elf->e_machine != EM_X86_64)) {
+ (elf->e_ident[EI_DATA] != ELFDATA2LSB)) {
scopeLog(CFG_LOG_ERROR, "fd:%d %s:%d ERROR: %s is not a viable ELF file\n",
fd, __FUNCTION__, __LINE__, path);
goto out;
