Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "H . J . Lu" <hjl@lucon.org>
To: Kevin Buettner <kevinb@cygnus.com>, binutils@sourceware.cygnus.com
Cc: Andrew Cagney <ac131313@cygnus.com>, gdb-patches@sources.redhat.com
Subject: Re: [PATCH RFA] partial-stab.h patch amendment
Date: Fri, 07 Sep 2001 10:02:00 -0000	[thread overview]
Message-ID: <20010907100223.A21526@lucon.org> (raw)
In-Reply-To: <1010907165329.ZM10390@ocotillo.lan>

On Fri, Sep 07, 2001 at 09:53:29AM -0700, Kevin Buettner wrote:
> > 
> > Is there a way to remove a stabs entry in this case?
> 
> In my opinion, it'd be better for some other part of the toolchain
> (i.e. not GDB) to remove the appropriate stabs entries when a symbol

I meent to ask if there was a way to remove a stabs entry by the
linker.

> is converted from being weak defined to (weak) undefined.  (Is there
> any difference between ``undefined'' and ``weak undefined''?)

I don't think so. We are trying to find out if it is a linker bug.
But I don't have access to Solaris to verify it myself. I'd like to
know what the linker should do for a weak definition when

1. There is a strong definition in another relocatable file before it.
2. There is a strong definition in another relocatable file after it.
3. There is a strong definition in a DSO before it.
4. There is a strong definition in a DSO after it.

> 
> 
> > I tried your patch on gdb 5.1. It works for me. Can we have it in
> > gdb 5.1?
> 
> Good question.  I think it should go in, but I'm not the keeper of the
> branch.
> 
> Andrew, what do you say?

Please. I really appreciate it.

Thanks.


H.J.


  reply	other threads:[~2001-09-07 10:02 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-05 15:43 Kevin Buettner
2001-09-05 16:00 ` Kevin Buettner
2001-09-06 10:35 ` Jim Blandy
2001-09-06 13:56   ` Kevin Buettner
     [not found]     ` <1010906232048.ZM8395@ocotillo.lan>
2001-09-06 23:00       ` H . J . Lu
2001-09-07  9:53         ` Kevin Buettner
2001-09-07 10:02           ` H . J . Lu [this message]
2001-09-07 10:31           ` Andrew Cagney
2001-09-07 10:42             ` Elena Zannoni
2001-09-07 14:16             ` Jim Blandy
2001-10-03 18:21             ` Elena Zannoni

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=20010907100223.A21526@lucon.org \
    --to=hjl@lucon.org \
    --cc=ac131313@cygnus.com \
    --cc=binutils@sourceware.cygnus.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=kevinb@cygnus.com \
    /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