[PATCH] [POWERPC] Fix link errors for allyesconfig
David Miller
davem at davemloft.net
Sun Nov 4 14:47:08 EST 2007
From: Stephen Rothwell <sfr at canb.auug.org.au>
Date: Sun, 4 Nov 2007 13:28:39 +1100
> An allyesconfig build creates a .text section that is so big that the
> .text.init.refok and .fixup sections are too far away for the relocations
> to be fixed up correctly. This patch fixes that by linking all the
> relevent text sections for each file together.
>
> Suggested by Paul Mackerras.
>
> Signed-off-by: Stephen Rothwell <sfr at canb.auug.org.au>
> ---
> arch/powerpc/kernel/vmlinux.lds.S | 3 +--
> 1 files changed, 1 insertions(+), 2 deletions(-)
>
> This still leaves us with the problem that the TOC overflows.
>
> Dave, would something like this help as an alternative to the .fixup
> change you committed recently?
It might, I'll make some tests when I get a chance.
Thanks for pointing this out Stephen.
More information about the Linuxppc-dev
mailing list