From 27b0258934adb212b760ead998d51f8005224abc Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 3 May 2004 22:40:52 +0000 Subject: Update. 2004-04-23 Jakub Jelinek * sysdeps/ia64/fpu/libm_support.h (__libm_error_support): Add libc_hidden_proto. Define to __GI___libm_error_support for assembly going into libc.so. * sysdeps/ia64/fpu/libc_libm_error.c (__libm_error_support): Add libc_hidden_def. * include/libc-symbols.h (HIDDEN_BUILTIN_JUMPTARGET): Define. * sysdeps/ia64/bcopy.S (bcopy): Use it for jump to memmove. * sysdeps/unix/sysv/linux/ia64/sysdep.S (__syscall_error): Access gprel errno if RTLD_PRIVATE_ERRNO or __thread __libc_errno/errno if USE___THREAD. --- sysdeps/ia64/bcopy.S | 2 +- sysdeps/ia64/fpu/libc_libm_error.c | 1 + sysdeps/ia64/fpu/libm_support.h | 8 ++++++++ 3 files changed, 10 insertions(+), 1 deletion(-) (limited to 'sysdeps/ia64') diff --git a/sysdeps/ia64/bcopy.S b/sysdeps/ia64/bcopy.S index a41c21d..bdabf5a 100644 --- a/sysdeps/ia64/bcopy.S +++ b/sysdeps/ia64/bcopy.S @@ -6,5 +6,5 @@ ENTRY(bcopy) mov in0 = in1 ;; mov in1 = r8 - br.cond.sptk.many HIDDEN_JUMPTARGET(memmove) + br.cond.sptk.many HIDDEN_BUILTIN_JUMPTARGET(memmove) END(bcopy) diff --git a/sysdeps/ia64/fpu/libc_libm_error.c b/sysdeps/ia64/fpu/libc_libm_error.c index 83a0bae..5a34878 100644 --- a/sysdeps/ia64/fpu/libc_libm_error.c +++ b/sysdeps/ia64/fpu/libc_libm_error.c @@ -11,3 +11,4 @@ __libm_error_support (void *arg1, void *arg2, void *retval, { __set_errno (ERANGE); } +libc_hidden_def (__libm_error_support) diff --git a/sysdeps/ia64/fpu/libm_support.h b/sysdeps/ia64/fpu/libm_support.h index 68ebdde..5d3498d 100644 --- a/sysdeps/ia64/fpu/libm_support.h +++ b/sysdeps/ia64/fpu/libm_support.h @@ -239,6 +239,7 @@ typedef enum } error_types; void __libm_error_support(void*,void*,void*,error_types); +libc_hidden_proto(__libm_error_support) #define BIAS_64 1023 #define EXPINF_64 2047 @@ -340,6 +341,13 @@ extern _LIB_VERSION_TYPE _LIB_VERSION; // This is a run-time variable and may effect // floating point behavior of the libm functions +#elif defined _LIBC + +# if !defined NOT_IN_libc && defined SHARED && defined DO_VERSIONING \ + && !defined HAVE_BROKEN_ALIAS_ATTRIBUTE && !defined NO_HIDDEN +# define __libm_error_support __GI___libm_error_support +# endif + #endif /* __ASSEMBLER__ */ /* Support for compatible assembler handling. */ -- cgit v1.1