diff options
Diffstat (limited to 'scripts/mod/modpost.c')
-rw-r--r-- | scripts/mod/modpost.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c index 194e2c453609..97d2259ae999 100644 --- a/scripts/mod/modpost.c +++ b/scripts/mod/modpost.c | |||
@@ -1442,7 +1442,7 @@ static unsigned int *reloc_location(struct elf_info *elf, | |||
1442 | int section = shndx2secindex(sechdr->sh_info); | 1442 | int section = shndx2secindex(sechdr->sh_info); |
1443 | 1443 | ||
1444 | return (void *)elf->hdr + sechdrs[section].sh_offset + | 1444 | return (void *)elf->hdr + sechdrs[section].sh_offset + |
1445 | r->r_offset - sechdrs[section].sh_addr; | 1445 | r->r_offset; |
1446 | } | 1446 | } |
1447 | 1447 | ||
1448 | static int addend_386_rel(struct elf_info *elf, Elf_Shdr *sechdr, Elf_Rela *r) | 1448 | static int addend_386_rel(struct elf_info *elf, Elf_Shdr *sechdr, Elf_Rela *r) |