From 1233226fde7a3ba345ced656625295049a1488ca Mon Sep 17 00:00:00 2001 From: Olof Johansson Date: Fri, 10 Dec 2010 02:09:23 -0600 Subject: [PATCH] --- yaml --- r: 227651 b: refs/heads/master c: 731ece41fb1047816303295a0cdfed90a528137e h: refs/heads/master i: 227649: 294237e9340707d4aa88ab75448002b96bc38a67 227647: 0ad273217df7a4b763f01d14028ea402859b8044 v: v3 --- [refs] | 2 +- trunk/scripts/mod/modpost.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index f69a8b39e27b..39a1dac8bb23 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: a3ba81131aca243bfecfa78c42edec0cd69f72d6 +refs/heads/master: 731ece41fb1047816303295a0cdfed90a528137e diff --git a/trunk/scripts/mod/modpost.c b/trunk/scripts/mod/modpost.c index 194e2c453609..97d2259ae999 100644 --- a/trunk/scripts/mod/modpost.c +++ b/trunk/scripts/mod/modpost.c @@ -1442,7 +1442,7 @@ static unsigned int *reloc_location(struct elf_info *elf, int section = shndx2secindex(sechdr->sh_info); return (void *)elf->hdr + sechdrs[section].sh_offset + - r->r_offset - sechdrs[section].sh_addr; + r->r_offset; } static int addend_386_rel(struct elf_info *elf, Elf_Shdr *sechdr, Elf_Rela *r)