From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20189 invoked by alias); 19 May 2006 11:50:26 -0000 Received: (qmail 20158 invoked by uid 22791); 19 May 2006 11:50:24 -0000 X-Spam-Check-By: sourceware.org Received: from CPE-144-136-172-108.sa.bigpond.net.au (HELO grove.modra.org) (144.136.172.108) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 19 May 2006 11:49:54 +0000 Received: by bubble.grove.modra.org (Postfix, from userid 500) id 5BEA91A9239; Fri, 19 May 2006 21:19:51 +0930 (CST) Date: Fri, 19 May 2006 15:37:00 -0000 From: Alan Modra To: binutils@sourceware.org Subject: Re: `.sym' referenced in section `reloc_sym' of file.o: defined in discarded section `.text.sym' of file.o Message-ID: <20060519114951.GD22757@bubble.grove.modra.org> Mail-Followup-To: binutils@sourceware.org References: <20060517003519.GJ19700@bubble.grove.modra.org> <20060517110343.17891.qmail@web26907.mail.ukl.yahoo.com> <20060519060903.GC22757@bubble.grove.modra.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060519060903.GC22757@bubble.grove.modra.org> User-Agent: Mutt/1.4i X-IsSubscribed: yes Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2006-05/txt/msg00331.txt.bz2 On Fri, May 19, 2006 at 03:39:03PM +0930, Alan Modra wrote: > * ld-scripts/empty-orphan.d: Update. * ld-scripts/empty-orphan.d: Update again. I should have waited until testing completed. xtensa trims off empty PT_LOAD segments. Index: ld/testsuite/ld-scripts/empty-orphan.d =================================================================== RCS file: /cvs/src/src/ld/testsuite/ld-scripts/empty-orphan.d,v retrieving revision 1.2 diff -u -p -r1.2 empty-orphan.d --- ld/testsuite/ld-scripts/empty-orphan.d 19 May 2006 06:10:03 -0000 1.2 +++ ld/testsuite/ld-scripts/empty-orphan.d 19 May 2006 11:46:49 -0000 @@ -2,9 +2,5 @@ #ld: -T empty-orphan.t #readelf: -l --wide #... -Program Headers: - +Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg +Align - +LOAD +[x0-9a-f]+ 0x0+ 0x0+ 0x0+ 0x0+ .* - +LOAD +[x0-9a-f]+ 0x0+ 0x0+ 0x0+ 0x0+ .* +LOAD +[x0-9a-f]+ [x0]+70000000 [x0]+70000000 [x0]+(2|4|8|10|20|40|80) .* #pass -- Alan Modra IBM OzLabs - Linux Technology Centre