From: Keith Owens <kaos@sgi.com>
To: linux-ia64@vger.kernel.org
Subject: [Linux-ia64] Re: gas generates incorrect ia64 unwind rlen values
Date: Tue, 17 Dec 2002 02:34:03 +0000 [thread overview]
Message-ID: <marc-linux-ia64-105590709805589@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105590709805569@msgid-missing>
On 16 Dec 2002 18:10:21 -0500,
Jim Wilson <wilson@redhat.com> wrote:
>Yes, this is the latest one that we give away free of charge to non-customers.
>I think we stopped maintaining these tools a while ago when we started
>recommending RH AS 2.[01] instead of RHL 7.[012] for IA-64 customers.
I built binutils-2.13.90.0.2-2 (from rh 8.0) on ia64. I extracted the
generated assembler for ia64_fault as traps.S. The bug still exists in
2.13.90.0.2. traps.S has been sent to Jim Wilson as a test case.
/usr/src/redhat/BUILD/binutils-2.13.90.0.2/binutils/tmpdir/gas/as -x -mconstant-gp traps.S -o traps.o
/usr/src/redhat/BUILD/binutils-2.13.90.0.2/binutils/readelf -u traps.o
Unwind section '.IA_64.unwind' at offset 0xb40 contains 1 entries:
<ia64_fault>: [0x0-0xad0), info at +0x0
v1, flags=0x0 ( ), len\x16 bytes
R2:prologue_gr(mask=[rp,ar.pfs],grsave=r37,rlen=8)
P7:pfs_when(t=0)
P7:mem_stack_f(t=2,size%6)
P7:rp_when(t=7)
R3:body(rlenG5) <= should be 511
B2:epilogue(t=2,ecount=0)
R1:prologue(rlen=0)
0000000000000000 <ia64_fault>:
0: 0c 30 31 0e 80 05 [MFI] alloc r38=ar.pfs,12,7,0
6: 00 00 00 02 00 80 nop.f 0x0
c: 01 60 f8 8c adds r12=-256,r12
10: 04 00 00 00 01 00 [MLX] nop.m 0x0
16: 00 08 00 00 00 c0 movl r14=0x80000000f
1c: f1 00 00 60
20: 02 00 00 00 01 00 [MII] nop.m 0x0
26: 50 02 00 62 00 c0 mov r37°;;
2c: e1 08 31 80 and r14=r14,r33
.....
ab0: 00 00 00 00 01 00 [MII] nop.m 0x0
ab6: 00 30 01 55 00 00 mov.i ar.pfs=r38
abc: 50 0a 00 07 mov b0=r37
ac0: 1d 60 00 18 02 21 [MFB] adds r12%6,r12
ac6: 00 00 00 02 00 80 nop.f 0x0
acc: 08 00 84 00 br.ret.sptk.many b0;;
ad0: 0c 00 00 00 01 00 [MFI] nop.m 0x0 <== end of code at slot 519
ad6: 00 00 00 02 00 00 nop.f 0x0
adc: 00 00 04 00 nop.i 0x0
next prev parent reply other threads:[~2002-12-17 2:34 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 [this message]
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
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-105590709805589@msgid-missing \
--to=kaos@sgi.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.