diff options
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/modpost.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/modpost.c b/scripts/modpost.c index 5205c2bf80cd..662e75b2f780 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; |
