From: Frederic RISS <frederic.riss@st.com>
To: Daniel Jacobowitz <drow@false.org>
Cc: Jim Blandy <jimb@codesourcery.com>,
Steven Johnson <sjohnson@sakuraindustries.com>,
gdb@sources.redhat.com
Subject: Re: Problems with startup code symbols (Copious warnings)
Date: Tue, 20 Jun 2006 12:33:00 -0000 [thread overview]
Message-ID: <1150806737.2480.71.camel@crx549.cro.st.com> (raw)
In-Reply-To: <20060620122112.GA20079@nevyn.them.org>
On Tue, 2006-06-20 at 08:21 -0400, Daniel Jacobowitz wrote:
> On Mon, Jun 19, 2006 at 10:15:56AM +0200, Frederic RISS wrote:
> > What about looking at section VMAs? If one loadable section has a VMA of
> > 0 then we can't discard debug info with low_pc == 0. If no section lives
> > at address 0 then low_pc == 0 implies that the relocations for this
> > info couldn't be applied because the code has vanished.
> > I'm sure I missed somethnig in the general case, but I've added
> > something like this as a post-load pass in a target_so_ops I implemented
> > some time ago and it worked well.
>
> The problem is that this only works for binaries which _either_ use
> linkonce sections or code at zero. A binary with both would still not
> work very well.
Of course. But I don't see any non-embedded binary with a section loaded
at NULL. And I don't see much embedded bootcode needing linkonce
sections.
> Is that an improvement? I guess so.
It's certainly better than the current HAS_RELOCS check.
next prev parent reply other threads:[~2006-06-20 12:33 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-08 7:23 Steven Johnson
2006-06-08 9:06 ` Jim Blandy
2006-06-08 12:25 ` Steven Johnson
2006-06-08 23:10 ` Steven Johnson
2006-06-15 0:12 ` Jim Blandy
2006-06-15 7:33 ` Jim Blandy
2006-06-19 9:36 ` Frederic RISS
2006-06-20 12:23 ` Daniel Jacobowitz
2006-06-20 12:33 ` Frederic RISS [this message]
2006-06-20 12:56 ` Daniel Jacobowitz
2006-06-20 13:09 ` Frederic RISS
2006-06-20 20:17 ` Steven Johnson
2006-06-20 23:35 ` Daniel Jacobowitz
2006-06-21 8:54 ` Frederic RISS
2006-06-21 14:44 ` Steven Johnson
2006-06-21 15:28 ` Daniel Jacobowitz
2006-06-19 10:00 ` Steven Johnson
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=1150806737.2480.71.camel@crx549.cro.st.com \
--to=frederic.riss@st.com \
--cc=drow@false.org \
--cc=gdb@sources.redhat.com \
--cc=jimb@codesourcery.com \
--cc=sjohnson@sakuraindustries.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