aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-01-30 18:04:01 +0000
committerUlrich Drepper <drepper@redhat.com>2003-01-30 18:04:01 +0000
commit567678b68514f1673f5f856ca1f280addf38cb88 (patch)
treedb0cd87c0c8fdd8117e707b0a58bc9005527fec2 /sysdeps/unix
parent5df8349b84a85dee067380ad4a5c3b90148a6504 (diff)
downloadglibc-567678b68514f1673f5f856ca1f280addf38cb88.tar
glibc-567678b68514f1673f5f856ca1f280addf38cb88.tar.gz
glibc-567678b68514f1673f5f856ca1f280addf38cb88.tar.bz2
glibc-567678b68514f1673f5f856ca1f280addf38cb88.zip
Update.
2003-01-30 Jakub Jelinek <jakub@redhat.com> * sysdeps/alpha/tls.h (THREAD_GETMEM, THREAD_GETMEM_NC, THREAD_SETMEM, THREAD_SETMEM_NC): Avoid warnings about unused self variable. * sysdeps/ia64/pt-machine.h (THREAD_GETMEM, THREAD_GETMEM_NC, THREAD_SETMEM, THREAD_SETMEM_NC): Likewise. * sysdeps/s390/s390-32/pt-machine.h (THREAD_GETMEM, THREAD_GETMEM_NC, THREAD_SETMEM, THREAD_SETMEM_NC): Likewise. * sysdeps/s390/s390-64/pt-machine.h (THREAD_GETMEM, THREAD_GETMEM_NC, THREAD_SETMEM, THREAD_SETMEM_NC): Likewise. * sysdeps/sh/pt-machine.h (THREAD_GETMEM, THREAD_GETMEM_NC, THREAD_SETMEM, THREAD_SETMEM_NC): Likewise. * sysdeps/sparc/sparc32/pt-machine.h (THREAD_GETMEM, THREAD_GETMEM_NC, THREAD_SETMEM, THREAD_SETMEM_NC): Likewise. * sysdeps/sparc/sparc64/pt-machine.h (THREAD_GETMEM, THREAD_GETMEM_NC, THREAD_SETMEM, THREAD_SETMEM_NC): Likewise.
Diffstat (limited to 'sysdeps/unix')
-rw-r--r--sysdeps/unix/sysv/linux/s390/s390-32/clone.S4
-rw-r--r--sysdeps/unix/sysv/linux/s390/s390-64/clone.S4
2 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/clone.S b/sysdeps/unix/sysv/linux/s390/s390-32/clone.S
index 91c362a2e8..650384cbc9 100644
--- a/sysdeps/unix/sysv/linux/s390/s390-32/clone.S
+++ b/sysdeps/unix/sysv/linux/s390/s390-32/clone.S
@@ -42,10 +42,10 @@ ENTRY(__clone)
l %r5,100(%r15) /* load child_tid from stack */
l %r6,96(%r15) /* load tls from stack */
svc SYS_ify(clone)
- l %r6,24(%r15) /* restore %r6 */
ltr %r2,%r2 /* check return code */
- jm SYSCALL_ERROR_LABEL
jz thread_start
+ l %r6,24(%r15) /* restore %r6 */
+ jm SYSCALL_ERROR_LABEL
br %r14
error:
lhi %r2,-EINVAL
diff --git a/sysdeps/unix/sysv/linux/s390/s390-64/clone.S b/sysdeps/unix/sysv/linux/s390/s390-64/clone.S
index 5150540f4e..fdeb4c806f 100644
--- a/sysdeps/unix/sysv/linux/s390/s390-64/clone.S
+++ b/sysdeps/unix/sysv/linux/s390/s390-64/clone.S
@@ -43,10 +43,10 @@ ENTRY(__clone)
lg %r5,168(%r15) /* load child_tid from stack */
l %r6,160(%r15) /* load tls from stack */
svc SYS_ify(clone)
- lg %r6,48(%r15) /* restore %r6 */
ltgr %r2,%r2 /* check return code */
- jgm SYSCALL_ERROR_LABEL
jz thread_start
+ lg %r6,48(%r15) /* restore %r6 */
+ jgm SYSCALL_ERROR_LABEL
br %r14
error:
lghi %r2,-EINVAL