Bug 934924 - Check EI_ABIVERSION for jb4.2.2 build. r=jld

This commit is contained in:
Kai-Zhen Li 2013-11-06 10:08:42 +08:00
parent efc1ee9d35
commit 0f8fc0a9bf

View File

@ -524,7 +524,9 @@ EHTable::EHTable(const void *aELF, size_t aSize, const std::string &aName)
file.e_ident[EI_DATA] != hostEndian || file.e_ident[EI_DATA] != hostEndian ||
file.e_ident[EI_VERSION] != EV_CURRENT || file.e_ident[EI_VERSION] != EV_CURRENT ||
file.e_ident[EI_OSABI] != ELFOSABI_SYSV || file.e_ident[EI_OSABI] != ELFOSABI_SYSV ||
#ifdef EI_ABIVERSION
file.e_ident[EI_ABIVERSION] != 0 || file.e_ident[EI_ABIVERSION] != 0 ||
#endif
file.e_machine != EM_ARM || file.e_machine != EM_ARM ||
file.e_version != EV_CURRENT) file.e_version != EV_CURRENT)
// e_flags? // e_flags?