Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Mark Kettenis <mark.kettenis@xs4all.nl>
Cc: vapier@gentoo.org, gdb-patches@sourceware.org
Subject: Re: only force symbol lookups with local variables on hppa
Date: Tue, 22 Aug 2006 02:06:00 -0000	[thread overview]
Message-ID: <20060821183440.GA26180@nevyn.them.org> (raw)
In-Reply-To: <200608211829.k7LITfLB004305@elgar.sibelius.xs4all.nl>

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


  reply	other threads:[~2006-08-21 18:34 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-20 14:28 Mike Frysinger
2006-08-20 14:33 ` Mark Kettenis
2006-08-20 14:38   ` Daniel Jacobowitz
2006-08-22  1:35     ` Mark Kettenis
2006-08-22  2:06       ` Daniel Jacobowitz [this message]
2006-08-22 18:01     ` Mike Frysinger
2006-08-22 18:21       ` Daniel Jacobowitz
2006-08-22 18:34         ` Mike Frysinger
2006-09-14  5:01         ` [patch ping] change lookup order of $localvars to happen before symbol tables Mike Frysinger
2006-09-16  4:02           ` Daniel Jacobowitz
2006-09-17  4:22             ` Mike Frysinger
2006-09-17 15:10               ` Daniel Jacobowitz
2006-09-17 20:22                 ` Mike Frysinger
2006-09-17 20:28                   ` Daniel Jacobowitz
2006-09-27  5:51                 ` Mike Frysinger
2007-09-26 19:50                 ` Mike Frysinger
2007-10-01  0:37                   ` Daniel Jacobowitz
2007-10-01  1:41                     ` Mike Frysinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060821183440.GA26180@nevyn.them.org \
    --to=drow@false.org \
    --cc=gdb-patches@sourceware.org \
    --cc=mark.kettenis@xs4all.nl \
    --cc=vapier@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox