From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sunset.davemloft.net (unknown [74.93.104.97]) by ozlabs.org (Postfix) with ESMTP id 1FF15DDEE4 for ; Sun, 4 Nov 2007 14:47:10 +1100 (EST) Date: Sat, 03 Nov 2007 20:47:08 -0700 (PDT) Message-Id: <20071103.204708.53698457.davem@davemloft.net> To: sfr@canb.auug.org.au Subject: Re: [PATCH] [POWERPC] Fix link errors for allyesconfig From: David Miller In-Reply-To: <20071104132839.ea04cf6b.sfr@canb.auug.org.au> References: <20071104132839.ea04cf6b.sfr@canb.auug.org.au> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Cc: linuxppc-dev@ozlabs.org, paulus@samba.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Stephen Rothwell 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 > --- > 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.