[PATCH] [POWERPC] Fix bootwrapper builds with newer gcc versions

David Miller davem at davemloft.net
Sat May 3 09:38:55 EST 2008


From: Benjamin Herrenschmidt <benh at kernel.crashing.org>
Date: Sat, 03 May 2008 09:27:55 +1000

> That is, it would be fairly non-sensical for module code to go through
> the trampoline to call those stubs in the kernel (and having to
> EXPORT_SYMBOL them).

Oh, I forgot about how far function calls are done on powerpc.
Yes, that will suck.

Is there some way to map all of the modules in the low 32-bits and
thus aovid the trampolines?  The powerpc call instruction can cover
4GB like on sparc right?

Actually, I remember there is some linkage register that has
to be setup on powerpc with the code model you guys use, is
that the problem?




More information about the Linuxppc-dev mailing list