From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26504 invoked by alias); 1 May 2004 04:25:09 -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 26471 invoked from network); 1 May 2004 04:25:08 -0000 Received: from unknown (HELO modra.org) (144.136.182.144) by sources.redhat.com with SMTP; 1 May 2004 04:25:08 -0000 Received: by bubble.modra.org (Postfix, from userid 500) id B8812E6BF1; Sat, 1 May 2004 13:55:06 +0930 (CST) Date: Sat, 01 May 2004 04:25:00 -0000 From: Alan Modra To: "H. J. Lu" Cc: "H. J. Lu" , binutils@sources.redhat.com Subject: Re: PATCH: Multiple sections with same name don't work Message-ID: <20040501042506.GS2565@bubble.modra.org> Mail-Followup-To: "H. J. Lu" , "H. J. Lu" , binutils@sources.redhat.com References: <20040430221244.GA17029@lucon.org> <20040430230129.GA17907@lucon.org> <20040501003636.GA19527@lucon.org> <20040501023136.GQ2565@bubble.modra.org> <20040501025913.GR2565@bubble.modra.org> <20040501034300.GA22385@lucon.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040501034300.GA22385@lucon.org> User-Agent: Mutt/1.4i X-SW-Source: 2004-05/txt/msg00004.txt.bz2 On Fri, Apr 30, 2004 at 08:43:00PM -0700, H. J. Lu wrote: > On Sat, May 01, 2004 at 12:29:13PM +0930, Alan Modra wrote: > > Actually, it is probably a mistake to try to support multiple sections > > of the same name in gas. For instance, if you have two .text sections, > > how is gas supposed to evaluate ".long .text" ? > > Will that be generated by compiler? If not, we can issue an error. The real question is: Do we need multiple sections of the same name in assembly files? I don't think we do. -- Alan Modra IBM OzLabs - Linux Technology Centre