Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 10 Feb 2002 01:51:22 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 10 Feb 2002 01:51:12 -0500 Received: from parcelfarce.linux.theplanet.co.uk ([195.92.249.252]:35846 "EHLO www.linux.org.uk") by vger.kernel.org with ESMTP id ; Sun, 10 Feb 2002 01:51:03 -0500 Message-ID: <3C66181C.95DF04E3@zip.com.au> Date: Sat, 09 Feb 2002 22:50:04 -0800 From: Andrew Morton X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.18-pre9 i686) X-Accept-Language: en MIME-Version: 1.0 To: "Eric W. Biederman" CC: Linus Torvalds , Alan Cox , Hugh Dickins , Marcelo Tosatti , "H. Peter Anvin" , linux-kernel@vger.kernel.org Subject: Re: [PATCH] BUG preserve registers In-Reply-To: , Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org "Eric W. Biederman" wrote: > > One possibility is to do something like: > > ud2 > .word __LINE__ > .long 1f > .section __FILE__ > .linkonce discard > 1: .asciz __FILE__ > .previous > > Which will put each filename string in it's own section and let the > linker merge the duplicates. That would work. When it didn't I r'ed tfm: http://www.gnu.org/manual/gas-2.9.1/html_node/as_102.html "This directive is only supported by a few object file formats; as of this writing, the only object file format which supports it is the Portable Executable format used on Windows NT." - - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/