[parisc-linux] Re: Found the r19 problem!
Carlos O'Donell
carlos@baldric.uwo.ca
Sun, 21 Sep 2003 14:55:31 -0400
> So use a caller saves register, place it in the clobbers, and let gcc
> work around the usage (e.g. r4).
>
> > > ...
> > > (Many insn later)
> > > (stub) (dyncall) -> libpthread.so
> > > -> libc.so
> >
> > The above is an indirect call. r19 should be restored after the call
> > if it is used after the call.
>
> It is, but only after the asm(...) that lists r19 in the clobber.
>
Sorry "It is" should read "It is used" :)
Things get tricky in email with complex issues.
c.