This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [MIPS PATCH RFA] fix serious problem w/ MIPS .cprestore.
cgd@broadcom.com wrote:
> At Sun, 15 Sep 2002 03:43:15 +0200, Thiemo Seufer wrote:
> > > + # avoid confusion: without something here, the lw above might be
> > > + # put into the delay slot for the jalr below!
> > > + nop
> > > +
> > > + jal end # 0054 jalr t9
> > > + # 0058 nop
> > > + # 005c lw gp,8(sp)
> > > + .end func1
> >
> > To avoid confusion: What about adding a proper function epilogue
> > at the function's end?
>
> "... which would be?"
Hm, would depend on the prologue part left out. :-)
> (i copied the struture of this test from the mips-abi32-pic test, and,
> well, it does the same thing I did...)
>
> Is there any real benefit to doing that in this test, that wouldn't be
> had from doing it in an entirely separate test?
No, it would only look more common to me.
Thiemo