From: "H. J. Lu" <hjl@lucon.org>
To: James E Wilson <wilson@specifixinc.com>
Cc: David Mosberger <davidm@hpl.hp.com>, binutils@sources.redhat.com
Subject: Re: PATCH: Don't allow ia64 unwind section to point to section in different files
Date: Wed, 18 May 2005 00:15:00 -0000 [thread overview]
Message-ID: <20050518001518.GA924@lucon.org> (raw)
In-Reply-To: <1116372047.7961.84.camel@aretha.corp.specifixinc.com>
On Tue, May 17, 2005 at 04:20:47PM -0700, James E Wilson wrote:
> On Tue, 2005-05-17 at 15:13, H. J. Lu wrote:
> > * config/tc-ia64.c (unwind): Add proc_start_addr.
> > (dot_proc): Set unwind.proc_start_addr to expr_build_dot ().
> > (dot_endp): Use unwind.proc_start_addr instead of
> > unwind.proc_start for unwind info.
>
> This is an easy obvious way to get the dot value back, but this is
> undoing a change that Jan had deliberately made. So we shouldn't be
> doing this without talking to Jan and/or re-reading the original thread
> to make sure this is OK. Otherwise, we are just trading one problem for
> another. I see no attempt to do any of this.
>
> The original thread starts here:
> http://sourceware.org/ml/binutils/2005-01/msg00380.html
> and there is a follow up thread here:
> http://sourceware.org/ml/binutils/2005-01/msg00476.html
> This issue of using dot vs the function symbol name was discussed,
> because I pointed it out and said I wasn't sure it was safe, and Jan
> answered that it was necessary for ias compatibility.
>
> The basic question here is whether it is ever OK for anything to come
> between the .proc and the function label. Personally, I think that
> IA-64 assembly is complicated enough that we should only ever accept
> strictly formatted assembly code, in which case no data allocation or
> stray instructions are allowed after the .proc and before the function
> label. Apparently, ias supports other stuff here. If we do take a
> strict approach, then we should perhaps be emitting warnings or errors
> when we see code that doesn't meet our strict requirements, instead of
> silently generating object files with bad unwind info. A strict
> approach also means things like switching sections inside a function are
> forbidden.
>
> There is also a complication here with function with alternate entry
> points, as an alternate entry point could perhaps come before the
> function label, in which case using dot is perhaps better than using the
> function label, though Jan seems to argue the other way.
>
> Anyways, if Jan has no objection to this change, then it is OK with me
> too.
I am checking with icc/ias people to see if we can find a common
approach.
H.J.
next prev parent reply other threads:[~2005-05-18 0:15 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CBDB88BFD06F7F408399DBCF8776B3DC0424E404@scsmsx403.amr.corp.intel.com>
[not found] ` <17029.3906.33841.302589@napali.hpl.hp.com>
[not found] ` <20050513205004.GB30928@lucon.org>
[not found] ` <17029.5402.827349.738563@napali.hpl.hp.com>
[not found] ` <20050513210111.GB31069@lucon.org>
[not found] ` <17029.5812.552722.635968@napali.hpl.hp.com>
2005-05-13 21:58 ` H. J. Lu
2005-05-14 0:28 ` H. J. Lu
2005-05-16 13:58 ` David Mosberger
2005-05-16 14:29 ` H. J. Lu
2005-05-17 20:52 ` James E Wilson
2005-05-17 21:28 ` David Mosberger
2005-05-17 22:56 ` H. J. Lu
2005-05-18 0:15 ` James E Wilson
2005-05-18 0:15 ` H. J. Lu [this message]
2005-05-18 7:02 Jan Beulich
2005-05-18 13:58 ` H. J. Lu
2005-05-18 7:23 Jan Beulich
[not found] <s28af68c.020@emea1-mh.id2.novell.com>
2005-05-18 8:06 ` David Mosberger
2005-05-18 15:16 Jan Beulich
2005-05-18 15:21 ` H. J. Lu
2005-05-18 15:26 ` David Mosberger
2005-05-18 15:33 ` H. J. Lu
2005-05-18 16:27 ` David Mosberger
2005-05-18 19:35 ` James E Wilson
2005-05-19 8:26 Jan Beulich
2005-05-19 15:18 ` Daniel Jacobowitz
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=20050518001518.GA924@lucon.org \
--to=hjl@lucon.org \
--cc=binutils@sources.redhat.com \
--cc=davidm@hpl.hp.com \
--cc=wilson@specifixinc.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).