From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29205 invoked by alias); 4 Jan 2005 21:27:40 -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 28966 invoked from network); 4 Jan 2005 21:27:23 -0000 Received: from unknown (HELO thoreau.thistledown.com.au) (203.217.30.154) by sourceware.org with SMTP; 4 Jan 2005 21:27:23 -0000 Received: by thoreau.thistledown.com.au (Postfix, from userid 7006) id E87FD2356D; Wed, 5 Jan 2005 08:27:20 +1100 (EST) Date: Tue, 04 Jan 2005 21:27:00 -0000 From: Simon Burge To: Richard Henderson Cc: Nick Clifton , Jakub Jelinek , Simon Burge , Ian Lance Taylor , binutils@sources.redhat.com Subject: Re: .eh_frame section on alpha Message-ID: <20050104212720.GA23945@thoreau.thistledown.com.au> References: <20041229073919.8EEE02356C@thoreau.thistledown.com.au> <41DA653D.6030101@redhat.com> <20050104095809.GQ3168@sunsite.mff.cuni.cz> <41DA6C6B.1090807@redhat.com> <20050104175111.GG3605@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050104175111.GG3605@redhat.com> User-Agent: Mutt/1.4.2.1i Organization: Wasabi Systems, Inc. X-SW-Source: 2005-01/txt/msg00023.txt.bz2 On Tue, Jan 04, 2005 at 09:51:11AM -0800, Richard Henderson wrote: > On Tue, Jan 04, 2005 at 10:14:03AM +0000, Nick Clifton wrote: > > Presumably yes. But I assume that the feeling is that invoking an > > assembler switch is simpler for the user than requiring them to write or > > edit linker scripts. > > If you're writing boot loaders, you're already writing linker scripts. We currently don't use a linker script. Here's the complete linker line: alpha--netbsd-ld -Ttext 0x20000000 -N -e start -o bootxx_ffs.sym \ start.o bootxx.o booted_dev.o blkdev.o prom.o prom_disp.o putstr.o \ panic_putstr.o lib/sa/libsa.a kern/libkern.a -Map bootxx_ffs.map Since we don't already use (and therefore have to maintain) a separate linker script, a command line option to not generate these new .eh_frame sections seems like the cleanest solution to me. Cheers, Simon. -- Simon Burge NetBSD Development, Support and Service: http://www.wasabisystems.com/