[parisc-linux] Re: [glibc] tststatic failues, reduced to simple testcase.

John David Anglin dave@hiauly3.hia.nrc.ca
Fri, 29 Aug 2003 18:44:03 -0400 (EDT)


> > __asm(
> > 0x4000883c:     be,l 100(sr2,r0),%sr0,%r31
> > 0x40008840:     ldi 2,r20                    !! FORK !!
> > );
> > 0x40008844:     ldi -1000,r20 <--Corrupted--- r19 = 0x10106368

Looking at the kernel syscall code, it seems at first glance that
r19 is saved and restored.  Thus, the problem may be specific to fork.

Dave