From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9932 invoked by alias); 28 Aug 2009 08:09:23 -0000 Received: (qmail 9923 invoked by uid 22791); 28 Aug 2009 08:09:22 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from nskntmtas03p.mx.bigpond.com (HELO nskntmtas03p.mx.bigpond.com) (61.9.168.143) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 28 Aug 2009 08:09:13 +0000 Received: from nskntotgx01p.mx.bigpond.com ([121.209.33.16]) by nskntmtas03p.mx.bigpond.com with ESMTP id <20090828080911.OSYU1820.nskntmtas03p.mx.bigpond.com@nskntotgx01p.mx.bigpond.com>; Fri, 28 Aug 2009 08:09:11 +0000 Received: from bubble.grove.modra.org ([121.209.33.16]) by nskntotgx01p.mx.bigpond.com with ESMTP id <20090828080910.GPTY22446.nskntotgx01p.mx.bigpond.com@bubble.grove.modra.org>; Fri, 28 Aug 2009 08:09:10 +0000 Received: by bubble.grove.modra.org (Postfix, from userid 1000) id 63254170C880; Fri, 28 Aug 2009 17:39:10 +0930 (CST) Date: Fri, 28 Aug 2009 08:23:00 -0000 From: Alan Modra To: He Yunlong-B20256 , binutils@sourceware.org Subject: Re: One issue with ld Message-ID: <20090828080910.GG19523@bubble.grove.modra.org> Mail-Followup-To: He Yunlong-B20256 , binutils@sourceware.org References: <20090815124234.GA20656@gmx.de> <20090815124327.GB20656@gmx.de> <20090818184815.GF30742@gmx.de> <20090819005839.GF17560@bubble.grove.modra.org> <6368A20E269B6B4CA5ABB15E14F34C827F3786@zch01exm22.fsl.freescale.net> <20090828080111.GF19523@bubble.grove.modra.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090828080111.GF19523@bubble.grove.modra.org> User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-RPD-ScanID: Class unknown; VirusThreatLevel unknown, RefID str=0001.0A150204.4A9790A7.001C,ss=1,fgs=0 X-SIH-MSG-ID: qh86Edz4TAD0zmRy0WWwOwRzyFrsq3B48Z4QWs1mqRMGT0XduMfONYj6Y9IElp7k3C5MPhCFN2shYrzmXY/YiA== X-IsSubscribed: yes Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2009-08/txt/msg00522.txt.bz2 On Fri, Aug 28, 2009 at 05:31:11PM +0930, Alan Modra wrote: > On Wed, Aug 19, 2009 at 11:43:42AM +0800, He Yunlong-B20256 wrote: > > We met one issue with powerpc-linux-gnu-ld, which produce > > different program headers from similar ldscript, I submitted one issue > > #10515 and attached sample code and scripts, could you help to have a > > look? > > PHDRS on any but the first PT_LOAD program header isn't currently > supported by GNU ld, sorry. We probably ought to give an error. I meant to say "FILEHDR on any but the first..". It's also quite possible that PHDRS must be on the first PT_LOAD header too. -- Alan Modra Australia Development Lab, IBM