stabs at function entry point?

Richard Henderson rth@redhat.com
Sun Mar 17 11:34:00 GMT 2002


On Sat, Mar 16, 2002 at 10:50:32PM -0500, Daniel Jacobowitz wrote:
> Revised patch attached.  This works fairly well, because GCC 2.95 does
> things like this:
> main:
>         pushl %ebp
>         movl %esp,%ebp
>         subl $24,%esp
> .stabn 68,0,2,.LM1-main
> .LM1:
> .stabn 68,0,3,.LM2-main
> .LM2:
> .LBB2:
>         movl $1,-4(%ebp)
> 
> i.e. the stab which probably ought to be before the prologue is in fact
> after it.

Yes, I remember fixing this bug.  IMO you shouldn't spend any
extra effort catering to it.


r~



More information about the Binutils mailing list