From 3abb1ff7d1c7a2941df3c6234ec71b40a3879baa Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 20 Mar 2004 04:42:40 +0000 Subject: Update. 2004-03-20 Kaz Kojima * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (CENABLE): Save the return value to a safe register. (CDISABLE): Set the function argument correctly. --- nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nptl/sysdeps/unix/sysv/linux') 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; \ -- cgit 1.4.1