X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=scripts%2Fmodpost.c;h=662e75b2f780bb3928c7836eb53c6416ea3d308f;hb=6c6294c4656749c1eeed12df7ae48e2bf5a394b3;hp=5205c2bf80cd1fbb3e6c0d14e6808d5568faebed;hpb=5273a3df6485dc2ad6aa7ddd441b9a21970f003b;p=linux-2.6.git diff --git a/scripts/modpost.c b/scripts/modpost.c index 5205c2bf8..662e75b2f 100644 --- a/scripts/modpost.c +++ b/scripts/modpost.c @@ -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;