Wed Sep 27 00:27:25 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
+ * sysdeps/unix/i386/sysdep.h [HAVE_ELF] (ASM_TYPE_DIRECTIVE):
+ Don't use `type' for arg name, since we are using it as a keyword
+ in the rhs.
+
+ * sysdeps/unix/configure.in: Check for syscalls getpriority,
+ setpriority, getrlimit, setrlimit.
+
+ * sysdeps/posix/truncate.c: Include fcntl.h.
+
+ * sysdeps/generic/getdomain.c: Include string.h for strncpy decl.
+
+ * sysdeps/stub/getpriority.c: Don't include obsolete gnu-stabs.h;
+ use new stub_warning syntax.
+ * sysdeps/stub/setpriority.c: Likewise.
+ * sysdeps/stub/__longjmp.c: Likewise.
+ * sysdeps/stub/_exit.c: Likewise.
+ * sysdeps/stub/accept.c: Likewise.
+ * sysdeps/stub/acos.c: Likewise.
+ * sysdeps/stub/alarm.c: Likewise.
+ * sysdeps/stub/asin.c: Likewise.
+ * sysdeps/stub/atan2.c: Likewise.
+ * sysdeps/stub/bind.c: Likewise.
+ * sysdeps/stub/cbrt.c: Likewise.
+ * sysdeps/stub/chroot.c: Likewise.
+ * sysdeps/stub/closedir.c: Likewise.
+ * sysdeps/stub/connect.c: Likewise.
+ * sysdeps/stub/cos.c: Likewise.
+ * sysdeps/stub/cosh.c: Likewise.
+ * sysdeps/stub/ctermid.c: Likewise.
+ * sysdeps/stub/cuserid.c: Likewise.
+ * sysdeps/stub/defs.c: Likewise.
+ * sysdeps/stub/exp.c: Likewise.
+ * sysdeps/stub/fmod.c: Likewise.
+ * sysdeps/stub/frexp.c: Likewise.
+ * sysdeps/stub/fsync.c: Likewise.
+ * sysdeps/stub/getcwd.c: Likewise.
+ * sysdeps/stub/getenv.c: Likewise.
+ * sysdeps/stub/gethostid.c: Likewise.
+ * sysdeps/stub/getlogin.c: Likewise.
+ * sysdeps/stub/getpeername.c: Likewise.
+ * sysdeps/stub/getrlimit.c: Likewise.
+ * sysdeps/stub/getsockname.c: Likewise.
+ * sysdeps/stub/getsockopt.c: Likewise.
+ * sysdeps/stub/listen.c: Likewise.
+ * sysdeps/stub/log.c: Likewise.
+ * sysdeps/stub/log10.c: Likewise.
+ * sysdeps/stub/mkfifo.c: Likewise.
+ * sysdeps/stub/morecore.c: Likewise.
+ * sysdeps/stub/nice.c: Likewise.
+ * sysdeps/stub/nlist.c: Likewise.
+ * sysdeps/stub/opendir.c: Likewise.
+ * sysdeps/stub/pipestream.c: Likewise.
+ * sysdeps/stub/ptrace.c: Likewise.
+ * sysdeps/stub/putenv.c: Likewise.
+ * sysdeps/stub/readdir.c: Likewise.
+ * sysdeps/stub/reboot.c: Likewise.
+ * sysdeps/stub/recv.c: Likewise.
+ * sysdeps/stub/recvfrom.c: Likewise.
+ * sysdeps/stub/rename.c: Likewise.
+ * sysdeps/stub/rewinddir.c: Likewise.
+ * sysdeps/stub/seekdir.c: Likewise.
+ * sysdeps/stub/send.c: Likewise.
+ * sysdeps/stub/sendto.c: Likewise.
+ * sysdeps/stub/setegid.c: Likewise.
+ * sysdeps/stub/seteuid.c: Likewise.
+ * sysdeps/stub/setgroups.c: Likewise.
+ * sysdeps/stub/sethostid.c: Likewise.
+ * sysdeps/stub/sethostname.c: Likewise.
+ * sysdeps/stub/setjmp.c: Likewise.
+ * sysdeps/stub/setrlimit.c: Likewise.
+ * sysdeps/stub/setsockopt.c: Likewise.
+ * sysdeps/stub/shutdown.c: Likewise.
+ * sysdeps/stub/signal.c: Likewise.
+ * sysdeps/stub/sigsuspend.c: Likewise.
+ * sysdeps/stub/sin.c: Likewise.
+ * sysdeps/stub/sinh.c: Likewise.
+ * sysdeps/stub/socket.c: Likewise.
+ * sysdeps/stub/socketpair.c: Likewise.
+ * sysdeps/stub/sqrt.c: Likewise.
+ * sysdeps/stub/sync.c: Likewise.
+M sysd-stdio.c
+ * sysdeps/stub/system.c: Likewise.
+ * sysdeps/stub/tan.c: Likewise.
+ * sysdeps/stub/tanh.c: Likewise.
+ * sysdeps/stub/tcdrain.c: Likewise.
+ * sysdeps/stub/tcflow.c: Likewise.
+ * sysdeps/stub/tcgetpgrp.c: Likewise.
+ * sysdeps/stub/tcsendbrk.c: Likewise.
+ * sysdeps/stub/tcsetattr.c: Likewise.
+ * sysdeps/stub/tcsetpgrp.c: Likewise.
+ * sysdeps/stub/telldir.c: Likewise.
+ * sysdeps/stub/tempname.c: Likewise.
+ * sysdeps/stub/ttyname.c: Likewise.
+ * sysdeps/stub/ttyname_r.c: Likewise.
+ * sysdeps/stub/utime.c: Likewise.
+
+ * gmon/gmon.c (moncontrol): Don't cast buffer arg to profil.
+
+ * time/mktime.c (localtime_r): Use 0 instead of NULL.
+
* config.make.in (AS): New variable; set to `$(CC) -c'.
* posix/unistd.h [__USE_BSD]: Declare profil.
if (mode) {
/* start */
- profil((char *)p->kcount, p->kcountsize, (int)p->lowpc,
+ profil(p->kcount, p->kcountsize, (int)p->lowpc,
s_scale);
p->state = GMON_PROF_ON;
} else {
/* stop */
- profil((char *)0, 0, 0, 0);
+ profil(0, 0, 0, 0);
p->state = GMON_PROF_OFF;
}
}
#include <errno.h>
#include <unistd.h>
#include <sys/utsname.h>
+#include <string.h>
#if _UTSNAME_DOMAIN_LENGTH
/* The `uname' information includes the domain name. */
#include <sys/types.h>
#include <errno.h>
#include <unistd.h>
+#include <fcntl.h>
/* Truncate PATH to LENGTH bytes. */
int
-/* 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
/* No way to signal failure. */
}
-
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(longjmp);
-
-#endif /* GNU stabs. */
+stub_warning (longjmp)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(_exit);
-
-#endif /* GNU stabs. */
+stub_warning (_exit)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(accept);
-
-#endif /* GNU stabs. */
+stub_warning (accept)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(acos);
-
-#endif /* GNU stabs. */
+stub_warning (acos)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(alarm);
-
-#endif /* GNU stabs. */
+stub_warning (alarm)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(asin);
-
-#endif /* GNU stabs. */
+stub_warning (asin)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(atan2);
-
-#endif /* GNU stabs. */
+stub_warning (atan2)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(bind);
-
-#endif /* GNU stabs. */
+stub_warning (bind)
-/* Copyright (C) 1992 Free Software Foundation, Inc.
+/* Copyright (C) 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(cbrt);
-
-#endif /* GNU stabs. */
+stub_warning (cbrt)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(chroot);
-
-#endif /* GNU stabs. */
+stub_warning (chroot)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(closedir);
-
-#endif /* GNU stabs. */
+stub_warning (closedir)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(connect);
-
-#endif /* GNU stabs. */
+stub_warning (connect)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(cos);
-
-#endif /* GNU stabs. */
+stub_warning (cos)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(cosh);
-
-#endif /* GNU stabs. */
+stub_warning (cosh)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(ctermid);
-
-#endif /* GNU stabs. */
+stub_warning (ctermid)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(cuserid);
-
-#endif /* GNU stabs. */
+stub_warning (cuserid)
/* Definitions of global stdio data structures.
-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
#ifdef HAVE_GNU_LD
-#include <gnu-stabs.h>
-
-text_set_element(__libc_atexit, _cleanup);
+text_set_element (__libc_atexit, _cleanup);
#endif
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(exp);
-
-#endif /* GNU stabs. */
+stub_warning (exp)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(fmod);
-
-#endif /* GNU stabs. */
+stub_warning (fmod)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(frexp);
-
-#endif /* GNU stabs. */
+stub_warning (frexp)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(fsync);
-
-#endif /* GNU stabs. */
+stub_warning (fsync)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(getcwd);
-
-#endif /* GNU stabs. */
+stub_warning (getcwd)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(getenv);
-
-#endif /* GNU stabs. */
+stub_warning (getenv)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(gethostid);
-
-#endif /* GNU stabs. */
+stub_warning (gethostid)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(getlogin);
-
-#endif /* GNU stabs. */
+stub_warning (getlogin)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(getpeername);
-
-#endif /* GNU stabs. */
+stub_warning (getpeername)
-/* 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
return -1;
}
-
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(getpriority);
-
-#endif /* GNU stabs. */
+stub_warning (getpriority)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(getrlimit);
-
-#endif /* GNU stabs. */
+stub_warning (getrlimit)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(getsockname);
-
-#endif /* GNU stabs. */
+stub_warning (getsockname)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(getsockopt);
-
-#endif /* GNU stabs. */
+stub_warning (getsockopt)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(listen);
-
-#endif /* GNU stabs. */
+stub_warning (listen)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(log);
-
-#endif /* GNU stabs. */
+stub_warning (log)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(log10);
-
-#endif /* GNU stabs. */
+stub_warning (log10)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(mkfifo);
-
-#endif /* GNU stabs. */
+stub_warning (mkfifo)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(__default_morecore);
-
-#endif /* GNU stabs. */
+stub_warning (__default_morecore)
-/* Copyright (C) 1992 Free Software Foundation, Inc.
+/* Copyright (C) 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
return -1;
}
-
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning (nice);
-
-#endif /* GNU stabs. */
+stub_warning (nice)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(nlist);
-
-#endif /* GNU stabs. */
+stub_warning (nlist)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(opendir);
-
-#endif /* GNU stabs. */
+stub_warning (opendir)
-/* Copyright (C) 1991, 1993 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 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
return -1;
}
-
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(popen);
-stub_warning(pclose);
-
-#endif /* GNU stabs. */
+stub_warning (popen)
+stub_warning (pclose)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(ptrace);
-
-#endif /* GNU stabs. */
+stub_warning (ptrace)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(putenv);
-
-#endif /* GNU stabs. */
+stub_warning (putenv)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(readdir);
-
-#endif /* GNU stabs. */
+stub_warning (readdir)
-/* Copyright (C) 1992 Free Software Foundation, Inc.
+/* Copyright (C) 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(reboot);
-
-#endif /* GNU stabs. */
+stub_warning (reboot)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(recv);
-
-#endif /* GNU stabs. */
+stub_warning (recv)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(recvfrom);
-
-#endif /* GNU stabs. */
+stub_warning (recvfrom)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(rename);
-
-#endif /* GNU stabs. */
+stub_warning (rename)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(rewinddir);
-
-#endif /* GNU stabs. */
+stub_warning (rewinddir)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(seekdir);
-
-#endif /* GNU stabs. */
+stub_warning (seekdir)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(send);
-
-#endif /* GNU stabs. */
+stub_warning (send)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(sendto);
-
-#endif /* GNU stabs. */
+stub_warning (sendto)
-/* Copyright (C) 1992, 1994 Free Software Foundation, Inc.
+/* Copyright (C) 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(setegid);
-
-#endif /* GNU stabs. */
+stub_warning (setegid)
-/* Copyright (C) 1992 Free Software Foundation, Inc.
+/* Copyright (C) 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(seteuid);
-
-#endif /* GNU stabs. */
+stub_warning (seteuid)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(setgroups);
-
-#endif /* GNU stabs. */
+stub_warning (setgroups)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(sethostid);
-
-#endif /* GNU stabs. */
+stub_warning (sethostid)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(sethostname);
-
-#endif /* GNU stabs. */
+stub_warning (sethostname)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(__sigsetjmp);
-
-#endif /* GNU stabs. */
+stub_warning (__sigsetjmp)
-/* 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
return -1;
}
-
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(setpriority);
-
-#endif /* GNU stabs. */
+stub_warning (setpriority)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(setrlimit);
-
-#endif /* GNU stabs. */
+stub_warning (setrlimit)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(setsockopt);
-
-#endif /* GNU stabs. */
+stub_warning (setsockopt)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(shutdown);
-
-#endif /* GNU stabs. */
+stub_warning (shutdown)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(signal);
-
-#endif /* GNU stabs. */
+stub_warning (signal)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(sigsuspend);
-
-#endif /* GNU stabs. */
+stub_warning (sigsuspend)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(sin);
-
-#endif /* GNU stabs. */
+stub_warning (sin)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(sinh);
-
-#endif /* GNU stabs. */
+stub_warning (sinh)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(socket);
-
-#endif /* GNU stabs. */
+stub_warning (socket)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(socketpair);
-
-#endif /* GNU stabs. */
+stub_warning (socketpair)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(sqrt);
-
-#endif /* GNU stabs. */
+stub_warning (sqrt)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(sync);
-
-#endif /* GNU stabs. */
+stub_warning (sync)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(__stdio_read);
-stub_warning(__stdio_write);
-stub_warning(__stdio_seek);
-stub_warning(__stdio_close);
-stub_warning(__stdio_fileno);
-stub_warning(__stdio_open);
-stub_warning(__stdio_reopen);
-
-#endif /* GNU stabs. */
+stub_warning (__stdio_read)
+stub_warning (__stdio_write)
+stub_warning (__stdio_seek)
+stub_warning (__stdio_close)
+stub_warning (__stdio_fileno)
+stub_warning (__stdio_open)
+stub_warning (__stdio_reopen)
-/* Copyright (C) 1991, 1993 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(system);
-
-#endif /* GNU stabs. */
+stub_warning (system)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(tan);
-
-#endif /* GNU stabs. */
+stub_warning (tan)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(tanh);
-
-#endif /* GNU stabs. */
+stub_warning (tanh)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(tcdrain);
-
-#endif /* GNU stabs. */
+stub_warning (tcdrain)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(tcflow);
-
-#endif /* GNU stabs. */
+stub_warning (tcflow)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(tcgetpgrp);
-
-#endif /* GNU stabs. */
+stub_warning (tcgetpgrp)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(tcsendbreak);
-
-#endif /* GNU stabs. */
+stub_warning (tcsendbreak)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(tcsetattr);
-
-#endif /* GNU stabs. */
+stub_warning (tcsetattr)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(tcsetpgrp);
-
-#endif /* GNU stabs. */
+stub_warning (tcsetpgrp)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(telldir);
-
-#endif /* GNU stabs. */
+stub_warning (telldir)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(__stdio_gen_tempname);
-
-#endif /* GNU stabs. */
+stub_warning (__stdio_gen_tempname)
-/* 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
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(ttyname);
-
-#endif /* GNU stabs. */
+stub_warning (ttyname)
}
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(ttyname_r);
-
-#endif /* GNU stabs. */
+stub_warning (ttyname_r)
-/* 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
-#ifdef HAVE_GNU_LD
-
-#include <gnu-stabs.h>
-
-stub_warning(utime);
-
-#endif /* GNU stabs. */
+stub_warning (utime)
access select getgroups setgroups \
getitimer setitimer \
getdomainname/getdomain=bsd/bsd4.4 \
- setdomainname/setdomain=bsd/bsd4.4
+ setdomainname/setdomain=bsd/bsd4.4 \
+ profil=bsd \
+ getpriority setpriority \
+ getrlimit setrlimit
do
# $unix_function => $unix_syscall $unix_srcname
getitimer setitimer \
getdomainname/getdomain=bsd/bsd4.4 \
setdomainname/setdomain=bsd/bsd4.4 \
- profil=bsd
+ profil=bsd \
+ getpriority setpriority \
+ getrlimit setrlimit
do
# $unix_function => $unix_syscall $unix_srcname
/* For ELF we need the `.type' directive to make shared libs work right. */
#ifdef HAVE_ELF
-#define ASM_TYPE_DIRECTIVE(name,type) .type name,type;
+#define ASM_TYPE_DIRECTIVE(name,typearg) .type name,typearg;
#else
#define ASM_TYPE_DIRECTIVE(name,type) /* Nothing is specified. */
#endif
{
struct tm *l = localtime (t);
if (! l)
- return NULL;
+ return 0;
*tp = *l;
return tp;
}