]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Tue, 31 Dec 2002 20:46:11 +0000 (20:46 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 31 Dec 2002 20:46:11 +0000 (20:46 +0000)
* io/sys/stat.h [__USE_MISC]: Define __need_timespec for struct stat.
* sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv): Adjust for
nsec resolution changes.
(xstat64_conv): Likewise.
(xstat32_conv): Likewise.
* sysdeps/unix/sysv/linux/kernel_stat.h: Add nsec resolution for
struct kernel_stat.
* sysdeps/unix/sysv/linux/bits/stat.h: Add nsec resolution for
structs stat and stat64.
* time/time.h (__timespec_defined): Define for __USE_MISC.

2002-12-31  Ulrich Drepper  <drepper@redhat.com>

* include/signal.h: Add libc_hidden_proto for __libc_current_sigrtmin
and __libc_current_sigrtmax.

2002-12-31  Jakub Jelinek  <jakub@redhat.com>

* include/errno.h (__errno_location): Add prototype.
Use libc_hidden_proto unconditionally.
* include/netdb.h (__h_errno_location): Use libc_hidden_proto
unconditionally.
* include/resolv.h (__res_state): Likewise.

* hurd/errno-loc.c (__errno_location): Add libc_hidden_def.
* include/sys/socket.h (accept): Add libc_hidden_proto.
* include/errno.h (__errno_location): Likewise.
* include/netdb.h (__h_errno_location): Likewise.
* include/resolv.h (__res_state): Likewise.
* include/unistd.h (__lseek): Likewise.
* sysdeps/generic/errno-loc.c (__errno_location): Add libc_hidden_def.
* sysdeps/generic/herrno-loc.c (__h_errno_location): Likewise.
* sysdeps/generic/res-state.c (__res_state): Likewise.
* sysdeps/generic/accept.c (accept): Likewise.
* sysdeps/generic/lseek.c (__lseek): Likewise.
* sysdeps/generic/allocrtsig.c (__libc_current_sigrtmin,
__libc_current_sigrtmax): Likewise.
* sysdeps/mach/hurd/accept.c (accept): Likewise.
* sysdeps/mach/hurd/lseek.c (__lseek): Likewise.
* sysdeps/unix/sysv/aix/accept.c (accept): Likewise.
* sysdeps/unix/sysv/aix/lseek.c (__lseek): Likewise.
* sysdeps/unix/sysv/linux/accept.S (accept): Likewise.
* sysdeps/unix/inet/syscalls.list (__GI_accept): New alias to accept.
* sysdeps/unix/sysv/linux/alpha/syscalls.list (__GI_accept): Likewise.
* sysdeps/unix/sysv/linux/hppa/syscalls.list (__GI_accept): Likewise.
* sysdeps/unix/sysv/linux/ia64/syscalls.list (__GI___lseek): New
alias to llseek.
(__GI_accept): New alias to accept.
* sysdeps/unix/sysv/linux/mips/syscalls.list (__GI_accept): Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (__GI___lseek):
New alias to llseek.
(__GI_accept): New alias to accept.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__GI_accept):
Likewise.
* sysdeps/unix/sysv/linux/x86_64/syscalls.list (__GI_accept):
Likewise.
* sysdeps/unix/syscalls.list (__GI___lseek): New alias to lseek.

* sysdeps/alpha/setjmp.S : Use libc_hidden_def(name) instead of
strong_alias (name, __GI_name).
* sysdeps/arm/bsd-_setjmp.S : Likewise.
* sysdeps/hppa/bsd-_setjmp.S : Likewise.
* sysdeps/i386/bsd-_setjmp.S : Likewise.
* sysdeps/mips/mips64/bsd-_setjmp.S : Likewise.
* sysdeps/mips/bsd-_setjmp.S : Likewise.
* sysdeps/powerpc/powerpc32/bsd-_setjmp.S : Likewise.
* sysdeps/powerpc/powerpc64/setjmp.S : Likewise.
* sysdeps/s390/s390-32/elf/setjmp.S : Likewise.
* sysdeps/s390/s390-32/bsd-_setjmp.S : Likewise.
* sysdeps/s390/s390-64/elf/setjmp.S : Likewise.
* sysdeps/s390/s390-64/bsd-_setjmp.S : Likewise.
* sysdeps/sh/bsd-_setjmp.S : Likewise.
* sysdeps/sparc/sparc32/setjmp.S : Likewise.
* sysdeps/unix/arm/fork.S : Likewise.
* sysdeps/unix/bsd/hp/m68k/vfork.S : Likewise.
* sysdeps/unix/bsd/i386/vfork.S : Likewise.
* sysdeps/unix/bsd/osf/alpha/fork.S : Likewise.
* sysdeps/unix/bsd/sun/m68k/vfork.S : Likewise.
* sysdeps/unix/bsd/ultrix4/mips/vfork.S : Likewise.
* sysdeps/unix/bsd/vax/vfork.S : Likewise.
* sysdeps/unix/i386/fork.S : Likewise.
* sysdeps/unix/mips/fork.S : Likewise.
* sysdeps/unix/sparc/fork.S : Likewise.
* sysdeps/unix/sparc/vfork.S : Likewise.
* sysdeps/unix/sysv/linux/arm/vfork.S : Likewise.
* sysdeps/unix/sysv/linux/cris/vfork.S : Likewise.
* sysdeps/unix/sysv/linux/i386/vfork.S : Likewise.
* sysdeps/unix/sysv/linux/ia64/fork.S : Likewise.
* sysdeps/unix/sysv/linux/ia64/setjmp.S : Likewise.
* sysdeps/unix/sysv/linux/ia64/vfork.S : Likewise.
* sysdeps/unix/sysv/linux/m68k/vfork.S : Likewise.
* sysdeps/unix/sysv/linux/sh/vfork.S : Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S : Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S : Likewise.
* sysdeps/unix/sysv/linux/sparc/fork.S : Likewise.
* sysdeps/unix/sysv/linux/sparc/vfork.S : Likewise.
* sysdeps/unix/sysv/linux/x86_64/vfork.S : Likewise.
* sysdeps/unix/fork.S : Likewise.
* sysdeps/vax/bsd-_setjmp.S : Likewise.
* sysdeps/x86_64/bsd-_setjmp.S : Likewise.

* sysdeps/unix/sysv/linux/ia64/sysdep.h: Guard against multiple
inclusion.

89 files changed:
ChangeLog
hurd/errno-loc.c
include/errno.h
include/netdb.h
include/resolv.h
include/signal.h
include/sys/socket.h
include/unistd.h
linuxthreads/ChangeLog
linuxthreads/sysdeps/i386/i686/pt-machine.h
linuxthreads/sysdeps/pthread/errno-loc.c
linuxthreads/sysdeps/pthread/herrno-loc.c
linuxthreads/sysdeps/pthread/list.h
linuxthreads/sysdeps/pthread/res-state.c
linuxthreads/sysdeps/unix/sysv/linux/allocrtsig.c
linuxthreads/sysdeps/unix/sysv/linux/fork.c
linuxthreads/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h
linuxthreads/sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h
linuxthreads/sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h
linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h
linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h
linuxthreads/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h
nptl/ChangeLog
nptl/sysdeps/pthread/list.h
nptl/sysdeps/unix/sysv/linux/allocrtsig.c
nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h
sysdeps/alpha/setjmp.S
sysdeps/arm/bsd-_setjmp.S
sysdeps/generic/accept.c
sysdeps/generic/allocrtsig.c
sysdeps/generic/errno-loc.c
sysdeps/generic/herrno-loc.c
sysdeps/generic/lseek.c
sysdeps/generic/res-state.c
sysdeps/hppa/bsd-_setjmp.S
sysdeps/i386/__longjmp.S
sysdeps/i386/bsd-_setjmp.S
sysdeps/mach/hurd/accept.c
sysdeps/mach/hurd/lseek.c
sysdeps/mips/bsd-_setjmp.S
sysdeps/mips/mips64/bsd-_setjmp.S
sysdeps/powerpc/powerpc32/bsd-_setjmp.S
sysdeps/powerpc/powerpc64/setjmp.S
sysdeps/s390/s390-32/bsd-_setjmp.S
sysdeps/s390/s390-32/elf/setjmp.S
sysdeps/s390/s390-64/bsd-_setjmp.S
sysdeps/s390/s390-64/elf/setjmp.S
sysdeps/sh/bsd-_setjmp.S
sysdeps/sparc/sparc32/setjmp.S
sysdeps/unix/arm/fork.S
sysdeps/unix/bsd/hp/m68k/vfork.S
sysdeps/unix/bsd/i386/vfork.S
sysdeps/unix/bsd/osf/alpha/fork.S
sysdeps/unix/bsd/sun/m68k/vfork.S
sysdeps/unix/bsd/ultrix4/mips/vfork.S
sysdeps/unix/bsd/vax/vfork.S
sysdeps/unix/fork.S
sysdeps/unix/i386/fork.S
sysdeps/unix/inet/syscalls.list
sysdeps/unix/mips/fork.S
sysdeps/unix/sparc/fork.S
sysdeps/unix/sparc/vfork.S
sysdeps/unix/syscalls.list
sysdeps/unix/sysv/aix/accept.c
sysdeps/unix/sysv/aix/lseek.c
sysdeps/unix/sysv/linux/accept.S
sysdeps/unix/sysv/linux/alpha/syscalls.list
sysdeps/unix/sysv/linux/arm/vfork.S
sysdeps/unix/sysv/linux/cris/vfork.S
sysdeps/unix/sysv/linux/hppa/syscalls.list
sysdeps/unix/sysv/linux/i386/vfork.S
sysdeps/unix/sysv/linux/ia64/fork.S
sysdeps/unix/sysv/linux/ia64/setjmp.S
sysdeps/unix/sysv/linux/ia64/syscalls.list
sysdeps/unix/sysv/linux/ia64/sysdep.h
sysdeps/unix/sysv/linux/ia64/vfork.S
sysdeps/unix/sysv/linux/m68k/vfork.S
sysdeps/unix/sysv/linux/mips/syscalls.list
sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list
sysdeps/unix/sysv/linux/sh/vfork.S
sysdeps/unix/sysv/linux/sparc/fork.S
sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S
sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S
sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list
sysdeps/unix/sysv/linux/sparc/vfork.S
sysdeps/unix/sysv/linux/x86_64/syscalls.list
sysdeps/unix/sysv/linux/x86_64/vfork.S
sysdeps/vax/bsd-_setjmp.S
sysdeps/x86_64/bsd-_setjmp.S

index 481ac7c1c20c9f115cb03f488ae72967e654d5db..0623e2056e021fe197bb73ab10278914d5ce18de 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
        * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
        * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
 
-        * io/sys/stat.h [__USE_MISC]: Define __need_timespec for struct
-        stat.
+       * io/sys/stat.h [__USE_MISC]: Define __need_timespec for struct stat.
 
-        * sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv): Adjust for
-        nsec resolution changes.
-        (xstat64_conv): Likewise.
-        (xstat32_conv): Likewise.
+       * sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv): Adjust for
+       nsec resolution changes.
+       (xstat64_conv): Likewise.
+       (xstat32_conv): Likewise.
 
-        * sysdeps/unix/sysv/linux/kernel_stat.h: Add nsec resolution for
-        struct kernel_stat.
+       * sysdeps/unix/sysv/linux/kernel_stat.h: Add nsec resolution for
+       struct kernel_stat.
 
-        * sysdeps/unix/sysv/linux/bits/stat.h: Add nsec resolution for
-        structs stat and stat64.
+       * sysdeps/unix/sysv/linux/bits/stat.h: Add nsec resolution for
+       structs stat and stat64.
 
-        * time/time.h (__timespec_defined): Define for __USE_MISC.
+       * time/time.h (__timespec_defined): Define for __USE_MISC.
+
+2002-12-31  Ulrich Drepper  <drepper@redhat.com>
+
+       * include/signal.h: Add libc_hidden_proto for __libc_current_sigrtmin
+       and __libc_current_sigrtmax.
+
+2002-12-31  Jakub Jelinek  <jakub@redhat.com>
+
+       * include/errno.h (__errno_location): Add prototype.
+       Use libc_hidden_proto unconditionally.
+       * include/netdb.h (__h_errno_location): Use libc_hidden_proto
+       unconditionally.
+       * include/resolv.h (__res_state): Likewise.
+
+       * hurd/errno-loc.c (__errno_location): Add libc_hidden_def.
+       * include/sys/socket.h (accept): Add libc_hidden_proto.
+       * include/errno.h (__errno_location): Likewise.
+       * include/netdb.h (__h_errno_location): Likewise.
+       * include/resolv.h (__res_state): Likewise.
+       * include/unistd.h (__lseek): Likewise.
+       * sysdeps/generic/errno-loc.c (__errno_location): Add libc_hidden_def.
+       * sysdeps/generic/herrno-loc.c (__h_errno_location): Likewise.
+       * sysdeps/generic/res-state.c (__res_state): Likewise.
+       * sysdeps/generic/accept.c (accept): Likewise.
+       * sysdeps/generic/lseek.c (__lseek): Likewise.
+       * sysdeps/generic/allocrtsig.c (__libc_current_sigrtmin,
+       __libc_current_sigrtmax): Likewise.
+       * sysdeps/mach/hurd/accept.c (accept): Likewise.
+       * sysdeps/mach/hurd/lseek.c (__lseek): Likewise.
+       * sysdeps/unix/sysv/aix/accept.c (accept): Likewise.
+       * sysdeps/unix/sysv/aix/lseek.c (__lseek): Likewise.
+       * sysdeps/unix/sysv/linux/accept.S (accept): Likewise.
+       * sysdeps/unix/inet/syscalls.list (__GI_accept): New alias to accept.
+       * sysdeps/unix/sysv/linux/alpha/syscalls.list (__GI_accept): Likewise.
+       * sysdeps/unix/sysv/linux/hppa/syscalls.list (__GI_accept): Likewise.
+       * sysdeps/unix/sysv/linux/ia64/syscalls.list (__GI___lseek): New
+       alias to llseek.
+       (__GI_accept): New alias to accept.
+       * sysdeps/unix/sysv/linux/mips/syscalls.list (__GI_accept): Likewise.
+       * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (__GI___lseek):
+       New alias to llseek.
+       (__GI_accept): New alias to accept.
+       * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__GI_accept):
+       Likewise.
+       * sysdeps/unix/sysv/linux/x86_64/syscalls.list (__GI_accept):
+       Likewise.
+       * sysdeps/unix/syscalls.list (__GI___lseek): New alias to lseek.
+
+       * sysdeps/alpha/setjmp.S : Use libc_hidden_def(name) instead of
+       strong_alias (name, __GI_name).
+       * sysdeps/arm/bsd-_setjmp.S : Likewise.
+       * sysdeps/hppa/bsd-_setjmp.S : Likewise.
+       * sysdeps/i386/bsd-_setjmp.S : Likewise.
+       * sysdeps/mips/mips64/bsd-_setjmp.S : Likewise.
+       * sysdeps/mips/bsd-_setjmp.S : Likewise.
+       * sysdeps/powerpc/powerpc32/bsd-_setjmp.S : Likewise.
+       * sysdeps/powerpc/powerpc64/setjmp.S : Likewise.
+       * sysdeps/s390/s390-32/elf/setjmp.S : Likewise.
+       * sysdeps/s390/s390-32/bsd-_setjmp.S : Likewise.
+       * sysdeps/s390/s390-64/elf/setjmp.S : Likewise.
+       * sysdeps/s390/s390-64/bsd-_setjmp.S : Likewise.
+       * sysdeps/sh/bsd-_setjmp.S : Likewise.
+       * sysdeps/sparc/sparc32/setjmp.S : Likewise.
+       * sysdeps/unix/arm/fork.S : Likewise.
+       * sysdeps/unix/bsd/hp/m68k/vfork.S : Likewise.
+       * sysdeps/unix/bsd/i386/vfork.S : Likewise.
+       * sysdeps/unix/bsd/osf/alpha/fork.S : Likewise.
+       * sysdeps/unix/bsd/sun/m68k/vfork.S : Likewise.
+       * sysdeps/unix/bsd/ultrix4/mips/vfork.S : Likewise.
+       * sysdeps/unix/bsd/vax/vfork.S : Likewise.
+       * sysdeps/unix/i386/fork.S : Likewise.
+       * sysdeps/unix/mips/fork.S : Likewise.
+       * sysdeps/unix/sparc/fork.S : Likewise.
+       * sysdeps/unix/sparc/vfork.S : Likewise.
+       * sysdeps/unix/sysv/linux/arm/vfork.S : Likewise.
+       * sysdeps/unix/sysv/linux/cris/vfork.S : Likewise.
+       * sysdeps/unix/sysv/linux/i386/vfork.S : Likewise.
+       * sysdeps/unix/sysv/linux/ia64/fork.S : Likewise.
+       * sysdeps/unix/sysv/linux/ia64/setjmp.S : Likewise.
+       * sysdeps/unix/sysv/linux/ia64/vfork.S : Likewise.
+       * sysdeps/unix/sysv/linux/m68k/vfork.S : Likewise.
+       * sysdeps/unix/sysv/linux/sh/vfork.S : Likewise.
+       * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S : Likewise.
+       * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S : Likewise.
+       * sysdeps/unix/sysv/linux/sparc/fork.S : Likewise.
+       * sysdeps/unix/sysv/linux/sparc/vfork.S : Likewise.
+       * sysdeps/unix/sysv/linux/x86_64/vfork.S : Likewise.
+       * sysdeps/unix/fork.S : Likewise.
+       * sysdeps/vax/bsd-_setjmp.S : Likewise.
+       * sysdeps/x86_64/bsd-_setjmp.S : Likewise.
+
+       * sysdeps/unix/sysv/linux/ia64/sysdep.h: Guard against multiple
+       inclusion.
 
 2002-12-31  Ulrich Drepper  <drepper@redhat.com>
 
index 85e4e7d47be0d8b048a941cc4f38b1ffa6aa539a..9ff09ebb60916ccc8c144307b6c11182f1a95d04 100644 (file)
@@ -26,3 +26,4 @@ __errno_location (void)
   return (int *) __hurd_threadvar_location (_HURD_THREADVAR_ERRNO);
 }
 strong_alias (__errno_location, __hurd_errno_location)
+libc_hidden_def (__errno_location)
index 05888c1363494c2a1028dfd16e0b7dcea5c0f675..1b0aabc6900322ddd356bf39edb89d2db20d262a 100644 (file)
@@ -35,6 +35,11 @@ extern __thread int errno attribute_tls_model_ie;
 
 # define __set_errno(val) (errno = (val))
 
+# ifndef __ASSEMBLER__
+extern int *__errno_location (void) __THROW __attribute__ ((__const__));
+libc_hidden_proto (__errno_location)
+# endif
+
 #endif /* _ERRNO_H */
 
 #endif /* ! _ERRNO_H */
index 54cdda1eea66752f389d2e08141ff0d9eac2d8c1..7b446058a155ee96c5ebf2fb09a6bbe5e71d901a 100644 (file)
@@ -37,6 +37,7 @@ libc_hidden_proto (getaddrinfo)
 libc_hidden_proto (getnameinfo)
 libc_hidden_proto (freeaddrinfo)
 libc_hidden_proto (gai_strerror)
+libc_hidden_proto (__h_errno_location)
 
 /* Document internal interfaces.  */
 extern int __gethostent_r (struct hostent *__restrict __result_buf,
index 8b5b8526470ffbd61b22ae2a6ae51ee6ad5ef8e0..f9635dd87d95d1372e571dbce1f807b03380d8c7 100644 (file)
@@ -46,6 +46,7 @@ extern int res_ourserver_p (const res_state __statp,
                            const struct sockaddr_in6 *__inp);
 libc_hidden_proto (__res_ninit)
 libc_hidden_proto (__res_randomid)
+libc_hidden_proto (__res_state)
 
 int __libc_res_nquery (res_state, const char *, int, int, u_char *, int,
                       u_char **);
index 0b6aef6522a5e721fa0b615f72a42dbd5331e494..b03b1a3ec4eb2b5b582a1c9a83b7164cf3c52989 100644 (file)
@@ -9,6 +9,8 @@ libc_hidden_proto (sigfillset)
 libc_hidden_proto (sigismember)
 libc_hidden_proto (__sigpause)
 libc_hidden_proto (raise)
+libc_hidden_proto (__libc_current_sigrtmin)
+libc_hidden_proto (__libc_current_sigrtmax)
 
 /* Now define the internal interfaces.  */
 extern __sighandler_t __bsd_signal (int __sig, __sighandler_t __handler);
index f943e9b80b52279929579b56b16cac44f851b5c4..05798095f8c413cd4a47a67f983f1e32cd999121 100644 (file)
@@ -118,6 +118,7 @@ extern int __listen (int __fd, int __n) attribute_hidden;
 extern int __libc_accept (int __fd, __SOCKADDR_ARG __addr,
                          socklen_t *__restrict __addr_len)
      __THROW;
+libc_hidden_proto (accept)
 
 /* Return the length of a `sockaddr' structure.  */
 #ifdef _HAVE_SA_LEN
index 7481af7bc7672aeddcc1a10789046bb32f395a46..eba14514c188205247e34fdb34bc06ece11de039 100644 (file)
@@ -21,6 +21,7 @@ extern int __access (__const char *__name, int __type);
 extern int __euidaccess (__const char *__name, int __type);
 extern __off64_t __lseek64 (int __fd, __off64_t __offset, int __whence);
 extern __off_t __lseek (int __fd, __off_t __offset, int __whence);
+libc_hidden_proto (__lseek)
 extern __off_t __libc_lseek (int __fd, __off_t __offset, int __whence);
 extern __off64_t __libc_lseek64 (int __fd, __off64_t __offset, int __whence);
 extern ssize_t __pread (int __fd, void *__buf, size_t __nbytes,
index 16e26d8950b2315a02cc2d81a3c9ac0159ebbd26..fafea629076b5f18b6e009314de3255b072d95de 100644 (file)
@@ -1,5 +1,29 @@
 2002-12-31  Jakub Jelinek  <jakub@redhat.com>
 
+       * sysdeps/i386/i686/pt-machine.h: Use __ASSEMBLER__ instead of
+       ASSEMBLER test macro.
+       * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
+       * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
+       * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
+       * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
+       * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
+       * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
+
+       * sysdeps/pthread/errno-loc.c (__errno_location): Add
+       libc_hidden_def.
+       * sysdeps/pthread/herrno-loc.c (__h_errno_location): Likewise.
+       * sysdeps/pthread/res-state.c (__res_state): Likewise.
+       * sysdeps/unix/sysv/linux/allocrtsig.c (__libc_current_sigrtmin,
+       __libc_current_sigrtmax): Likewise.
+       * Versions [libc] (GLIBC_PRIVATE): Remove __libc_internal_tsd_get,
+       __libc_internal_tsd_set, __libc_internal_tsd_address,
+       __libc_alloca_cutoff.
+       [libpthread] (GLIBC_PRIVATE): Remove __libc_internal_tsd_get,
+       __libc_internal_tsd_set, __libc_internal_tsd_address.
+
+       * sysdeps/pthread/list.h: Remove assert.h include.
+       * sysdeps/unix/sysv/linux/fork.c: Include <fork.h>, not "fork.h".
+
        * sysdeps/pthread/list.h: New file.
        * sysdeps/unix/sysv/linux/jmp-unwind.c: New file.
        * sysdeps/unix/sysv/linux/fork.c: New file.
index 3596224c12d27ebf4023a11ff66a90b75d924ee8..3c28118f2ee0f3f469ca0109c7bb289c2f2eebd0 100644 (file)
@@ -27,7 +27,7 @@
 #endif
 #include "kernel-features.h"
 
-#ifndef ASSEMBLER
+#ifndef __ASSEMBLER__
 extern long int testandset (int *spinlock);
 extern int __compare_and_swap (long int *p, long int oldval, long int newval);
 
index e79a7cf814fbfa7e035287e2f7c791d73cd7a1b0..86dca2829ed349b842d8ac68199fb7a4175e30a8 100644 (file)
@@ -42,3 +42,4 @@ __errno_location (void)
 #endif
   return &errno;
 }
+libc_hidden_def (__errno_location)
index ead9a16065950a19b8c73631c2a3b2a877a05a76..24712c706d78455c92106eb4b0082ce66733d761 100644 (file)
@@ -39,3 +39,4 @@ __h_errno_location (void)
 #endif
   return &h_errno;
 }
+libc_hidden_def (__h_errno_location)
index 1d6a4cfa652fb5c52066eae3c77b9b7bd16ab3ee..43186a2d51b1756474981b6385eb1aa3241189c5 100644 (file)
@@ -20,8 +20,6 @@
 #ifndef _LIST_H
 #define _LIST_H        1
 
-#include <assert.h>
-
 /* The definitions of this file are adopted from those which can be
    found in the Linux kernel headers to enable people familiar with
    the latter find their way in these sources as well.  */
index 90fe41c80bafe13ba7c9897cd197d58879106f8a..afa48b89ff1da2d5b01ae10b956ffa3f08e67a16 100644 (file)
@@ -41,3 +41,4 @@ __res_state (void)
 #endif
   return &_res;
 }
+libc_hidden_def (__res_state)
index a18753233ab4145ee13686da11ab8f805fc50fbd..af1581a4c38e14b26e5ae5dd29079e7a419edf94 100644 (file)
@@ -57,6 +57,7 @@ __libc_current_sigrtmin (void)
   return current_rtmin;
 }
 strong_alias (__libc_current_sigrtmin, __libc_current_sigrtmin_private);
+libc_hidden_def (__libc_current_sigrtmin)
 
 /* Return number of available real-time signal with lowest priority.  */
 int
@@ -67,6 +68,7 @@ __libc_current_sigrtmax (void)
   return current_rtmax;
 }
 strong_alias (__libc_current_sigrtmax, __libc_current_sigrtmax_private);
+libc_hidden_def (__libc_current_sigrtmax)
 
 /* Allocate real-time signal with highest/lowest available
    priority.  Please note that we don't use a lock since we assume
index c519fa067748fb705da8910a6f593eab8a2564a7..49f1b088c5fb70760b4cd99fdb065ba93cdc61a1 100644 (file)
@@ -18,7 +18,7 @@
    02111-1307 USA.  */
 
 #include <errno.h>
-#include "fork.h"
+#include <fork.h>
 #include <bits/libc-lock.h>
 
 weak_extern (__pthread_fork);
index c2455a7464f5032bdba9d8763a4b33c42077b2a5..6189b7b15286975a151d20590cefe67557c66bad 100644 (file)
@@ -20,7 +20,7 @@
 #include <sysdep.h>
 #include <tls.h>
 #include <pt-machine.h>
-#ifndef ASSEMBLER
+#ifndef __ASSEMBLER__
 # include <linuxthreads/internals.h>
 #endif
 
@@ -83,7 +83,7 @@
 # define __local_multiple_threads __pthread_multiple_threads
 #endif
 
-# ifndef ASSEMBLER
+# ifndef __ASSEMBLER__
 #  if defined FLOATING_STACKS && USE___THREAD && defined PIC
 #   define SINGLE_THREAD_P \
   __builtin_expect (THREAD_GETMEM (THREAD_SELF,                                      \
@@ -112,7 +112,7 @@ extern int __local_multiple_threads attribute_hidden;
 #  endif
 # endif
 
-#elif !defined ASSEMBLER
+#elif !defined __ASSEMBLER__
 
 /* This code should never be used but we define it anyhow.  */
 # define SINGLE_THREAD_P (1)
index 723c2e4117f33f5b7bce64af6262a84c9c991df8..ec787da31c160c34213cf100fba4d20db61de4ad 100644 (file)
@@ -19,7 +19,7 @@
 
 #include <sysdep.h>
 #include <tls.h>
-#ifndef ASSEMBLER
+#ifndef __ASSEMBLER__
 # include <linuxthreads/internals.h>
 #endif
 
@@ -99,7 +99,7 @@ __syscall_error_##args:                                                             \
 #define COPY_ARGS_6    COPY_ARGS_5 mov out5 = in5;
 #define COPY_ARGS_7    COPY_ARGS_6 mov out6 = in6;
 
-# ifndef ASSEMBLER
+# ifndef __ASSEMBLER__
 #  define SINGLE_THREAD_P \
   __builtin_expect (THREAD_GETMEM (THREAD_SELF,                                      \
                                   p_header.data.multiple_threads) == 0, 1)
@@ -108,7 +108,7 @@ __syscall_error_##args:                                                           \
   adds r14 = MULTIPLE_THREADS_OFFSET, r13 ;; ld4 r14 = [r14] ;; cmp4.ne p6, p7 = 0, r14 ;;
 # endif
 
-#elif !defined ASSEMBLER
+#elif !defined __ASSEMBLER__
 
 /* This code should never be used but we define it anyhow.  */
 # define SINGLE_THREAD_P (1)
index fb6e92c37a2b44655dae9e70faeec5c2cf65520c..2711c222d468e5c145230f542dbe992233b1678d 100644 (file)
@@ -18,7 +18,7 @@
    02111-1307 USA.  */
 
 #include <sysdep.h>
-#ifndef ASSEMBLER
+#ifndef __ASSEMBLER__
 # include <linuxthreads/internals.h>
 #endif
 
@@ -90,7 +90,7 @@
 #  define __local_multiple_threads __pthread_multiple_threads
 # endif
 
-# ifndef ASSEMBLER
+# ifndef __ASSEMBLER__
 extern int __local_multiple_threads attribute_hidden;
 #  define SINGLE_THREAD_P __builtin_expect (__local_multiple_threads == 0, 1)
 # else
@@ -107,7 +107,7 @@ extern int __local_multiple_threads attribute_hidden;
 #  endif
 # endif
 
-#elif !defined ASSEMBLER
+#elif !defined __ASSEMBLER__
 
 /* This code should never be used but we define it anyhow.  */
 # define SINGLE_THREAD_P (1)
index f6afb81373d7900db97a490c9296775c2144113b..66aaeabdde35fc33ff8e7cc18f75284911831d76 100644 (file)
@@ -19,7 +19,7 @@
 
 #include <sysdep.h>
 #include <tls.h>
-#ifndef ASSEMBLER
+#ifndef __ASSEMBLER__
 # include <linuxthreads/internals.h>
 #endif
 
@@ -81,7 +81,7 @@ SYSCALL_ERROR_HANDLER_ENTRY(__syscall_error_handler2)                       \
 #define COPY_ARGS_5    COPY_ARGS_4 mov %i4, %o4;
 #define COPY_ARGS_6    COPY_ARGS_5 mov %i5, %o5;
 
-# ifndef ASSEMBLER
+# ifndef __ASSEMBLER__
 #  define SINGLE_THREAD_P \
   __builtin_expect (THREAD_GETMEM (THREAD_SELF,                                      \
                                   p_header.data.multiple_threads) == 0, 1)
@@ -89,7 +89,7 @@ SYSCALL_ERROR_HANDLER_ENTRY(__syscall_error_handler2)                       \
 #  define SINGLE_THREAD_P ld [%g6 + MULTIPLE_THREADS_OFFSET], %g1
 # endif
 
-#elif !defined ASSEMBLER
+#elif !defined __ASSEMBLER__
 
 /* This code should never be used but we define it anyhow.  */
 # define SINGLE_THREAD_P (1)
index d236bf33b711ff2911f5cd06a61acc8504b56061..7d4f9b5ea8d3ea2b223cd52e350e111b5cfb54e9 100644 (file)
@@ -19,7 +19,7 @@
 
 #include <sysdep.h>
 #include <tls.h>
-#ifndef ASSEMBLER
+#ifndef __ASSEMBLER__
 # include <linuxthreads/internals.h>
 #endif
 
@@ -80,7 +80,7 @@ SYSCALL_ERROR_HANDLER_ENTRY(__syscall_error_handler2)                       \
 #define COPY_ARGS_5    COPY_ARGS_4 mov %i4, %o4;
 #define COPY_ARGS_6    COPY_ARGS_5 mov %i5, %o5;
 
-# ifndef ASSEMBLER
+# ifndef __ASSEMBLER__
 #  define SINGLE_THREAD_P \
   __builtin_expect (THREAD_GETMEM (THREAD_SELF,                                      \
                                   p_header.data.multiple_threads) == 0, 1)
@@ -88,7 +88,7 @@ SYSCALL_ERROR_HANDLER_ENTRY(__syscall_error_handler2)                       \
 #  define SINGLE_THREAD_P ld [%g6 + MULTIPLE_THREADS_OFFSET], %g1
 # endif
 
-#elif !defined ASSEMBLER
+#elif !defined __ASSEMBLER__
 
 /* This code should never be used but we define it anyhow.  */
 # define SINGLE_THREAD_P (1)
index 1c7a95dcd818335a522613dc07b3532b4b2c4089..ca8183f4e93d4f13019408ee2635470b591da15a 100644 (file)
@@ -20,7 +20,7 @@
 #include <sysdep.h>
 #include <tls.h>
 #include <pt-machine.h>
-#ifndef ASSEMBLER
+#ifndef __ASSEMBLER__
 # include <linuxthreads/internals.h>
 #endif
 
 #  define __local_multiple_threads __libc_multiple_threads
 # endif
 
-# ifndef ASSEMBLER
+# ifndef __ASSEMBLER__
 extern int __local_multiple_threads attribute_hidden;
 #   define SINGLE_THREAD_P \
   __builtin_expect (__local_multiple_threads == 0, 1)
@@ -110,7 +110,7 @@ extern int __local_multiple_threads attribute_hidden;
 #  define SINGLE_THREAD_P cmpl $0, __local_multiple_threads(%rip)
 # endif
 
-#elif !defined ASSEMBLER
+#elif !defined __ASSEMBLER__
 
 /* This code should never be used but we define it anyhow.  */
 # define SINGLE_THREAD_P (1)
index 119498276734d6ac412f7d8aa73e6e4d5b75037c..6eb17e4fcb8a7aa791ad585309e0efde2715bc7e 100644 (file)
@@ -1,3 +1,13 @@
+2002-12-31  Jakub Jelinek  <jakub@redhat.com>
+
+       * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Use __ASSEMBLER__
+       instead of ASSEMBLER test macro.
+
+       * sysdeps/unix/sysv/linux/allocrtsig.c (__libc_current_sigrtmin,
+       __libc_current_sigrtmax): Add libc_hidden_def.
+
+       * sysdeps/pthread/list.h: Remove assert.h include.
+
 2002-12-31  Ulrich Drepper  <drepper@redhat.com>
 
        * sysdeps/pthread/pt-initfini.c (call_initialize_minimal): Use
index 1d6a4cfa652fb5c52066eae3c77b9b7bd16ab3ee..43186a2d51b1756474981b6385eb1aa3241189c5 100644 (file)
@@ -20,8 +20,6 @@
 #ifndef _LIST_H
 #define _LIST_H        1
 
-#include <assert.h>
-
 /* The definitions of this file are adopted from those which can be
    found in the Linux kernel headers to enable people familiar with
    the latter find their way in these sources as well.  */
index 5badaea9ec0ac38ab555b3599c375e069a34dfb9..e3622c6076956272ce039934c75ee8766a56d49d 100644 (file)
@@ -31,6 +31,7 @@ __libc_current_sigrtmin (void)
 {
   return current_rtmin;
 }
+libc_hidden_def (__libc_current_sigrtmin)
 strong_alias (__libc_current_sigrtmin, __libc_current_sigrtmin_private)
 
 
@@ -39,6 +40,7 @@ __libc_current_sigrtmax (void)
 {
   return current_rtmax;
 }
+libc_hidden_def (__libc_current_sigrtmax)
 strong_alias (__libc_current_sigrtmax, __libc_current_sigrtmax_private)
 
 
index 9a3cb04d7316c34f05be2bf6db3004bb9876b5c1..d9b51a4da563b51e2a31fe72769856a03bbe8e01 100644 (file)
@@ -19,7 +19,7 @@
 
 #include <sysdep.h>
 #include <tls.h>
-#ifndef ASSEMBLER
+#ifndef __ASSEMBLER__
 # include <nptl/pthreadP.h>
 #endif
 
@@ -76,7 +76,7 @@
 # define POPCARGS_4    POPCARGS_2
 # define POPCARGS_5    POPCARGS_2
 
-# ifndef ASSEMBLER
+# ifndef __ASSEMBLER__
 #  define SINGLE_THREAD_P \
   __builtin_expect (THREAD_GETMEM (THREAD_SELF,                                      \
                                   header.data.multiple_threads) == 0, 1)
@@ -84,7 +84,7 @@
 #  define SINGLE_THREAD_P cmpl $0, %gs:MULTIPLE_THREADS_OFFSET
 # endif
 
-#elif !defined ASSEMBLER
+#elif !defined __ASSEMBLER__
 
 /* This code should never be used but we define it anyhow.  */
 # define SINGLE_THREAD_P (1)
index 5752da797515d298ab7a7a5c78a911f618a5734c..2e38f0031d2c0e4f4a16c57c163c1e7278c5d3d3 100644 (file)
@@ -77,7 +77,7 @@ ENTRY(_setjmp)
        mov     0, a1
        br      $sigsetjmp_local
 END(_setjmp)
-strong_alias (_setjmp, __GI__setjmp)
+libc_hidden_def (_setjmp)
 
 ENTRY(setjmp)
        ldgp    gp, 0(pv)
index ac039ca772a268186160c526fac52612475d7360..c4a094e505344d627a2ef47b1696149e5bbb72f0 100644 (file)
@@ -27,4 +27,4 @@ ENTRY (_setjmp)
        mov     r1, #0
        b       PLTJMP(C_SYMBOL_NAME(__sigsetjmp))
 END (_setjmp)
-strong_alias (_setjmp, __GI__setjmp)
+libc_hidden_def (_setjmp)
index b6ea14ee00252c3702ceb9daf5afa6e8c8276ba8..dad34cedddaf7aa1cd8452db3bba0f13b4bdb4b1 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1995, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1995, 1996, 1997, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -33,6 +33,7 @@ accept (fd, addr, addr_len)
   __set_errno (ENOSYS);
   return -1;
 }
+libc_hidden_def (accept)
 
 
 stub_warning (accept)
index d8d89431528ff75fbac088bf43c7903597a7b3e8..ac8d2b6bfeec4dcce268b75ae2c156fb60a91987 100644 (file)
@@ -62,6 +62,7 @@ __libc_current_sigrtmin (void)
 #endif
   return current_rtmin;
 }
+libc_hidden_def (__libc_current_sigrtmin)
 
 /* Return number of available real-time signal with lowest priority.  */
 int
@@ -73,6 +74,7 @@ __libc_current_sigrtmax (void)
 #endif
   return current_rtmax;
 }
+libc_hidden_def (__libc_current_sigrtmax)
 
 /* Allocate real-time signal with highest/lowest available
    priority.  Please note that we don't use a lock since we assume
index 8332a46ad7721b08ec2d4b0b78b388e5c4e018ec..fd16103b1107d647658531f89c3338d930ce55b3 100644 (file)
@@ -34,3 +34,4 @@ __errno_location (void)
 {
   return &errno;
 }
+libc_hidden_def (__errno_location)
index deb1676dbc5b96c6ab1bfb7fef7caf3f552c8036..fd6deeb3307b0b397949495263df1528b0e50925 100644 (file)
@@ -31,3 +31,4 @@ __h_errno_location (void)
 {
   return &h_errno;
 }
+libc_hidden_def (__h_errno_location)
index adf425be61a4051e7aef0fa3bea6ec5a6824ab4d..6daf6ef154d912df68cdeb8ac970c40486e899a3 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1995, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1995, 1996, 1997, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -47,6 +47,7 @@ __lseek (fd, offset, whence)
   return -1;
 }
 stub_warning (lseek)
+libc_hidden_def (__lseek)
 
 weak_alias (__lseek, lseek)
 #include <stub-tag.h>
index ec9951e82fefa9c36687a12853fab3318f3e7bcb..0c2cb6c9488644f464f307191dbe30da18579887 100644 (file)
@@ -33,3 +33,4 @@ __res_state (void)
 {
   return &_res;
 }
+libc_hidden_def (__res_state)
index 31aceb0703497140f7951a8676b6f52ea778e1bd..e5ec94c122387a7a94670875629519c5756e0088 100644 (file)
@@ -36,4 +36,4 @@ _setjmp:
        ldi     0, %r25
 
        .procend
-strong_alias (_setjmp, __GI__setjmp)
+libc_hidden_def (_setjmp)
index d3237da22e7703f0e10ed628d4e1882104b7a442..6b590f7f041d855233b3bdb3767b6842db1e7ab8 100644 (file)
@@ -1,5 +1,5 @@
 /* longjmp for i386.
-   Copyright (C) 1995, 1996, 1997, 1998, 2000 Free Software Foundation, Inc.
+   Copyright (C) 1995,1996,1997,1998,2000,2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
index 364525b168e6e263bf9c49a571f656c95080ac3d..aa8df167d0050aa7bea26d7f926c579a858b18a2 100644 (file)
@@ -53,4 +53,4 @@ ENTRY (BP_SYM (_setjmp))
        movl %eax, JB_SIZE(%edx) /* No signal mask set.  */
        ret
 END (BP_SYM (_setjmp))
-strong_alias (_setjmp, __GI__setjmp)
+libc_hidden_def (_setjmp)
index af6c39593854f19fc6df3b4e975ef111eb49c436..362c42c5bebc76e7c8ba7c72c830f2d8cad3204c 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992, 1993, 1994, 1997, 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1992,1993,1994,1997,1999,2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -84,3 +84,4 @@ accept (fd, addrarg, addr_len)
 
   return _hurd_intern_fd (new, O_IGNORE_CTTY, 1);
 }
+libc_hidden_def (accept)
index 87cc69d9efe9c48fbfde1f390d439e3e8dea5c44..e4b70b3fa2bbf5210e1bc2ab988d8d8166d33eda 100644 (file)
@@ -27,4 +27,5 @@ __libc_lseek (int fd, off_t offset, int whence)
 }
 
 weak_alias (__libc_lseek, __lseek)
+libc_hidden_def (__lseek)
 weak_alias (__libc_lseek, lseek)
index a175a9c8203b15f4eb269ac8da6f3bc393371a83..5e3ad503055acec78240e99b691318958a732921 100644 (file)
@@ -40,4 +40,4 @@ ENTRY (_setjmp)
        j       C_SYMBOL_NAME (__sigsetjmp)
 #endif
        .end    _setjmp
-strong_alias (_setjmp, __GI__setjmp)
+libc_hidden_def (_setjmp)
index 489bcef5283a3a1e536e1a02f12fb989bf7187a3..c0ff0d76212e64c9456747be7fe3ec0b817a40bd 100644 (file)
@@ -34,4 +34,4 @@ ENTRY (_setjmp)
        nop
        jr t9
        dli a1, 0               /* Pass a second argument of zero.  */
-strong_alias (_setjmp, __GI__setjmp)
+libc_hidden_def (_setjmp)
index d5ba978635fcfd74b58545d6daaca0f7fb24dfe3..ce05f4ac9162811245c84b70377f1e6f4627d30d 100644 (file)
@@ -28,4 +28,4 @@ ENTRY (BP_SYM (_setjmp))
        li r4,0                 /* Set second argument to 0.  */
        b JUMPTARGET(BP_SYM (__sigsetjmp))
 END (BP_SYM (_setjmp))
-strong_alias (_setjmp, __GI__setjmp)
+libc_hidden_def (_setjmp)
index e48c23217239f4c1f66e9f4ce43bf3094c1a420f..4ee6c9447ad541cf797b5594dbda73e4e4fbf7fa 100644 (file)
@@ -77,7 +77,7 @@ ENTRY (BP_SYM (_setjmp))
        li r4,0                 /* Set second argument to 0.  */
        b       ___sigsetjmp
 END (BP_SYM (_setjmp))
-strong_alias (_setjmp, __GI__setjmp)
+libc_hidden_def (_setjmp)
 
 ENTRY (BP_SYM (__setjmp))
        li r4,1                 /* Set second argument to 1.  */
index 2f703e0c1be8e2d26a671893d869e051e8d71c9a..01c349d181452d0ab2a91e752ba8b1d975424456 100644 (file)
@@ -44,4 +44,4 @@ ENTRY(_setjmp)
 .L1:    .long  __sigsetjmp
 #endif
 END (_setjmp)
-strong_alias (_setjmp, __GI__setjmp)
+libc_hidden_def (_setjmp)
index 6cc02bd36126498e4a326a9855dfa0eb3599469d..f785201d756709a58d7e98d2841aa506eb9d2730 100644 (file)
@@ -34,7 +34,7 @@ END (setjmp)
        /* Binary compatibility entry point.  */
 ENTRY(_setjmp)
        .weak  C_SYMBOL_NAME (_setjmp)
-strong_alias (_setjmp, __GI__setjmp)
+libc_hidden_def (_setjmp)
 ENTRY(__setjmp)
        lhi    %r3,0                /* second argument of zero */
 
index 095443ac0da13d140d2d4bf7cb0a0fe47d8a9a6b..78c6563b664cf6cd1557fa0a31af0971475da025 100644 (file)
@@ -32,4 +32,4 @@ ENTRY(_setjmp)
        jg     __sigsetjmp          /* Branch to __sigsetjmp.  */
 #endif
 END (_setjmp)
-strong_alias (_setjmp, __GI__setjmp)
+libc_hidden_def (_setjmp)
index 94f6bba043ec12fec8571ed8166c91534d1eb8d9..657514d0f04e6b2a3b050081e41c4fa22dc5c1e8 100644 (file)
@@ -34,7 +34,7 @@ END (setjmp)
        /* Binary compatibility entry point.  */
 ENTRY(_setjmp)
         .weak  C_SYMBOL_NAME (_setjmp)
-strong_alias (_setjmp, __GI__setjmp)
+libc_hidden_def (_setjmp)
 ENTRY(__setjmp)
         slgr   %r3,%r3              /* Second argument of zero.  */
 
index cf86b0f101801d8f538f4c50eb52e88ce4aca966..2811fcfd1b50ef73bcf226ded12444e0aa62f92e 100644 (file)
@@ -49,4 +49,4 @@ ENTRY (_setjmp)
        .long   C_SYMBOL_NAME(__sigsetjmp)
 #endif
 END (_setjmp)
-strong_alias (_setjmp, __GI__setjmp)
+libc_hidden_def (_setjmp)
index 5d61c1827606cf213796ac8b68a8dadbd3aa8130..883ea06297eda76654a6a753cccdc49eba22c61b 100644 (file)
@@ -27,7 +27,7 @@ ENTRY(_setjmp)
        b       1f
         set    0, %o1
 END(_setjmp)
-strong_alias (_setjmp, __GI__setjmp)
+libc_hidden_def (_setjmp)
 
 ENTRY(setjmp)
        set     1, %o1
index 19981451b6ea27f690d09179e123f913c0a9fe96..b317b66a976c712a90c335038cd09903b7a16b25 100644 (file)
@@ -29,6 +29,6 @@ SYSCALL__ (fork, 0)
        and r0, r0, r1
        RETINSTR(mov, pc, r14)
 PSEUDO_END (__fork)
-strong_alias (__fork, __GI___fork)
+libc_hidden_def (__fork)
 
 weak_alias (__fork, fork)
index 0e15a5089d5dccddef85869699742b3ee196c5cb..abcc1c3389035a5f579f0c9bf2d1cd0b7e047cf0 100644 (file)
@@ -51,6 +51,6 @@ error:
        movel d0, _errno
        moveq #-1, d0
        jmp a0@
-strong_alias (__vfork, __GI___vfork)
+libc_hidden_def (__vfork)
 
 weak_alias (__vfork, vfork)
index dfcbe4882175479a6a13debb9886c8f2039dcc3b..a245f3e141b4376f6c0bb40a0613964db47736ce 100644 (file)
@@ -35,6 +35,6 @@ ENTRY (__vfork)
        decl r1
        andl r1, r0
        ret
-strong_alias (__vfork, __GI___vfork)
+libc_hidden_def (__vfork)
 
 weak_alias (__vfork, vfork)
index 13b12239baee53c3f14059c3e806ddcf46754bf1..a4ec14b56f759de429d8d41dea906543db3287d4 100644 (file)
@@ -23,6 +23,6 @@ SYSCALL__ (fork, 0)
        cmovne a4, 0, v0
        ret
        .end __fork
-strong_alias (__fork, __GI___fork)
+libc_hidden_def (__fork)
 
 weak_alias (__fork, fork)
index 006688936bbf4201a7bc8317f1b6b2bf44286f13..cf9e2e9e1aa0c872f7f68ccae327f0309041967a 100644 (file)
@@ -51,6 +51,6 @@ error:
        movel d0, _errno
        moveq #-1, d0
        jmp a0@
-strong_alias (__vfork, __GI___vfork)
+libc_hidden_def (__vfork)
 
 weak_alias (__vfork, vfork)
index 80e7328c71a6fd3d6159227f86214db4beea89aa..d413e45dc178723d87c4854cc4bc0a0b2323cbfe 100644 (file)
@@ -31,6 +31,6 @@ parent:
        ret
        nop
        .end __vfork
-strong_alias (__vfork, __GI___vfork)
+libc_hidden_def (__vfork)
 
 weak_alias (__vfork, vfork)
index 16f0e98bb2ce3b8063ffa681e94b44b538bb950e..6c7e754ac76adf3bf4e47ce5efc147afd1230aa2 100644 (file)
@@ -52,6 +52,6 @@ error:
        movl r0, _errno
        mnegl $1, r0
        jmp (r2)
-strong_alias (__vfork, __GI___vfork)
+libc_hidden_def (__vfork)
 
 weak_alias (__vfork, vfork)
index 0a71520ac881e1231dbacbe01ab43be512ab2086..8717d513be98b3c48315d707903ca9cd6e8195f3 100644 (file)
@@ -29,6 +29,6 @@ SYSCALL__ (fork, 0)
        andl r1, r0
        ret
 PSEUDO_END (__fork)
-strong_alias (__fork, __GI___fork)
+libc_hidden_def (__fork)
 
 weak_alias (__fork, fork)
index a33a0b9d9a4ade61d28e81376b9481a83ae684c4..b729d47f70c2cccdbc98d25fe269a52eb33f2793 100644 (file)
@@ -27,6 +27,6 @@ SYSCALL__ (fork, 0)
        andl r1, r0
        ret
 PSEUDO_END (__fork)
-strong_alias (__fork, __GI___fork)
+libc_hidden_def (__fork)
 
 weak_alias (__fork, fork)
index f0b7af7b1ac33635522553ddc0868e6ad913f3fb..b8b8554ea6756977adb49779073207dc3c18aaef 100644 (file)
@@ -1,6 +1,6 @@
 # File name    Caller  Syscall name    # args  Strong name     Weak names
 
-accept         -       accept          Ci:iBN  __libc_accept   accept
+accept         -       accept          Ci:iBN  __libc_accept   accept __GI_accept
 bind           -       bind            i:ipi   __bind          bind
 connect                -       connect         Ci:ipi  __libc_connect  __connect __connect_internal connect
 gethostid      -       gethostid       i:      gethostid
@@ -21,7 +21,3 @@ setsockopt    -       setsockopt      i:iiibn setsockopt      __setsockopt
 shutdown       -       shutdown        i:ii    shutdown
 socket         -       socket          i:iii   __socket        socket
 socketpair     -       socketpair      i:iiif  socketpair
-
-
-
-
index dcec9656714517964b855e3987d44f0539e4971b..1850c17f1123ef8caac56d5d58125f0ad1807869 100644 (file)
@@ -27,6 +27,6 @@ SYSCALL__ (fork, 0)
 parent:
        ret
        .end __fork
-strong_alias (__fork, __GI___fork)
+libc_hidden_def (__fork)
 
 weak_alias (__fork, fork)
index 735a9599b7338bf0f9edb7c0a7145b15bad2fc10..ae594ec8e8edc520d74dff0d2a1c053b63c65866 100644 (file)
@@ -26,6 +26,6 @@ SYSCALL__ (fork, 0)
        sub %o1, 1, %o1
        retl
        and %o0, %o1, %o0
-strong_alias (__fork, __GI___fork)
+libc_hidden_def (__fork)
 
 weak_alias (__fork, fork)
index 0eb1080cf892902c1056d749dd40d978affaa3bb..5d48b090d636cb83193cb871c81741d6cb2f10ff 100644 (file)
@@ -30,6 +30,6 @@ SYSCALL__ (vfork, 0)
        sub %o1, 1, %o1
        retl
        and %o0, %o1, %o0
-strong_alias (__vfork, __GI___vfork)
+libc_hidden_def (__vfork)
 
 weak_alias (__vfork, vfork)
index bbd068a33eafc60f28cb5ee55b2fbf213a0ebd44..96e6cb7ae23c12c6d61fbf5847cd19de1d0de4bc 100644 (file)
@@ -24,7 +24,7 @@ getuid                -       getuid          i:      __getuid        getuid
 ioctl          -       ioctl           i:iiI   __ioctl         ioctl
 kill           -       kill            i:ii    __kill          kill
 link           -       link            i:ss    __link          link
-lseek          -       lseek           Ci:iii  __libc_lseek    __lseek lseek
+lseek          -       lseek           Ci:iii  __libc_lseek    __lseek lseek __GI___lseek
 mkdir          -       mkdir           i:si    __mkdir         mkdir
 open           -       open            Ci:siv  __libc_open __open open
 profil         -       profil          i:piii  __profil        profil
index 0e8f67e15b0a2eb680059a92740f6ac21bcd3f97..73f11499f2aa38de175005c5c79e59acf265a436 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2000 Free Software Foundation, Inc.
+/* Copyright (C) 2000, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -27,3 +27,4 @@ accept (int fd, __SOCKADDR_ARG addr, socklen_t *addr_len)
   assert (sizeof (socklen_t) == sizeof (int));
   return naccept (fd, addr.__sockaddr__, addr_len);
 }
+libc_hidden_def (accept)
index 387ebd0de8ef1f7ada1c76afd8b495bdf5871f95..d4cbdbe7027dfa050685182f643cafc952b1592e 100644 (file)
@@ -7,3 +7,4 @@ __lseek (int fd, off_t offset, int whence)
   return lseek (fd, offset, whence);
 }
 strong_alias (__lseek, __libc_lseek)
+libc_hidden_def (__lseek)
index 75d57368bcc38f9a634d284a87411eee877cd04e..491ebe2ab2b815973fd7107d3cb4a30dfc600f34 100644 (file)
@@ -3,3 +3,4 @@
 #define        NARGS   3
 #define NEED_CANCELLATION
 #include <socket.S>
+libc_hidden_def (accept)
index 6907ef1d2fa536dfeff1224bfe962bc7df9461e8..a053468b34c21c732c30cba0545c20654f60085c 100644 (file)
@@ -36,7 +36,7 @@ sys_ustat     ustat   ustat           2       __syscall_ustat
 sys_mknod      xmknod  mknod           3       __syscall_mknod
 
 # proper socket implementations:
-accept         -       accept          C:3     __libc_accept   __accept accept
+accept         -       accept          C:3     __libc_accept   __accept accept __GI_accept
 bind           -       bind            3       __bind          bind
 connect                -       connect         C:3     __libc_connect  __connect_internal __connect connect
 getpeername    -       getpeername     3       __getpeername   getpeername
index 3364c686d620ff1b41561f391664c1fa688b1b35..a2c6bf3407ae88e88eeec43b3c5c2ff7d5e60214 100644 (file)
@@ -46,6 +46,6 @@ ENTRY (__vfork)
        b       PLTJMP(C_SYMBOL_NAME(__syscall_error))
 
 PSEUDO_END (__vfork)
-strong_alias (__vfork, __GI___vfork)
+libc_hidden_def (__vfork)
 
 weak_alias (__vfork, vfork)
index f471efe0a5fc1608282f6e090e448e70acef293a..74a855676588963db68cf973732e03a90f022a86 100644 (file)
@@ -22,6 +22,6 @@ PSEUDO (__vfork, vfork, 0)
        Ret
        nop
 PSEUDO_END (__vfork)
-strong_alias (__vfork, __GI___vfork)
+libc_hidden_def (__vfork)
 
 weak_alias (__vfork, vfork)
index bc977e2e30189b0504cc69090788d47d9aa62f7c..65fc3cba64b2b2339e5e9268d4b218a5fcf259bc 100644 (file)
@@ -14,7 +14,7 @@ semget                -       semget          i:iii   __semget        semget
 semctl         -       semctl          i:iiii  __semctl        semctl
 
 # proper socket implementations:
-accept         -       accept          Ci:iBN  __libc_accept   __accept accept
+accept         -       accept          Ci:iBN  __libc_accept   __accept accept __GI_accept
 bind           -       bind            i:ipi   __bind          bind
 connect                -       connect         Ci:ipi  __libc_connect  __connect_internal __connect connect 
 getpeername    -       getpeername     i:ipp   __getpeername   getpeername
index a3ff0d4eefa75f185a45290ed4aae2775665048e..e1f6df099803231ecf53da61c2f1f35e9dc0c1cf 100644 (file)
@@ -73,6 +73,6 @@ ENTRY (__vfork)
        ret
 #endif
 PSEUDO_END (__vfork)
-strong_alias (__vfork, __GI___vfork)
+libc_hidden_def (__vfork)
 
 weak_alias (__vfork, vfork)
index 22f67c1ce857fd61f3a02d61c88e1d6a1d072ec4..f74e709b3cecbb6175e14ad03bb43045745cd1c6 100644 (file)
@@ -38,5 +38,5 @@ ENTRY(__libc_fork)
 PSEUDO_END(__libc_fork)
 
 weak_alias (__libc_fork, __fork)
-strong_alias (__fork, __GI___fork)
+libc_hidden_def (__fork)
 weak_alias (__libc_fork, fork)
index a9417673cad0ff310f3c3eaceb5ff66716e001e1..954d805f6cbf647ec66f4016008039843239a7b0 100644 (file)
@@ -80,7 +80,7 @@ LEAF(_setjmp)
        mov in1=0
        br.cond.sptk.many __sigsetjmp
 END(_setjmp)
-strong_alias (_setjmp, __GI__setjmp)
+libc_hidden_def (_setjmp)
 
        /* __sigsetjmp(__jmp_buf buf, int savemask) */
 
index 7df0265feb827ec5ccb985939c65acf8ae97eb04..1e43c55b3ec39ea7f83fe149c57b2f59403cd2f1 100644 (file)
@@ -3,7 +3,7 @@
 umount2                -       umount          2       __umount2       umount2
 
 # Whee! 64-bit systems naturally implement llseek.
-llseek         EXTRA   lseek           C:3     __libc_lseek    __lseek lseek __libc_lseek64 __llseek llseek __lseek64 lseek64
+llseek         EXTRA   lseek           C:3     __libc_lseek    __lseek lseek __libc_lseek64 __llseek llseek __lseek64 lseek64 __GI___lseek
 lseek          llseek  -
 pread          -       pread           C:4     __libc_pread    __libc_pread64 __pread pread __pread64 pread64
 pwrite         -       pwrite          C:4     __libc_pwrite   __libc_pwrite64 __pwrite pwrite __pwrite64 pwrite64
@@ -33,7 +33,7 @@ semget                -       semget          i:iii   __semget        semget
 semctl         -       semctl          i:iiii  __semctl        semctl
 
 # proper socket implementations:
-accept         -       accept          Ci:iBN  __libc_accept   __accept accept
+accept         -       accept          Ci:iBN  __libc_accept   __accept accept __GI_accept
 bind           -       bind            i:ipi   __bind          bind
 connect                -       connect         Ci:ipi  __libc_connect  __connect_internal __connect connect
 getpeername    -       getpeername     i:ipp   __getpeername   getpeername
index 0a2c1bdc4bde8c5ac1fab0ffba219cf798cce109..0189075e1fdf12a6f9f72509e366ef30be146dc2 100644 (file)
@@ -18,6 +18,9 @@
    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    02111-1307 USA.  */
 
+#ifndef _LINUX_IA64_SYSDEP_H
+#define _LINUX_IA64_SYSDEP_H 1
+
 #include <sysdeps/unix/sysdep.h>
 #include <sysdeps/ia64/sysdep.h>
 
   "b6", "b7"
 
 #endif /* not __ASSEMBLER__ */
+
+#endif /* linux/ia64/sysdep.h */
index 89d216f1b912a87b52aecf5f948c0c9889fce1ee..cbfaa3177c60c9b7af31d8cbe82a27db4b949531 100644 (file)
@@ -40,6 +40,6 @@ ENTRY(__vfork)
 (p6)   br.cond.spnt.few __syscall_error
        ret
 PSEUDO_END(__vfork)
-strong_alias (__vfork, __GI___vfork)
+libc_hidden_def (__vfork)
 
 weak_alias (__vfork, vfork)
index 8968caece786fa16a15644726b6bab9654eeaab2..ed5e1e81d56a526b0313a434ba719e9c23d147b6 100644 (file)
@@ -62,6 +62,6 @@ ENTRY (__vfork)
        rts
 
 PSEUDO_END (__vfork)
-strong_alias (__vfork, __GI___vfork)
+libc_hidden_def (__vfork)
 
 weak_alias (__vfork, vfork)
index ec75228ce1ff8b26080303e107346f7d4d3e9bf9..35666c7a869433a1f196513c105e21f373f28fda 100644 (file)
@@ -14,7 +14,7 @@ s_sigsuspend  sigsuspend sigsuspend   i:p     __syscall_sigsuspend
 # Socket functions; Linux/MIPS doesn't use the socketcall(2) wrapper;
 # it's provided for compatibility, though.
 #
-accept         -       accept          Ci:iBN  __libc_accept   __accept accept
+accept         -       accept          Ci:iBN  __libc_accept   __accept accept __GI_accept
 bind           -       bind            i:ipi   __bind          bind
 connect                -       connect         Ci:ipi  __libc_connect  __connect_internal __connect connect
 getpeername    -       getpeername     i:ipp   __getpeername   getpeername
index d813d7af5175fd6705f7fdd93ccfb43b42ba5cef..d7773c2a36adb07ae73ea4fee0d01ab1d2e06ae5 100644 (file)
@@ -1,6 +1,6 @@
 # File name    Caller  Syscall name    # args  Strong name     Weak names
 
-llseek         EXTRA   lseek           C:3     __libc_lseek    __lseek lseek __libc_lseek64 __llseek llseek __lseek64 lseek64
+llseek         EXTRA   lseek           C:3     __libc_lseek    __lseek lseek __libc_lseek64 __llseek llseek __lseek64 lseek64 __GI___lseek
 lseek          llseek  -
 pread          -       pread           C:4     __libc_pread    __libc_pread64 __pread pread __pread64 pread64
 pwrite         -       pwrite          C:4     __libc_pwrite   __libc_pwrite64 __pwrite pwrite __pwrite64 pwrite64
@@ -26,7 +26,7 @@ semget                -       semget          i:iii   __semget        semget
 semctl         -       semctl          i:iiii  __semctl        semctl
 
 # proper socket implementations:
-accept         -       accept          Ci:iBN  __libc_accept   __accept accept
+accept         -       accept          Ci:iBN  __libc_accept   __accept accept __GI_accept
 bind           -       bind            i:ipi   __bind          bind
 connect                -       connect         Ci:ipi  __libc_connect  __connect_internal __connect connect
 getpeername    -       getpeername     i:ipp   __getpeername   getpeername
index 92426892a39bd1f79fe20a4e63718cf7f42b5826..706aa57b500b3c7a00c793e7ab4fcc636c06f931 100644 (file)
@@ -109,6 +109,6 @@ ENTRY (__vfork)
         nop
 
 PSEUDO_END (__vfork)
-strong_alias (__vfork, __GI___vfork)
+libc_hidden_def (__vfork)
 
 weak_alias (__vfork, vfork)
index 8d017398e100e986687ca68321eaa6ca6c69a882..2459b8c8ca4caad255921c5ad550acf6f0a3e3a2 100644 (file)
@@ -26,5 +26,5 @@ PSEUDO (__libc_fork, fork, 0)
 PSEUDO_END (__libc_fork)
 
 weak_alias (__libc_fork, __fork)
-strong_alias (__fork, __GI___fork)
+libc_hidden_def (__fork)
 weak_alias (__libc_fork, fork)
index df6f81703b2b95799971fa49c98c21dc5e10631b..435bf99acba36cb4e76890498c93165bdb92d8ea 100644 (file)
@@ -46,7 +46,7 @@ END(__libc_siglongjmp)
 
 strong_alias(__libc_siglongjmp, __longjmp)
 strong_alias(__libc_siglongjmp, __libc_longjmp)
-strong_alias(__libc_longjmp, __GI___libc_longjmp)
+libc_hidden_def (__libc_longjmp)
 weak_alias(__libc_siglongjmp, longjmp)
 weak_alias(__libc_siglongjmp, _longjmp)
 weak_alias(__libc_siglongjmp, siglongjmp)
index ad3d9192554a73a433fa2bc9739b25a539c28c59..1a9359af5b2e0d743b93ba924891376966fcf0b5 100644 (file)
@@ -34,7 +34,7 @@ ENTRY(_setjmp)
        ba      __sigsetjmp_local
         set    0, %o1
 END(_setjmp)
-strong_alias (_setjmp, __GI__setjmp)
+libc_hidden_def (_setjmp)
 
 /* int setjmp(jmp_buf) */
 
index a34e49246eb830a2ee57ccfe9c3370b9792e1bc2..b68148e735eb88cb4b525687e6963aa39ec84f5a 100644 (file)
@@ -16,7 +16,7 @@ sendfile      -       sendfile        i:iipi  sendfile        sendfile64
 
 # Override select.S in parent directory:
 select         -       select          C:5     __select        select
-accept         -       accept          C:3     __libc_accept   __accept accept
+accept         -       accept          C:3     __libc_accept   __accept accept __GI_accept
 bind           -       bind            3       __bind          bind
 connect                -       connect         C:3     __libc_connect  __connect_internal __connect connect
 getpeername    -       getpeername     3       __getpeername   getpeername
index c5753a363a8538e8726cb3e157a9d1cabaacaf9d..eda860e46e8f1e7a66ea7f8c5d4301c974fb7eca 100644 (file)
@@ -25,5 +25,5 @@ PSEUDO (__vfork, vfork, 0)
         and    %o0, %o1, %o0
 
 PSEUDO_END (__vfork)
-strong_alias (__vfork, __GI___vfork)
+libc_hidden_def (__vfork)
 weak_alias (__vfork, vfork)
index 64abc4fc74f6e9dcc441005af96ecf5b91103345..cc7a4a52fad9e27c6b4d7ea0bab44a156c3562b7 100644 (file)
@@ -30,7 +30,7 @@ semctl                -       semctl          i:iiii  __semctl        semctl
 
 
 # proper socket implementations:
-accept         -       accept          Ci:iBN  __libc_accept   __accept accept
+accept         -       accept          Ci:iBN  __libc_accept   __accept accept __GI_accept
 bind           -       bind            i:ipi   __bind          bind
 connect                -       connect         Ci:ipi  __libc_connect  __connect_internal __connect connect
 getpeername    -       getpeername     i:ipp   __getpeername   getpeername
index fea24e4d98018087f6ac28b9b74676b35543c900..4810ba42b57fb0bec1dbb0fb80c186af75a58bd3 100644 (file)
@@ -46,6 +46,6 @@ ENTRY (__vfork)
        ret
 
 PSEUDO_END (__vfork)
-strong_alias (__vfork, __GI___vfork)
+libc_hidden_def (__vfork)
 
 weak_alias (__vfork, vfork)
index 68888d48ed75698345289a3643d65bfdec122afc..756e96b707bf9fd05074a256e064230db33b8472 100644 (file)
@@ -30,4 +30,4 @@ ENTRY (_setjmp)
        pushl r1                /* Push back first argument.  */
        pushl r0                /* Push back return PC.  */
        jmp C_SYMBOL_NAME (__sigsetjmp)
-strong_alias (_setjmp, __GI__setjmp)
+libc_hidden_def (_setjmp)
index f858db553597b8d55ec771dcff40d9c392c5914b..478f788275357b13f997ce911baf848cb0749385 100644 (file)
@@ -37,4 +37,4 @@ ENTRY (BP_SYM (_setjmp))
        jmp BP_SYM (__sigsetjmp)
 #endif
 END (BP_SYM (_setjmp))
-strong_alias (_setjmp, __GI__setjmp)
+libc_hidden_def (_setjmp)