From 4a17085f1589c5451d031995534e00e763364fb0 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 12 Jul 2003 01:29:23 +0000 Subject: Update. 2003-07-12 Kaz Kojima * sysdeps/unix/sysv/linux/sh/socket.S: Save and restore the PR register across CENABLE and CDISABLE. --- nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h') diff --git a/nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h b/nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h index b7dcfc8c43..b783c98108 100644 --- a/nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h +++ b/nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h @@ -90,9 +90,14 @@ # ifdef IS_IN_libpthread # define __local_enable_asynccancel __pthread_enable_asynccancel # define __local_disable_asynccancel __pthread_disable_asynccancel -# else +# elif !defined NOT_IN_libc # define __local_enable_asynccancel __libc_enable_asynccancel # define __local_disable_asynccancel __libc_disable_asynccancel +# elif defined IS_IN_librt +# define __local_enable_asynccancel __librt_enable_asynccancel +# define __local_disable_asynccancel __librt_disable_asynccancel +# else +# error Unsupported library # endif # define CENABLE \ -- cgit v1.2.3-70-g09d2