git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This commit was manufactured by cvs2svn to create tag
[linux-2.6.git]
/
arch
/
alpha
/
kernel
/
module.c
diff --git
a/arch/alpha/kernel/module.c
b/arch/alpha/kernel/module.c
index
db7a877
..
fc271e3
100644
(file)
--- a/
arch/alpha/kernel/module.c
+++ b/
arch/alpha/kernel/module.c
@@
-234,6
+234,10
@@
apply_relocate_add(Elf64_Shdr *sechdrs, const char *strtab,
value was resolved from somewhere else. */
if (sym->st_shndx == SHN_UNDEF)
goto reloc_overflow;
value was resolved from somewhere else. */
if (sym->st_shndx == SHN_UNDEF)
goto reloc_overflow;
+ if ((sym->st_other & STO_ALPHA_STD_GPLOAD) ==
+ STO_ALPHA_STD_GPLOAD)
+ /* Omit the prologue. */
+ value += 8;
/* FALLTHRU */
case R_ALPHA_BRADDR:
value -= (u64)location + 4;
/* FALLTHRU */
case R_ALPHA_BRADDR:
value -= (u64)location + 4;