[PATCH] New ia64 @slotcount pseudo func (4th try)

Douglas B Rupp rupp@gnat.com
Thu Nov 5 20:53:00 GMT 2009


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;



More information about the Binutils mailing list