about summary refs log tree commit diff
path: root/nptl/sysdeps/unix/sysv/linux/sh
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-03-20 04:42:40 +0000
committerUlrich Drepper <drepper@redhat.com>2004-03-20 04:42:40 +0000
commit3abb1ff7d1c7a2941df3c6234ec71b40a3879baa (patch)
treea57013ced3adefbfafd5ff649bd3e0b56ebdb5c7 /nptl/sysdeps/unix/sysv/linux/sh
parent4c326621751a856cac5327457c94216780d2c903 (diff)
downloadglibc-3abb1ff7d1c7a2941df3c6234ec71b40a3879baa.tar.gz
glibc-3abb1ff7d1c7a2941df3c6234ec71b40a3879baa.tar.xz
glibc-3abb1ff7d1c7a2941df3c6234ec71b40a3879baa.zip
Update.
2004-03-20  Kaz Kojima  <kkojima@rr.iij4u.or.jp>

	* sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (CENABLE): Save
	the return value to a safe register.
	(CDISABLE): Set the function argument correctly.
Diffstat (limited to 'nptl/sysdeps/unix/sysv/linux/sh')
-rw-r--r--nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h b/nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h
index 3567dab588..ba2efbcba9 100644
--- a/nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h
+++ b/nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h
@@ -109,7 +109,7 @@
 	bsrf r0; \
 	 nop; \
      0: bra 2f; \
-	 nop; \
+	 mov r0,r2; \
 	.align 2; \
      1: .long __local_enable_asynccancel - 0b; \
      2:
@@ -117,7 +117,7 @@
 # define CDISABLE \
 	mov.l 1f,r0; \
 	bsrf r0; \
-	 nop; \
+	 mov r2,r4; \
      0: bra 2f; \
 	 nop; \
 	.align 2; \