patch-2_6_7-vs1_9_1_12
[linux-2.6.git] / scripts / modpost.c
index 5205c2b..662e75b 100644 (file)
@@ -267,6 +267,7 @@ parse_elf(struct elf_info *info, const char *filename)
        hdr->e_shoff    = TO_NATIVE(hdr->e_shoff);
        hdr->e_shstrndx = TO_NATIVE(hdr->e_shstrndx);
        hdr->e_shnum    = TO_NATIVE(hdr->e_shnum);
+       hdr->e_machine  = TO_NATIVE(hdr->e_machine);
        sechdrs = (void *)hdr + hdr->e_shoff;
        info->sechdrs = sechdrs;