Converted to use weak aliases with macros from libc-symbols.h.
This commit is contained in:
parent
3c22ede5ec
commit
1cec31f4d4
|
@ -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)
|
||||
|
|
|
@ -1,2 +1,4 @@
|
|||
#define FUNC __isnan
|
||||
#include <__isinf.c>
|
||||
#include <isinf.c>
|
||||
|
||||
weak_alias (__isnan, isnan)
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#define FUNC __rint
|
||||
#define OP intr
|
||||
#include <acos.c>
|
||||
|
||||
weak_alias (__rint, rint)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -1 +1 @@
|
|||
#include <sysdeps/unix/bsd/bsd4.4/__wait4.S>
|
||||
#include <sysdeps/unix/bsd/bsd4.4/wait4.S>
|
||||
|
|
|
@ -1 +1 @@
|
|||
#include <sysdeps/unix/bsd/bsd4.4/__waitpid.c>
|
||||
#include <sysdeps/unix/bsd/bsd4.4/waitpid.c>
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -1 +1 @@
|
|||
#include <sysdeps/unix/bsd/bsd4.4/__wait.c>
|
||||
#include <sysdeps/unix/bsd/bsd4.4/wait.c>
|
||||
|
|
|
@ -1 +1 @@
|
|||
#include <sysdeps/unix/bsd/bsd4.4/__wait3.c>
|
||||
#include <sysdeps/unix/bsd/bsd4.4/wait3.c>
|
||||
|
|
|
@ -1 +1 @@
|
|||
#include <sysdeps/unix/bsd/sun/sunos4/__wait4.c>
|
||||
#include <sysdeps/unix/bsd/sun/sunos4/wait4.c>
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -1 +1 @@
|
|||
#include <sysdeps/unix/bsd/hp/m68k/__wait.S>
|
||||
#include <sysdeps/unix/bsd/hp/m68k/wait.S>
|
||||
|
|
|
@ -1 +1 @@
|
|||
#include <sysdeps/unix/bsd/bsd4.4/__setsid.S>
|
||||
#include <sysdeps/unix/bsd/bsd4.4/setsid.S>
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -1 +1 @@
|
|||
#include <sysdeps/unix/bsd/bsd4.4/__wait.c>
|
||||
#include <sysdeps/unix/bsd/bsd4.4/wait.c>
|
||||
|
|
|
@ -1 +1 @@
|
|||
#include <sysdeps/unix/bsd/bsd4.4/__wait3.c>
|
||||
#include <sysdeps/unix/bsd/bsd4.4/wait3.c>
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -1 +1 @@
|
|||
#include <sysdeps/unix/bsd/bsd4.4/__waitpid.c>
|
||||
#include <sysdeps/unix/bsd/bsd4.4/waitpid.c>
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -1 +1 @@
|
|||
#include <sysdeps/unix/bsd/bsd4.4/__setsid.S>
|
||||
#include <sysdeps/unix/bsd/bsd4.4/setsid.S>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -1 +1,3 @@
|
|||
#include <sysdeps/posix/__gettod.c>
|
||||
|
||||
weak_alias (__gettimeofday, gettimeofday)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -1 +1 @@
|
|||
#include <sysdeps/unix/bsd/ultrix4/__wait3.S>
|
||||
#include <sysdeps/unix/bsd/ultrix4/wait3.S>
|
||||
|
|
|
@ -1 +1 @@
|
|||
#include <sysdeps/unix/bsd/bsd4.4/__waitpid.c>
|
||||
#include <sysdeps/unix/bsd/bsd4.4/waitpid.c>
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -1 +1 @@
|
|||
#include <sysdeps/unix/sysv/sysv4/__setpgrp.c>
|
||||
#include <sysdeps/unix/sysv/sysv4/setpgrp.c>
|
||||
|
|
|
@ -1 +1 @@
|
|||
#include <sysdeps/unix/sysv/sysv4/__setsid.c>
|
||||
#include <sysdeps/unix/sysv/sysv4/setsid.c>
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
/* Solaris uses sysconf ala POSIX.1. */
|
||||
#include <sysdeps/posix/__getdtsz.c>
|
||||
#include <sysdeps/posix/getdtsz.c>
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
/* Solaris uses sysconf ala POSIX.1. */
|
||||
#include <sysdeps/posix/__getpgsz.c>
|
||||
#include <sysdeps/posix/getpagesize.c>
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -1 +1 @@
|
|||
#include <sysdeps/unix/bsd/i386/__vfork.S>
|
||||
#include <sysdeps/unix/bsd/i386/vfork.S>
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
/* Solaris has the BSD `utimes' function. */
|
||||
#include <sysdeps/unix/bsd/__utimes.S>
|
||||
#include <sysdeps/unix/bsd/utimes.S>
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue