diff -urN glibc-2.2.5/sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S glibc-2.2.5-s390/sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S --- glibc-2.2.5/sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S Thu Jan 17 20:22:09 2002 +++ glibc-2.2.5-s390/sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S Thu Jan 17 20:21:34 2002 @@ -36,7 +36,7 @@ /* sigprocmask (SIG_BLOCK, NULL, &sc->sc_mask). */ la %r2,SIG_BLOCK - slr %r3,%r3 + slgr %r3,%r3 la %r4,SC_MASK(%r5) svc SYS_ify(rt_sigprocmask) @@ -60,7 +60,7 @@ std %f15,SC_FPRS+120(%r5) /* Set __getcontext return value to 0. */ - slr %r2,%r2 + slgr %r2,%r2 /* Store access registers. */ stam %a0,%a15,SC_ACRS(%r5) diff -urN glibc-2.2.5/sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S glibc-2.2.5-s390/sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S --- glibc-2.2.5/sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S Thu Jan 17 20:22:01 2002 +++ glibc-2.2.5-s390/sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S Thu Jan 17 20:21:20 2002 @@ -34,12 +34,12 @@ other than the PRESERVED state. */ ENTRY(__swapcontext) - lr %r1,%r2 - lr %r5,%r3 + lgr %r1,%r2 + lgr %r5,%r3 /* sigprocmask (SIG_BLOCK, NULL, &sc->sc_mask). */ la %r2,SIG_BLOCK - slr %r3,%r3 + slgr %r3,%r3 la %r4,SC_MASK(%r1) svc SYS_ify(rt_sigprocmask) @@ -63,7 +63,7 @@ std %f15,SC_FPRS+120(%r1) /* Set __swapcontext return value to 0. */ - slr %r2,%r2 + slgr %r2,%r2 /* Store access registers. */ stam %a0,%a15,SC_ACRS(%r1)