powerpc: Fix up TOC. for modules.
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 18 Mar 2014 09:29:26 +0000 (19:59 +1030)
committerAnton Blanchard <anton@samba.org>
Wed, 23 Apr 2014 00:05:29 +0000 (10:05 +1000)
commit4edebbeae3085e71f75584b6582495459e2e6cb2
treebd272a73d1150e63bf3a1e86489f81d267dabbc7
parent71ec7c55ed91e2352c00d51d171fccaa7cef5a00
powerpc: Fix up TOC. for modules.

The kernel resolved the '.TOC.' to a fake symbol, so we need to fix it up
to point to our .toc section plus 0x8000.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
arch/powerpc/include/asm/module.h
arch/powerpc/kernel/module_64.c