From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org (ozlabs.org [203.10.76.45]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mx.ozlabs.org", Issuer "CA Cert Signing Authority" (verified OK)) by bilbo.ozlabs.org (Postfix) with ESMTPS id B236BB7069 for ; Thu, 9 Jul 2009 13:55:16 +1000 (EST) Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id C6212DDDE7 for ; Thu, 9 Jul 2009 13:55:15 +1000 (EST) Message-Id: From: Kumar Gala To: Kumar Gala In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Mime-Version: 1.0 (Apple Message framework v935.3) Subject: Re: binutils 2.19 issue with kernel link Date: Wed, 8 Jul 2009 22:52:59 -0500 References: <09159ADA-39F9-419E-AE46-4CFAE612AFB9@kernel.crashing.org> <20090708233954.GA3181@bubble.grove.modra.org> Cc: Scott Wood , "linuxppc-dev@ozlabs.org list" , Edmar Wienskoski-RA8797 , Alan Modra , bug-binutils@gnu.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Jul 8, 2009, at 10:39 PM, Kumar Gala wrote: > > On Jul 8, 2009, at 6:39 PM, Alan Modra wrote: > >> On Wed, Jul 08, 2009 at 05:41:39PM -0500, Kumar Gala wrote: >>> If we modify the linker script: >>> >>> _end2 = .; >>> _end3 = ALIGN(4096); >>> _end4 = ALIGN(PAGE_SIZE); >>> . = ALIGN(PAGE_SIZE); >>> _end = . ; >>> PROVIDE32 (end = .); >>> >>> and the result is: >>> >>> 00001000 A _end >>> c067f678 A _end2 >>> c0680000 A _end3 >>> c0680000 A _end4 >> >> Possibly some section with a zero vma is being placed before _end. >> Generate a link map to see if this is so. > > Playing with this further I think its related to the -me500 option > we pass and thus wondering if its something with the APU section > handling. If I hack the kernel up a little and pass -m440 instead > things seem to be ok. To further verify this if I switch the -me500 to -mspe and build things seem to be ok. This further points at some APU section related bug. - k