public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: David Mosberger <davidm@napali.hpl.hp.com>
To: linux-ia64@vger.kernel.org
Subject: RE: [Linux-ia64] Re: gas generates incorrect ia64 unwind rlen val
Date: Sat, 18 Jan 2003 02:30:26 +0000	[thread overview]
Message-ID: <marc-linux-ia64-105590709805723@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105590709805569@msgid-missing>

>>>>> On Thu, 19 Dec 2002 17:46:54 -0800, "Patil, Harish" <harish.patil@intel.com> said:

  >> From: David Mosberger [mailto:davidm@napali.hpl.hp.com]
  >> Sent: Thursday, December 19, 2002 3:19 PM
  >> To: Patil, Harish
  >> Cc: 'davidm@hpl.hp.com'; 'linux-ia64@linuxia64.org'
  >> Subject: Re: [Linux-ia64] Re: gas generates incorrect ia64 unwind rlen
  >> values

  >> Is your script fully automatic?  If so, perhaps we could add it to the
  >> kernel sources and run it as part of "make check".  I'd love to have
  >> better unwind-info checking tools.  Actually, it's even more important
  >> to use such tools to verify the correctness of the user-level unwind
  >> info.

  Harish> Yes, the script is fully automatic and is included below (requires a
  Harish> 'readelf' that understands "-u" option).

OK, I checked this script into arch/ia64/scripts/unwcheck.sh now.  I
had to hack it a bit because readelf v2.13.90.0.10 generates the
code-ranges in the format:

	[0xe000000004408000-0xe000000004408230],

Which isn't what the script expected.

I also fixed the handful of problems it pointed out.  I agree that
those are really gas bugs (except perhaps for the unwind info in
gate.S, which was a bit clunky).  But for now, I fixed things by
adding explicit nop's and commenting out .align directives.  The
removal of .align may cost us a cycle or two in some routines, but I
don't it's noticable in practice.

Thanks,

	--david


  parent reply	other threads:[~2003-01-18  2:30 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-16  9:00 [Linux-ia64] Re: gas generates incorrect ia64 unwind rlen values Keith Owens
2002-12-16 22:12 ` Keith Owens
2002-12-16 22:12 ` David Mosberger
2002-12-16 22:16 ` David Mosberger
2002-12-16 23:10 ` Jim Wilson
2002-12-17  2:34 ` Keith Owens
2002-12-17  2:51 ` David Mosberger
2002-12-17  3:19 ` David Mosberger
2002-12-17  3:20 ` Keith Owens
2002-12-17  3:25 ` David Mosberger
2002-12-17  3:43 ` Keith Owens
2002-12-17 16:33 ` Patil, Harish
2002-12-19 20:19 ` David Mosberger
2002-12-20  1:46 ` [Linux-ia64] Re: gas generates incorrect ia64 unwind rlen val Patil, Harish
2003-01-18  2:30 ` David Mosberger [this message]
2003-03-07 22:28 ` [Linux-ia64] Re: gas generates incorrect ia64 unwind rlen val ues Bjorn Helgaas

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=marc-linux-ia64-105590709805723@msgid-missing \
    --to=davidm@napali.hpl.hp.com \
    --cc=linux-ia64@vger.kernel.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