This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] New ia64 @slotcount pseudo func (4th try)
- From: Douglas B Rupp <rupp at gnat dot com>
- To: Nick Clifton <nickc at redhat dot com>, Alan Modra <amodra at bigpond dot net dot au>
- Cc: Douglas B Rupp <rupp at gnat dot com>, Jan Beulich <JBeulich at novell dot com>, Richard Henderson <rth at redhat dot com>, binutils at sourceware dot org, Tristan Gingold <gingold at adacore dot com>
- Date: Thu, 05 Nov 2009 12:53:19 -0800
- Subject: Re: [PATCH] New ia64 @slotcount pseudo func (4th try)
- References: <4AF1DB04.5030804@gnat.com> <4AF2BE8A.30005@redhat.com> <4AF3258A.4030005@gnat.com>
Some problems have appeared. I should have run more complex tests.
frag_offset_fixed_p is returning false for some cases involving the
begin epilogue label slotcount from the begin function label
data4.ua @slotcount(.LEB56-.LFB56)
-------------------
(gdb) print frag1
$21 = (const fragS *) 0x766890
(gdb) print frag2
$22 = (const fragS *) 0x7667c8
(gdb) n
407 frag = frag1;
(gdb) n
408 while (frag->fr_type == rs_fill)
(gdb) print frag->fr_type
$23 = rs_align_code
(gdb) n
422 off = frag1->fr_address - frag2->fr_address;
(gdb) print frag->fr_type
$24 = rs_align_code
(gdb) print off
$25 = 0
(gdb) n
423 frag = frag2;
(gdb)
424 while (frag->fr_type == rs_fill)
(gdb) print frag->fr_type
$26 = rs_align_code
(gdb) n
437 return FALSE;