[parisc-linux] glibc 2.2.3: setjmp/longjmp

Matthew Wilcox matthew@wil.cx
Fri, 4 May 2001 21:39:42 +0100


On Fri, May 04, 2001 at 04:18:42PM -0400, John David Anglin wrote:
> My first guess would be the pic offset table register is not being
> restored in longjmps into PIC code.  This must be done either in the
> receiver or just before the longjmp.  Of course, the longjmp can come
> from non-PIC code.  I am just about to submit a patch to fix a similar
> problem with gcc's builtin_setjmp/longjmp on the PA for the 3.0 branch.

hmm.. longjmp() restores r3-r19, r27, r30, r2, then fr12-21.  should it
be restoring r29 too?  if so, no problem -- we don't need to save/restore
r19 anyway.

-- 
Revolutions do not require corporate support.