Converted to use weak aliases with macros from libc-symbols.h.
authorRoland McGrath <roland@gnu.org>
Sat, 21 Jan 1995 15:40:54 +0000 (15:40 +0000)
committerRoland McGrath <roland@gnu.org>
Sat, 21 Jan 1995 15:40:54 +0000 (15:40 +0000)
80 files changed:
sysdeps/m68k/fpu/isinf.c
sysdeps/m68k/fpu/isnan.c
sysdeps/m68k/fpu/logb.c
sysdeps/m68k/fpu/rint.c
sysdeps/mach/hurd/alpha/sigreturn.c
sysdeps/mach/hurd/mips/sigreturn.c
sysdeps/standalone/open.c
sysdeps/standalone/read.c
sysdeps/standalone/write.c
sysdeps/unix/bsd/Attic/osf1/alpha/pipe.S
sysdeps/unix/bsd/Attic/osf1/alpha/sigblock.S
sysdeps/unix/bsd/Attic/osf1/alpha/sigpause.S
sysdeps/unix/bsd/Attic/osf1/alpha/sigsetmask.S
sysdeps/unix/bsd/Attic/osf1/alpha/sigvec.S
sysdeps/unix/bsd/Attic/osf1/alpha/wait4.S
sysdeps/unix/bsd/Attic/osf1/alpha/waitpid.c
sysdeps/unix/bsd/hp/m68k/wait3.S
sysdeps/unix/bsd/m68k/pipe.S
sysdeps/unix/bsd/m68k/wait.S
sysdeps/unix/bsd/sequent/i386/getgroups.S
sysdeps/unix/bsd/sequent/i386/sigvec.S
sysdeps/unix/bsd/sony/newsos4/wait.c
sysdeps/unix/bsd/sony/newsos4/wait3.c
sysdeps/unix/bsd/sony/newsos4/wait4.c
sysdeps/unix/bsd/sun/sigreturn.S
sysdeps/unix/bsd/sun/sigvec.S
sysdeps/unix/bsd/sun/sunos3/m68k/wait.S
sysdeps/unix/bsd/sun/sunos4/setsid.S
sysdeps/unix/bsd/sun/sunos4/tcgetattr.c
sysdeps/unix/bsd/sun/sunos4/wait.c
sysdeps/unix/bsd/sun/sunos4/wait3.c
sysdeps/unix/bsd/sun/sunos4/wait4.c
sysdeps/unix/bsd/sun/sunos4/waitpid.c
sysdeps/unix/bsd/ultrix4/mips/sigvec.S
sysdeps/unix/bsd/ultrix4/mips/vfork.S
sysdeps/unix/bsd/ultrix4/setsid.S
sysdeps/unix/bsd/ultrix4/sysconf.c
sysdeps/unix/bsd/ultrix4/wait3.S
sysdeps/unix/bsd/ultrix4/waitpid.S
sysdeps/unix/bsd/vax/pipe.S
sysdeps/unix/bsd/vax/wait.S
sysdeps/unix/bsd/vax/wait3.S
sysdeps/unix/mips/pipe.S
sysdeps/unix/mips/sigreturn.S
sysdeps/unix/mips/wait.S
sysdeps/unix/sysv/i386/sigreturn.S
sysdeps/unix/sysv/irix4/getgroups.c
sysdeps/unix/sysv/irix4/getrusage.c
sysdeps/unix/sysv/irix4/gettimeofday.c
sysdeps/unix/sysv/irix4/pathconf.c
sysdeps/unix/sysv/irix4/setpgid.S
sysdeps/unix/sysv/irix4/sigreturn.S
sysdeps/unix/sysv/irix4/sysconf.c
sysdeps/unix/sysv/irix4/wait.S
sysdeps/unix/sysv/irix4/wait3.S
sysdeps/unix/sysv/irix4/waitpid.c
sysdeps/unix/sysv/sco3.2.4/getgroups.c
sysdeps/unix/sysv/sco3.2.4/pathconf.S
sysdeps/unix/sysv/sco3.2.4/setpgid.c
sysdeps/unix/sysv/sco3.2.4/setsid.c
sysdeps/unix/sysv/sco3.2.4/sigaction.S
sysdeps/unix/sysv/sco3.2.4/sigprocmask.S
sysdeps/unix/sysv/sco3.2.4/sysconf.S
sysdeps/unix/sysv/sco3.2.4/waitpid.S
sysdeps/unix/sysv/sysv4/getdtsz.c
sysdeps/unix/sysv/sysv4/gethostname.c
sysdeps/unix/sysv/sysv4/getpagesize.c
sysdeps/unix/sysv/sysv4/i386/lstat.S
sysdeps/unix/sysv/sysv4/i386/mknod.S
sysdeps/unix/sysv/sysv4/i386/stat.S
sysdeps/unix/sysv/sysv4/i386/vfork.S
sysdeps/unix/sysv/sysv4/setpgid.c
sysdeps/unix/sysv/sysv4/setsid.c
sysdeps/unix/sysv/sysv4/sigaction.c
sysdeps/unix/sysv/sysv4/sigprocmask.S
sysdeps/unix/sysv/sysv4/solaris2/utimes.S
sysdeps/unix/sysv/sysv4/sysconf.c
sysdeps/unix/sysv/sysv4/waitpid.c
sysdeps/vax/infnan.c
sysdeps/vax/memccpy.c

index c816dcd..ab2cf0b 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1994 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1994, 1995 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
@@ -25,8 +25,10 @@ Cambridge, MA 02139, USA.  */
 #endif
 
 
-__CONSTVALUE int
+int
 DEFUN(FUNC, (x), double x)
 {
   return __m81_u(FUNC)(x);
 }
+
+weak_alias (__isinf, isinf)
index e90c691..d098491 100644 (file)
@@ -1,2 +1,4 @@
 #define        FUNC    __isnan
-#include <__isinf.c>
+#include <isinf.c>
+
+weak_alias (__isnan, isnan)
index 27ce104..8619c90 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1992, 1993, 1994 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1992, 1993, 1994, 1995 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
@@ -23,7 +23,7 @@ Cambridge, MA 02139, USA.  */
 
 /* Return the base 2 signed integral exponent of X.  */
 
-__CONSTVALUE double
+double
 DEFUN(__logb, (x), double x)
 {
   if (__isnan (x))
@@ -39,6 +39,8 @@ DEFUN(__logb, (x), double x)
   return x;
 }
 
+weak_alias (__logb, logb)
+
 #else
-#include <sysdeps/ieee754/__logb.c>
+#include <sysdeps/ieee754/logb.c>
 #endif
index 288ae81..f83a4e4 100644 (file)
@@ -1,3 +1,5 @@
 #define        FUNC    __rint
 #define        OP      intr
 #include <acos.c>
+
+weak_alias (__rint, rint)
index c178a03..4adfb8d 100644 (file)
@@ -1,5 +1,5 @@
 /* Return from signal handler in GNU C library for Hurd.  Alpha version.
-Copyright (C) 1994 Free Software Foundation, Inc.
+Copyright (C) 1994, 1995 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
@@ -207,3 +207,5 @@ __sigreturn (struct sigcontext *scp)
   /* NOTREACHED */
   return -1;
 }
+
+weak_alias (__sigreturn, sigreturn)
index 0b3a474..d1d444f 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1992, 1994 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1992, 1994, 1995 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
@@ -164,3 +164,5 @@ __sigreturn (struct sigcontext *scp)
   /* NOTREACHED */
   return -1;
 }
+
+weak_alias (__sigreturn, sigreturn)
index fdcaf65..910e793 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1994 Free Software Foundation, Inc.
+/* Copyright (C) 1994, 1995 Free Software Foundation, Inc.
    Ported to standalone by Joel Sherrill jsherril@redstone-emh2.army.mil,
      On-Line Applications Research Corporation.
  
@@ -116,9 +116,7 @@ DEFUN(__NONE_init_console_io, (argc, argv, envp),
 }
 
 #ifdef  HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
 text_set_element (__libc_subinit, __NONE_init_console_io);
-
 #endif
+
+weak_alias (__open, open)
index 1c87b11..284321d 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1994 Free Software Foundation, Inc.
+/* Copyright (C) 1994, 1995 Free Software Foundation, Inc.
    Ported to standalone by Joel Sherrill jsherril@redstone-emh2.army.mil,
      On-Line Applications Research Corporation.
 
@@ -83,3 +83,5 @@ DEFUN(__read, (fd, buf, nbytes),
   *buffer = data;
   return 1;
 }
+
+weak_alias (__read, read)
index 22c01a4..f0ae388 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1994 Free Software Foundation, Inc.
+/* Copyright (C) 1994, 1995 Free Software Foundation, Inc.
    Ported to standalone by Joel Sherrill jsherril@redstone-emh2.army.mil,
      On-Line Applications Research Corporation.
 
@@ -70,3 +70,5 @@ DEFUN(__write, (fd, buf, nbytes),
   return count;
 }
 
+
+weak_alias (__write, write)
index 6973e96..6b074ed 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 1995 Free Software Foundation, Inc.
    Contributed by Brendan Kehoe (brendan@zen.org).
 
 The GNU C Library is free software; you can redistribute it and/or
@@ -26,3 +26,5 @@ SYSCALL__ (pipe, 1)
        /* Go out with a clean status.  */
        mov zero, r0
        ret
+
+weak_alias (__pipe, pipe)
index eefd641..c3556a9 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1994 Free Software Foundation, Inc.
+/* Copyright (C) 1994, 1995 Free Software Foundation, Inc.
    Contributed by Brendan Kehoe (brendan@zen.org).
 
 The GNU C Library is free software; you can redistribute it and/or
@@ -23,3 +23,5 @@ Cambridge, MA 02139, USA.  */
 
 SYSCALL__ (sigblock, 1)
        ret
+
+weak_alias (__sigblock, sigblock)
index 893ee08..04b6d45 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 1995 Free Software Foundation, Inc.
    Contributed by Brendan Kehoe (brendan@zen.org).
 
 The GNU C Library is free software; you can redistribute it and/or
@@ -23,3 +23,5 @@ Cambridge, MA 02139, USA.  */
 
 SYSCALL__ (sigpause, 1)
        ret
+
+weak_alias (__sigpause, sigpause)
index f2536d7..fb3a1d1 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 1995 Free Software Foundation, Inc.
    Contributed by Brendan Kehoe (brendan@zen.org).
 
 The GNU C Library is free software; you can redistribute it and/or
@@ -23,3 +23,5 @@ Cambridge, MA 02139, USA.  */
 
 SYSCALL__ (sigsetmask, 1)
        ret
+
+weak_alias (__sigsetmask, sigsetmask)
index d0d3ae0..b04ec6e 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 1995 Free Software Foundation, Inc.
    Contributed by Brendan Kehoe (brendan@zen.org).
 
 The GNU C Library is free software; you can redistribute it and/or
@@ -23,3 +23,5 @@ Cambridge, MA 02139, USA.  */
 
 SYSCALL__ (sigvec, 3)
        ret
+
+weak_alias (__sigvec, sigvec)
index 0f76c62..e4c3223 100644 (file)
@@ -1 +1 @@
-#include <sysdeps/unix/bsd/bsd4.4/__wait4.S>
+#include <sysdeps/unix/bsd/bsd4.4/wait4.S>
index 47129a8..8378982 100644 (file)
@@ -1 +1 @@
-#include <sysdeps/unix/bsd/bsd4.4/__waitpid.c>
+#include <sysdeps/unix/bsd/bsd4.4/waitpid.c>
index d02f27f..d0e7585 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1992 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1992, 1995 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
@@ -35,3 +35,5 @@ ENTRY(__wait3)
 
 .globl syscall_error
 error: jmp syscall_error
+
+weak_alias (__wait3, wait3)
index 547b4f3..633d18f 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1992, 1993 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1992, 1993, 1995 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
@@ -28,3 +28,5 @@ SYSCALL__ (pipe, 1)
 #endif
        clrl d0
        rts
+
+weak_alias (__pipe, pipe)
index 927fa33..c7685b7 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1992, 1993 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1992, 1993, 1995 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
@@ -31,3 +31,5 @@ SYSCALL__ (wait, 1)
        movel d1, a0@
 #endif
 1:     rts
+
+weak_alias (__wait, wait)
index cf25abe..b68bcbd 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1994 Free Software Foundation, Inc.
+/* Copyright (C) 1994, 1995 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
@@ -40,3 +40,5 @@ myerror:
        addl %esp, $(NGROUPS_MAX * 4) /* Pop the local array.  */
        jb syscall_error        /* Check for error from the system call.  */
        ret                     /* Return its value.  */
+
+weak_alias (__getgroups, getgroups)
index a5812c7..1bb57c2 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 1995 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
@@ -41,3 +41,5 @@ ENTRY (__sigvec)
        DO_CALL (sigvec, 4)     /* Do the system call.  */
        jb syscall_error        /* Check for error.  */
        ret
+
+weak_alias (__sigvec, sigvec)
index d9ee77b..79d5458 100644 (file)
@@ -1 +1 @@
-#include <sysdeps/unix/bsd/bsd4.4/__wait.c>
+#include <sysdeps/unix/bsd/bsd4.4/wait.c>
index ecc1113..0b3bdee 100644 (file)
@@ -1 +1 @@
-#include <sysdeps/unix/bsd/bsd4.4/__wait3.c>
+#include <sysdeps/unix/bsd/bsd4.4/wait3.c>
index 9183ce1..856c99f 100644 (file)
@@ -1 +1 @@
-#include <sysdeps/unix/bsd/sun/sunos4/__wait4.c>
+#include <sysdeps/unix/bsd/sun/sunos4/wait4.c>
index 9a3b5e6..d0a3f3a 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 1995 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
@@ -24,3 +24,5 @@ Cambridge, MA 02139, USA.  */
 
 SYSCALL__ (sigreturn, 1)
        /* Does not return.  */
+
+weak_alias (__sigreturn, sigreturn)
index fdf919c..c093974 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1992 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1992, 1995 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
@@ -22,3 +22,5 @@ Cambridge, MA 02139, USA.  */
 
 PSEUDO (__raw_sigvec, sigvec, 3)
        ret
+
+weak_alias (__sigvec, sigvec)
index c7f681d..f69c4b4 100644 (file)
@@ -1 +1 @@
-#include <sysdeps/unix/bsd/hp/m68k/__wait.S>
+#include <sysdeps/unix/bsd/hp/m68k/wait.S>
index e0f94b0..4930c56 100644 (file)
@@ -1 +1 @@
-#include <sysdeps/unix/bsd/bsd4.4/__setsid.S>
+#include <sysdeps/unix/bsd/bsd4.4/setsid.S>
index dce1b02..5e45037 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 1995 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
@@ -29,3 +29,5 @@ DEFUN(__tcgetattr, (fd, termios_p),
 {
   return __ioctl (fd, TCGETS, termios_p);
 }
+
+weak_alias (__tcgetattr, tcgetattr)
index d9ee77b..79d5458 100644 (file)
@@ -1 +1 @@
-#include <sysdeps/unix/bsd/bsd4.4/__wait.c>
+#include <sysdeps/unix/bsd/bsd4.4/wait.c>
index ecc1113..0b3bdee 100644 (file)
@@ -1 +1 @@
-#include <sysdeps/unix/bsd/bsd4.4/__wait3.c>
+#include <sysdeps/unix/bsd/bsd4.4/wait3.c>
index 3e9fdcb..4d15ddc 100644 (file)
@@ -2,7 +2,7 @@
    SunOS 4.1) on top of SunOS's wait4 system call, which has semantics
    different from those documented.  Go Sun!
 
-Copyright (C) 1991, 1992, 1993 Free Software Foundation, Inc.
+Copyright (C) 1991, 1992, 1993, 1995 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
@@ -46,3 +46,5 @@ DEFUN(__wait4, (pid, stat_loc, options, usage),
 
   return __wait4_syscall (pid, stat_loc, options, usage);
 }
+
+weak_alias (__wait4, wait4)
index 47129a8..8378982 100644 (file)
@@ -1 +1 @@
-#include <sysdeps/unix/bsd/bsd4.4/__waitpid.c>
+#include <sysdeps/unix/bsd/bsd4.4/waitpid.c>
index fdf919c..20a5dd1 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1992 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1992, 1995 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 e194db0..37f6d80 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992 Free Software Foundation, Inc.
+/* Copyright (C) 1992, 1995 Free Software Foundation, Inc.
    Contributed by Brendan Kehoe (brendan@zen.org).
 
 The GNU C Library is free software; you can redistribute it and/or
@@ -29,3 +29,5 @@ SYSCALL__ (vfork, 0)
 parent:
        ret
        nop
+
+weak_alias (__vfork, vfork)
index e0f94b0..4930c56 100644 (file)
@@ -1 +1 @@
-#include <sysdeps/unix/bsd/bsd4.4/__setsid.S>
+#include <sysdeps/unix/bsd/bsd4.4/setsid.S>
index c0b3203..a9f3c5b 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992 Free Software Foundation, Inc.
+/* Copyright (C) 1992, 1995 Free Software Foundation, Inc.
    Contributed by Ian Lance Taylor (ian@airs.com).
 
 The GNU C Library is free software; you can redistribute it and/or
@@ -58,4 +58,4 @@ DEFUN(__sysconf, (name), int name)
 
 #define __sysconf __default_sysconf
 
-#include <sysdeps/posix/__sysconf.c>
+#include <sysdeps/posix/sysconf.c>
index 102ca18..83910a5 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992 Free Software Foundation, Inc.
+/* Copyright (C) 1992, 1995 Free Software Foundation, Inc.
    Contributed by Brendan Kehoe (brendan@zen.org).
 
 The GNU C Library is free software; you can redistribute it and/or
@@ -20,3 +20,5 @@ Cambridge, MA 02139, USA.  */
 
 SYSCALL__ (wait3, 3)
        ret
+
+weak_alias (__wait3, wait3)
index 3bc5ce2..b64e528 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992 Free Software Foundation, Inc.
+/* Copyright (C) 1992, 1995 Free Software Foundation, Inc.
    Contributed by Brendan Kehoe (brendan@zen.org).
 
 The GNU C Library is free software; you can redistribute it and/or
@@ -20,3 +20,5 @@ Cambridge, MA 02139, USA.  */
 
 SYSCALL__ (waitpid, 3)
        ret
+
+weak_alias (__waitpid, waitpid)
index 9501744..10c681a 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1992 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1992, 1995 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
@@ -24,3 +24,5 @@ SYSCALL__ (pipe, 1)
        movl r1, (r2)
        clrl r0
        ret
+
+weak_alias (__pipe, pipe)
index 5316be2..77311b4 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1992 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1992, 1995 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
@@ -23,3 +23,5 @@ SYSCALL__ (wait, 1)
        beq 1f
        movl r1, (r2)
 1:     ret
+
+weak_alias (__wait, wait)
index 2e7ab13..2d8dba8 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1992 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1992, 1995 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,3 +33,5 @@ ENTRY(___wait3)
 
 .globl syscall_error
 error: jmp syscall_error
+
+weak_alias (__wait3, wait3)
index 507a753..f8ce56b 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992 Free Software Foundation, Inc.
+/* Copyright (C) 1992, 1995 Free Software Foundation, Inc.
    Contributed by Brendan Kehoe (brendan@zen.org).
 
 The GNU C Library is free software; you can redistribute it and/or
@@ -27,3 +27,5 @@ SYSCALL__ (pipe, 1)
        j ra
        move v0, zero
        nop
+
+weak_alias (__pipe, pipe)
index 02e4d25..1e76bf5 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992, 1994 Free Software Foundation, Inc.
+/* Copyright (C) 1992, 1994, 1995 Free Software Foundation, Inc.
    Contributed by Brendan Kehoe (brendan@zen.org).
 
 The GNU C Library is free software; you can redistribute it and/or
@@ -25,3 +25,5 @@ Cambridge, MA 02139, USA.  */
 ENTRY(__sigreturn)
        li v0, SYS_sigreturn
        syscall
+
+weak_alias (__sigreturn, sigreturn)
index 2e9a259..63bce84 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992, 1994 Free Software Foundation, Inc.
+/* Copyright (C) 1992, 1994, 1995 Free Software Foundation, Inc.
    Contributed by Brendan Kehoe (brendan@zen.org).
 
 The GNU C Library is free software; you can redistribute it and/or
@@ -40,3 +40,5 @@ noerror:
        nop
 noarg:
        ret
+
+weak_alias (__wait, wait)
index 47905b3..be1c6b8 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1994 Free Software Foundation, Inc.
+/* Copyright (C) 1994, 1995 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
@@ -23,3 +23,5 @@ ENTRY (__sigreturn)
        addl $4, %esp           /* Pop the return PC.  */
        lcall $0xf, $0          /* Do the magic sigreturn trap.  */
        /* NOTREACHED */
+
+weak_alias (__sigreturn, sigreturn)
index b85b139..714f660 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1994 Free Software Foundation, Inc.
+/* Copyright (C) 1994, 1995 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
@@ -29,3 +29,5 @@ DEFUN(__getgroups, (n, groups), size_t n AND gid_t *groups)
 {
   return __syssgi (SGI_GETGROUPS, n, groups);
 }   
+
+weak_alias (__getgroups, getgroups)
index e160980..fdd3a24 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1994 Free Software Foundation, Inc.
+/* Copyright (C) 1994, 1995 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
@@ -31,3 +31,5 @@ DEFUN(__getrusage, (who, usage),
 {
   return __syssgi (SGI_RUSAGE, who, usage);
 }
+
+weak_alias (__getrusage, getrusage)
index d92b3bb..8a55f99 100644 (file)
@@ -1 +1,3 @@
 #include <sysdeps/posix/__gettod.c>
+
+weak_alias (__gettimeofday, gettimeofday)
index 6e54661..698e30a 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1994 Free Software Foundation, Inc.
+/* Copyright (C) 1994, 1995 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
@@ -30,3 +30,5 @@ DEFUN(__pathconf, (path, name), CONST char *path AND int name)
 {
   return __syssgi (SGI_PATHCONF, PATHCONF, path, name);
 }
+
+weak_alias (__pathconf, pathconf)
index 2e3135b..38ce9cb 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1994 Free Software Foundation, Inc.
+/* Copyright (C) 1994, 1995 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
@@ -20,3 +20,5 @@ Cambridge, MA 02139, USA.  */
 
 PSEUDO (__setpgrp, bsdsetpgrp, 2)
        ret
+
+weak_alias (__setpgrp, setpgrp)
index 1d62468..ebb5c1a 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992 Free Software Foundation, Inc.
+/* Copyright (C) 1992, 1995 Free Software Foundation, Inc.
    Contributed by Brendan Kehoe (brendan@cs.widener.edu).
 
 The GNU C Library is free software; you can redistribute it and/or
@@ -21,3 +21,5 @@ Cambridge, MA 02139, USA.  */
 ENTRY(__sigreturn)
        li v0, SYS_sigreturn
        syscall
+
+weak_alias (__sigreturn, sigreturn)
index 497c6a7..a310362 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1994 Free Software Foundation, Inc.
+/* Copyright (C) 1994, 1995 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
@@ -31,3 +31,5 @@ DEFUN(__sysconf, (name), int name)
 
   return __syssgi (SGI_SYSCONF, name);
 }
+
+weak_alias (__sysconf, sysconf)
index a50a5e6..9f2afa7 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992 Free Software Foundation, Inc.
+/* Copyright (C) 1992, 1995 Free Software Foundation, Inc.
    Contributed by Brendan Kehoe (brendan@cs.widener.edu).
 
 The GNU C Library is free software; you can redistribute it and/or
@@ -38,3 +38,5 @@ noerror:
        nop
 noarg:
        ret
+
+weak_alias (__wait, wait)
index d4ed738..54065ae 100644 (file)
@@ -1 +1 @@
-#include <sysdeps/unix/bsd/ultrix4/__wait3.S>
+#include <sysdeps/unix/bsd/ultrix4/wait3.S>
index 47129a8..8378982 100644 (file)
@@ -1 +1 @@
-#include <sysdeps/unix/bsd/bsd4.4/__waitpid.c>
+#include <sysdeps/unix/bsd/bsd4.4/waitpid.c>
index 82e5fba..68966bc 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1994 Free Software Foundation, Inc.
+/* Copyright (C) 1994, 1995 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
@@ -41,3 +41,5 @@ DEFUN(__getgroups, (size, list), int size AND gid_t *list)
 
   return size;
 }
+
+weak_alias (__getgroups, getgroups)
index 2c73762..1c4dd95 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 1995 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
@@ -20,3 +20,5 @@ Cambridge, MA 02139, USA.  */
 
 SYSCALL__ (pathconf, 2)
        ret
+
+weak_alias (__pathconf, pathconf)
index 928e6d0..32f7daf 100644 (file)
@@ -1 +1 @@
-#include <sysdeps/unix/sysv/sysv4/__setpgrp.c>
+#include <sysdeps/unix/sysv/sysv4/setpgrp.c>
index 4a0a706..6337652 100644 (file)
@@ -1 +1 @@
-#include <sysdeps/unix/sysv/sysv4/__setsid.c>
+#include <sysdeps/unix/sysv/sysv4/setsid.c>
index f5453da..dc1bb41 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993, 1994 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 1994, 1995 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
@@ -25,3 +25,5 @@ ENTRY (__sigaction)
        DO_CALL (sigaction, 3)
        jb syscall_error
        ret
+
+weak_alias (__sigaction, sigaction)
index 148741e..ff19915 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 1995 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
@@ -20,3 +20,5 @@ Cambridge, MA 02139, USA.  */
 
 SYSCALL__ (sigprocmask, 3)
        ret
+
+weak_alias (__sigprocmask, sigprocmask)
index 58e1465..631e5e9 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993, 1994 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 1994, 1995 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
@@ -26,3 +26,5 @@ ENTRY (__sysconf)
        DO_CALL (sysconf, 1)    /* No; use the SCO system call.  */
        ret
 tzname:        jmp C_SYMBOL_NAME(__tzname_max) /* Yes; bounce to __tzname_max (). */
+
+weak_alias (__sysconf, sysconf)
index 63decf1..523ef37 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993, 1994 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 1994, 1995 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
@@ -32,3 +32,5 @@ ENTRY (__waitpid)
        je null
        movl r1, (scratch)      /* Yes; store the status there.  */
 null:  ret
+
+weak_alias (__waitpid, waitpid)
index 9de35d5..c1ae610 100644 (file)
@@ -1,2 +1,2 @@
 /* Solaris uses sysconf ala POSIX.1.  */
-#include <sysdeps/posix/__getdtsz.c>
+#include <sysdeps/posix/getdtsz.c>
index c1c9e0a..cce1149 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1994 Free Software Foundation, Inc.
+/* Copyright (C) 1994, 1995 Free Software Foundation, Inc.
    Contributed by Brendan Kehoe (brendan@zen.org).
 
 The GNU C Library is free software; you can redistribute it and/or
@@ -29,3 +29,5 @@ DEFUN(__gethostname, (name, namelen), char *name AND size_t namelen)
 {
   return __sysinfo (SI_HOSTNAME, name, namelen);
 }
+
+weak_alias (__gethostname, gethostname)
index 241348c..6119640 100644 (file)
@@ -1,2 +1,2 @@
 /* Solaris uses sysconf ala POSIX.1.  */
-#include <sysdeps/posix/__getpgsz.c>
+#include <sysdeps/posix/getpagesize.c>
index 0ca214f..52ffdba 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1994 Free Software Foundation, Inc.
+/* Copyright (C) 1994, 1995 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,3 +33,5 @@ ENTRY (__lstat)
        DO_CALL (lxstat, 3)     /* Do the syscall.   */
        jb syscall_error        /* Check for error.  */
        ret                     /* Return success.  */
+
+weak_alias (__lstat, lstat)
index 4c879cb..21f932c 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1994 Free Software Foundation, Inc.
+/* Copyright (C) 1994, 1995 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
@@ -32,3 +32,5 @@ ENTRY (__mknod)
         DO_CALL (xmknod, 3)     /* Do the syscall.   */
         jb syscall_error        /* Check for error.  */
         ret                     /* Return success.  */
+
+weak_alias (__mknod, mknod)
index 7282933..3a5107c 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1994 Free Software Foundation, Inc.
+/* Copyright (C) 1994, 1995 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,3 +33,5 @@ ENTRY (__stat)
        DO_CALL (xstat, 3)      /* Do the syscall.   */
        jb syscall_error        /* Check for error.  */
        ret                     /* Return success.  */
+
+weak_alias (__stat, stat)
index 1cdebcd..bbe99fb 100644 (file)
@@ -1 +1 @@
-#include <sysdeps/unix/bsd/i386/__vfork.S>
+#include <sysdeps/unix/bsd/i386/vfork.S>
index 90eff3c..e71f0db 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 1995 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
@@ -30,3 +30,5 @@ DEFUN(__setpgrp, (pid, pgid), int pid AND int pgid)
 {
   return __pgrpsys (1, pid, pgid);
 }
+
+weak_alias (__setpgrp, setpgrp)
index a32b39a..f0d6c8a 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 1995 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
@@ -30,3 +30,5 @@ DEFUN_VOID(__setsid)
 {
   return __pgrpsys (3);
 }
+
+weak_alias (__setsid, setsid)
index 2644fb0..68fd7a1 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1994 Free Software Foundation, Inc.
+/* Copyright (C) 1994, 1995 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
@@ -75,3 +75,5 @@ DEFUN(__sigaction, (sig, act, oact),
 
   return 0;
 }
+
+weak_alias (__sigaction, sigaction)
index 5da366d..51fddb0 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 1995 Free Software Foundation, Inc.
    Contributed by Brendan Kehoe (brendan@zen.org).
 
 The GNU C Library is free software; you can redistribute it and/or
@@ -20,3 +20,5 @@ Cambridge, MA 02139, USA.  */
 
 SYSCALL__ (sigprocmask, 3)
        ret
+
+weak_alias (__sigprocmask, sigprocmask)
index 16baf44..54a043c 100644 (file)
@@ -1,2 +1,2 @@
 /* Solaris has the BSD `utimes' function.  */
-#include <sysdeps/unix/bsd/__utimes.S>
+#include <sysdeps/unix/bsd/utimes.S>
index 71d3d08..607cd05 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 1995 Free Software Foundation, Inc.
    Contributed by Brendan Kehoe (brendan@zen.org).
 
 The GNU C Library is free software; you can redistribute it and/or
@@ -177,3 +177,5 @@ DEFUN(__sysconf, (name), int name)
 #endif
     }
 }
+
+weak_alias (__sysconf, sysconf)
index a0ca8c2..f54df4b 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993, 1994 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 1994, 1995 Free Software Foundation, Inc.
    Contributed by Brendan Kehoe (brendan@zen.org).
 
 The GNU C Library is free software; you can redistribute it and/or
@@ -116,3 +116,5 @@ DEFUN(__waitpid, (pid, stat_loc, options),
      any PID.  */
   return infop.__pid;
 }
+
+weak_alias (__waitpid, waitpid)
index aa755ed..62ec9dc 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1992 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1992, 1995 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
@@ -58,3 +58,5 @@ DEFUN(__infnan, (error), int error)
 }
 
 #endif
+
+weak_alias (__infnan, infnan)
index 84df894..9849761 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1992 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1992, 1995 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
@@ -41,3 +41,5 @@ DEFUN(__memccpy, (dest, src, c, n),
   (void) memcpy (dest, src, (char *) found + 1 - (char *) src);
   return (PTR) ((char *) dest + ((char *) found + 1 - (char *) src));
 }
+
+weak_alias (__memccpy, memccpy)