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 5029DB707B for ; Thu, 9 Jul 2009 08:44:01 +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 A8787DDDE5 for ; Thu, 9 Jul 2009 08:44:00 +1000 (EST) Message-Id: <09159ADA-39F9-419E-AE46-4CFAE612AFB9@kernel.crashing.org> From: Kumar Gala To: Alan Modra Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Mime-Version: 1.0 (Apple Message framework v935.3) Subject: binutils 2.19 issue with kernel link Date: Wed, 8 Jul 2009 17:41:39 -0500 Cc: Scott Wood , "linuxppc-dev@ozlabs.org list" , bug-binutils@gnu.org, Edmar Wienskoski-RA8797 List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Alan, We are seeing an issue w/ld and kernel linking of 32-bit kernels. The ld from fedora 11 (2.19.51.0.2-17.fc11 20090204) ends not providing the proper address for _end. Building stock v2.6.30 w/the mpc85xx_defconfig we get: 00001000 A _end Using 2.18.50.20080215 we get: c0680000 A _end 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 I used an old version of linker (2.18.50.20080215) and re-linked: c067f678 A _end2 c0680000 A _end c0680000 A _end3 c0680000 A _end4 Any ideas? - k