projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild
[linux-2.6-microblaze.git]
/
arch
/
powerpc
/
kernel
/
module_64.c
diff --git
a/arch/powerpc/kernel/module_64.c
b/arch/powerpc/kernel/module_64.c
index
183368e
..
bb18071
100644
(file)
--- a/
arch/powerpc/kernel/module_64.c
+++ b/
arch/powerpc/kernel/module_64.c
@@
-652,6
+652,11
@@
int apply_relocate_add(Elf64_Shdr *sechdrs,
*location = value - (unsigned long)location;
break;
*location = value - (unsigned long)location;
break;
+ case R_PPC64_REL32:
+ /* 32 bits relative (used by relative exception tables) */
+ *(u32 *)location = value - (unsigned long)location;
+ break;
+
case R_PPC64_TOCSAVE:
/*
* Marker reloc indicates we don't have to save r2.
case R_PPC64_TOCSAVE:
/*
* Marker reloc indicates we don't have to save r2.