Converted to use weak aliases with macros from libc-symbols.h.

This commit is contained in:
Roland McGrath 1995-01-21 15:40:54 +00:00
parent 3c22ede5ec
commit 1cec31f4d4
80 changed files with 200 additions and 86 deletions

View 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)

View File

@ -1,2 +1,4 @@
#define FUNC __isnan
#include <__isinf.c>
#include <isinf.c>
weak_alias (__isnan, isnan)

View 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

View File

@ -1,3 +1,5 @@
#define FUNC __rint
#define OP intr
#include <acos.c>
weak_alias (__rint, rint)

View 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)

View 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)

View 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)

View 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)

View 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)

View 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)

View 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)

View 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)

View 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)

View 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)

View File

@ -1 +1 @@
#include <sysdeps/unix/bsd/bsd4.4/__wait4.S>
#include <sysdeps/unix/bsd/bsd4.4/wait4.S>

View File

@ -1 +1 @@
#include <sysdeps/unix/bsd/bsd4.4/__waitpid.c>
#include <sysdeps/unix/bsd/bsd4.4/waitpid.c>

View 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)

View 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)

View 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)

View 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)

View 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)

View File

@ -1 +1 @@
#include <sysdeps/unix/bsd/bsd4.4/__wait.c>
#include <sysdeps/unix/bsd/bsd4.4/wait.c>

View File

@ -1 +1 @@
#include <sysdeps/unix/bsd/bsd4.4/__wait3.c>
#include <sysdeps/unix/bsd/bsd4.4/wait3.c>

View File

@ -1 +1 @@
#include <sysdeps/unix/bsd/sun/sunos4/__wait4.c>
#include <sysdeps/unix/bsd/sun/sunos4/wait4.c>

View 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)

View 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)

View File

@ -1 +1 @@
#include <sysdeps/unix/bsd/hp/m68k/__wait.S>
#include <sysdeps/unix/bsd/hp/m68k/wait.S>

View File

@ -1 +1 @@
#include <sysdeps/unix/bsd/bsd4.4/__setsid.S>
#include <sysdeps/unix/bsd/bsd4.4/setsid.S>

View 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)

View File

@ -1 +1 @@
#include <sysdeps/unix/bsd/bsd4.4/__wait.c>
#include <sysdeps/unix/bsd/bsd4.4/wait.c>

View File

@ -1 +1 @@
#include <sysdeps/unix/bsd/bsd4.4/__wait3.c>
#include <sysdeps/unix/bsd/bsd4.4/wait3.c>

View 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)

View File

@ -1 +1 @@
#include <sysdeps/unix/bsd/bsd4.4/__waitpid.c>
#include <sysdeps/unix/bsd/bsd4.4/waitpid.c>

View 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

View 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)

View File

@ -1 +1 @@
#include <sysdeps/unix/bsd/bsd4.4/__setsid.S>
#include <sysdeps/unix/bsd/bsd4.4/setsid.S>

View 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>

View 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)

View 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)

View 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)

View 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)

View 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)

View 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)

View 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)

View 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)

View 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)

View 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)

View 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)

View File

@ -1 +1,3 @@
#include <sysdeps/posix/__gettod.c>
weak_alias (__gettimeofday, gettimeofday)

View 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)

View 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)

View 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)

View 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)

View 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)

View File

@ -1 +1 @@
#include <sysdeps/unix/bsd/ultrix4/__wait3.S>
#include <sysdeps/unix/bsd/ultrix4/wait3.S>

View File

@ -1 +1 @@
#include <sysdeps/unix/bsd/bsd4.4/__waitpid.c>
#include <sysdeps/unix/bsd/bsd4.4/waitpid.c>

View 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)

View 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)

View File

@ -1 +1 @@
#include <sysdeps/unix/sysv/sysv4/__setpgrp.c>
#include <sysdeps/unix/sysv/sysv4/setpgrp.c>

View File

@ -1 +1 @@
#include <sysdeps/unix/sysv/sysv4/__setsid.c>
#include <sysdeps/unix/sysv/sysv4/setsid.c>

View 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)

View 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)

View 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)

View 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)

View File

@ -1,2 +1,2 @@
/* Solaris uses sysconf ala POSIX.1. */
#include <sysdeps/posix/__getdtsz.c>
#include <sysdeps/posix/getdtsz.c>

View 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)

View File

@ -1,2 +1,2 @@
/* Solaris uses sysconf ala POSIX.1. */
#include <sysdeps/posix/__getpgsz.c>
#include <sysdeps/posix/getpagesize.c>

View 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)

View 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)

View 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)

View File

@ -1 +1 @@
#include <sysdeps/unix/bsd/i386/__vfork.S>
#include <sysdeps/unix/bsd/i386/vfork.S>

View 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)

View 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)

View 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)

View 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)

View File

@ -1,2 +1,2 @@
/* Solaris has the BSD `utimes' function. */
#include <sysdeps/unix/bsd/__utimes.S>
#include <sysdeps/unix/bsd/utimes.S>

View 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)

View 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)

View 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)

View 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)