From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24753 invoked by alias); 21 May 2003 02:42:41 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 24733 invoked from network); 21 May 2003 02:42:41 -0000 Received: from unknown (HELO crack.them.org) (146.82.138.56) by sources.redhat.com with SMTP; 21 May 2003 02:42:41 -0000 Received: from nevyn.them.org ([66.93.61.169] ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 19IJZI-0007Kv-00; Tue, 20 May 2003 21:43:05 -0500 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 19IJYX-0005wC-00; Tue, 20 May 2003 22:42:17 -0400 Date: Wed, 21 May 2003 02:42:00 -0000 From: Daniel Jacobowitz To: "H. J. Lu" , binutils@sources.redhat.com Subject: Re: PATCH: ld testsuite failures Message-ID: <20030521024215.GA22791@nevyn.them.org> Mail-Followup-To: "H. J. Lu" , binutils@sources.redhat.com References: <20030520072933.GB3914@bubble.sa.bigpond.net.au> <20030520083551.A6235@lucon.org> <20030521003442.GP3914@bubble.sa.bigpond.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030521003442.GP3914@bubble.sa.bigpond.net.au> User-Agent: Mutt/1.5.1i X-SW-Source: 2003-05/txt/msg00625.txt.bz2 On Wed, May 21, 2003 at 10:04:42AM +0930, Alan Modra wrote: > On Tue, May 20, 2003 at 08:35:52AM -0700, H. J. Lu wrote: > > On Tue, May 20, 2003 at 04:59:33PM +0930, Alan Modra wrote: > > > The problem is that the failing tests use -T $srcdir/$subdir/elf-offset.ld, > > > and elf-offset.ld doesn't specify SEARCH_DIR. On my system, ld.so.conf > > > doesn't specify the default dirs of /lib and /usr/lib, and I'm building > > > binutils with --prefix=/usr/local > > > > > > > How about this? I am not too happy about it since it only covers > > native targets, which is sufficient since I only used CC with > > OK. Hmm, it would be better to do without elf-offset.ld somehow. I > wonder whether something like > > . = (. != 0 ? . : ${TEXT_BASE_ADDRESS}); > > instead of the existing expression in elf.sc SECTIONS would work, > and similarly for the shared lib case. The idea being to set dot on > the command line, and not have it overridden by the default script. > I might play with the idea after the gcc summit. This is not the first time I've wanted a way to inherit things from the default linker script... perhaps there should be a way to do this, either in general or at least specifically for SEARCH_DIRS. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer