-/* Copyright (C) 1992, 1993 Free Software Foundation, Inc.
+/* Copyright (C) 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
#include <math.h>
/* Return X with its sign changed to Y's. */
-__inline __CONSTVALUE double
+__inline double
__copysign (double __x, double __y)
{
__asm ("cpys %1, %2, %0" : "=f" (__x) : "f" (__y), "f" (__x));
return __x;
}
+
+weak_alias (__copysign, copysign)
-/* 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
#undef drem
-__CONSTVALUE double
+double
DEFUN(__drem, (x, y), double x AND double y)
{
return ____drem(x, y);
}
+
+weak_alias (__drem, drem)
-/* Copyright (C) 1991, 1994 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1994, 1995 Free Software Foundation, Inc.
Ported to standalone by Joel Sherrill jsherril@redstone-emh2.army.mil,
On-Line Applications Research Corporation.
}
#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
text_set_element (__libc_subinit, __NONE_set_memvals);
-
#endif
+weak_alias (__brk, brk)
-/* 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.
return 0;
}
+
+weak_alias (__close, close)
-/* 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
error: ldgp gp,0(gp)
jmp zero,syscall_error
.end __brk
+
+weak_alias (__brk, brk)
-/* 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
SYSCALL__ (fork, 0)
cmovne a4, 0, v0
ret
+
+weak_alias (__fork, fork)
-/* 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
SYSCALL__ (getdirentries, 4)
ret
+
+weak_alias (__getdirentries, getdirentries)
+
-/* Copyright (C) 1991, 1993, 1994 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 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
clrl d0
rts
error: jmp syscall_error
+
+weak_alias (__brk, brk)
-/* 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
SYSCALL__ (getdirentries, 4)
ret
+
+weak_alias (__getdirentries, getdirentries)
-/* 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
rts
1:
jmp syscall_error
+
+weak_alias (__brk, brk)
-#include <sysdeps/unix/bsd/sun/__getdents.S>
+#include <sysdeps/unix/bsd/sun/getdents.S>
-/* Copyright (C) 1991 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 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
ret
1:
jmp syscall_error
+
+weak_alias (__brk, brk)
-/* 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
nop
nop
nop
+
+weak_alias (__brk, brk)
-/* 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
move v0, zero
parent:
ret
+
+weak_alias (__fork, fork)
#include <sysdeps/posix/__dup2.c>
+
+weak_alias (__dup2, dup2)
-/* 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
{
return __syssgi (SGI_PATHCONF, FPATHCONF, fd, name);
}
+
+weak_alias (__fpathconf, fpathconf)
/* SVR4 uses the POSIX dup2. */
#include <sysdeps/posix/__dup2.c>
+
+weak_alias (__dup2, dup2)
-/* 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
DO_CALL (fxstat, 3) /* Do the syscall. */
jb syscall_error /* Check for error. */
ret /* Return success. */
+
+weak_alias (__fstat, fstat)