mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-16 18:10:11 +00:00
27b0258934
2004-04-23 Jakub Jelinek <jakub@redhat.com> * 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.
15 lines
258 B
C
15 lines
258 B
C
/* Error handling in libm-style for libc. */
|
|
|
|
#include <errno.h>
|
|
|
|
#include "libm_support.h"
|
|
|
|
|
|
void
|
|
__libm_error_support (void *arg1, void *arg2, void *retval,
|
|
error_types input_tag)
|
|
{
|
|
__set_errno (ERANGE);
|
|
}
|
|
libc_hidden_def (__libm_error_support)
|