From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7471 invoked by alias); 21 Aug 2006 18:34:50 -0000 Received: (qmail 7463 invoked by uid 22791); 21 Aug 2006 18:34:50 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Mon, 21 Aug 2006 18:34:44 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1GFEbg-0006p3-OE; Mon, 21 Aug 2006 14:34:40 -0400 Date: Tue, 22 Aug 2006 02:06:00 -0000 From: Daniel Jacobowitz To: Mark Kettenis Cc: vapier@gentoo.org, gdb-patches@sourceware.org Subject: Re: only force symbol lookups with local variables on hppa Message-ID: <20060821183440.GA26180@nevyn.them.org> Mail-Followup-To: Mark Kettenis , vapier@gentoo.org, gdb-patches@sourceware.org References: <200608200903.07185.vapier@gentoo.org> <200608201310.k7KDAgwj013347@elgar.sibelius.xs4all.nl> <20060820135754.GA17322@nevyn.them.org> <200608211829.k7LITfLB004305@elgar.sibelius.xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200608211829.k7LITfLB004305@elgar.sibelius.xs4all.nl> User-Agent: Mutt/1.5.11+cvs20060403 X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-08/txt/msg00150.txt.bz2 On Mon, Aug 21, 2006 at 08:29:41PM +0200, Mark Kettenis wrote: > Actually, I'm afraid the assumption that symbols do not start with a > dollar sign isn't true on most platforms: I just created some > assembler code that contains such symbols and it assembles, links and > runs fine on OpenBSD/i386. I have no doubt that the same will be true > on other ELF systems using the GNU toolchain. That's right; it's just not typical except on HPPA, where it involves some symbols we actually care about (millicode routines, I think?). Many C compilers allow dollars in the middle of symbols; they don't allow them at the start, but the underlying assembler generally does. ELF doesn't care at all, of course. -- Daniel Jacobowitz CodeSourcery