Re: [PATCH] powerpc/le: Avoid creatng R_PPC64_TOCSAVE relocations for modules.

2014-04-06 Thread Anton Blanchard
Hi Tony, > When building modules with a native le toolchain the linker will > generate R_PPC64_TOCSAVE relocations when it's safe to omit saving r2 > on a plt call. This isn't helpful in the conext of a kernel module > and the kernel will fail to load those modules with an error like: > nf

[PATCH] powerpc/le: Avoid creatng R_PPC64_TOCSAVE relocations for modules.

2014-03-11 Thread Tony Breeds
When building modules with a native le toolchain the linker will generate R_PPC64_TOCSAVE relocations when it's safe to omit saving r2 on a plt call. This isn't helpful in the conext of a kernel module and the kernel will fail to load those modules with an error like: nf_conntrack: Unknown