From 3abb1ff7d1c7a2941df3c6234ec71b40a3879baa Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 20 Mar 2004 04:42:40 +0000 Subject: [PATCH] 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/ChangeLog | 6 ++++++ nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/nptl/ChangeLog b/nptl/ChangeLog index 4670867..164a9b3 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,3 +1,9 @@ +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. + 2004-03-18 Ulrich Drepper * sysdeps/unix/sysv/linux/internaltypes.h (struct pthread_attr): Add diff --git a/nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h b/nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h index 3567dab..ba2efbc 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; \ -- 2.7.4