aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux')
-rw-r--r--sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S4
-rw-r--r--sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S8
2 files changed, 6 insertions, 6 deletions
diff --git a/sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S b/sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S
index 314df282ce..5a0d7eca5d 100644
--- a/sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S
+++ b/sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S
@@ -36,7 +36,7 @@ ENTRY(__getcontext)
/* 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 @@ ENTRY(__getcontext)
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 --git a/sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S b/sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
index 55a9aa135c..ef2a862c55 100644
--- a/sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
+++ b/sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
@@ -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 @@ ENTRY(__swapcontext)
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)