[parisc-linux] glibc 2.2.3: setjmp/longjmp

Matthew Wilcox matthew@wil.cx
Fri, 4 May 2001 22:02:14 +0100


On Fri, May 04, 2001 at 04:18:42PM -0400, John David Anglin wrote:
> > i think i've traced the problem down to setjmp/longjmp not working.
> 
> My first guess would be the pic offset table register is not being

Thinking about it some more, I don't see how this can be the case.  Here's
the assembly:

    ea18:       e8 42 11 c4     b,l 14300 <_setjmp>,rp
    ea1c:       6b dc 3c 91     stw ret0,-1b8(sr0,sp)
    ea20:       34 1a 00 02     ldi 1,r26
    ea24:       4b d3 3f 11     ldw -78(sr0,sp),r19
    ea28:       08 1c 02 43     copy ret0,r3
    ea2c:       08 03 02 58     copy r3,r24
    ea30:       2a 60 00 00     addil 0,r19,%r1
    ea34:       48 21 07 d0     ldw 3e8(sr0,r1),r1
    ea38:       e8 40 02 6c     b,l fb74 <_dl_dprintf>,rp

after calling longjmp, that _dl_dprintf doesn't get called.  I can't
explain that.

-- 
Revolutions do not require corporate support.