Message ID | b4032ebd7dbfdc38430878c557c9c83c9f4ec2d0.1402317549.git.riku.voipio@linaro.org |
---|---|
State | New |
Headers | show |
diff --git a/linux-user/elfload.c b/linux-user/elfload.c index 03a8719..b405b7f 100644 --- a/linux-user/elfload.c +++ b/linux-user/elfload.c @@ -1272,7 +1272,6 @@ static bool elf_check_ehdr(struct elfhdr *ehdr) return (elf_check_arch(ehdr->e_machine) && ehdr->e_ehsize == sizeof(struct elfhdr) && ehdr->e_phentsize == sizeof(struct elf_phdr) - && ehdr->e_shentsize == sizeof(struct elf_shdr) && (ehdr->e_type == ET_EXEC || ehdr->e_type == ET_DYN)); }