From e56c8d6e9fecc6b96c26aa83317fda3fb916d8c0 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sat, 22 Jul 1995 07:43:56 +0000 Subject: [PATCH] Files moved from defunct sysdeps/unix/sysv/linux directory. --- sysdeps/unix/sysv/sysv4/linux/accept.S | 2 ++ sysdeps/unix/sysv/sysv4/linux/bind.S | 2 ++ sysdeps/unix/sysv/sysv4/linux/connect.S | 2 ++ sysdeps/unix/sysv/sysv4/linux/getpeername.S | 2 ++ sysdeps/unix/sysv/sysv4/linux/getsockname.S | 2 ++ sysdeps/unix/sysv/sysv4/linux/listen.S | 2 ++ sysdeps/unix/sysv/sysv4/linux/rename.S | 1 + sysdeps/unix/sysv/sysv4/linux/setsid.S | 1 + sysdeps/unix/sysv/sysv4/linux/socketpair.S | 2 ++ sysdeps/unix/sysv/sysv4/linux/wait4.S | 1 + sysdeps/unix/sysv/sysv4/linux/waitpid.S | 24 +++++++++++++++++++++ 11 files changed, 41 insertions(+) create mode 100644 sysdeps/unix/sysv/sysv4/linux/accept.S create mode 100644 sysdeps/unix/sysv/sysv4/linux/bind.S create mode 100644 sysdeps/unix/sysv/sysv4/linux/connect.S create mode 100644 sysdeps/unix/sysv/sysv4/linux/getpeername.S create mode 100644 sysdeps/unix/sysv/sysv4/linux/getsockname.S create mode 100644 sysdeps/unix/sysv/sysv4/linux/listen.S create mode 100644 sysdeps/unix/sysv/sysv4/linux/rename.S create mode 100644 sysdeps/unix/sysv/sysv4/linux/setsid.S create mode 100644 sysdeps/unix/sysv/sysv4/linux/socketpair.S create mode 100644 sysdeps/unix/sysv/sysv4/linux/wait4.S create mode 100644 sysdeps/unix/sysv/sysv4/linux/waitpid.S diff --git a/sysdeps/unix/sysv/sysv4/linux/accept.S b/sysdeps/unix/sysv/sysv4/linux/accept.S new file mode 100644 index 0000000000..5936a0185b --- /dev/null +++ b/sysdeps/unix/sysv/sysv4/linux/accept.S @@ -0,0 +1,2 @@ +#define socket accept +#include diff --git a/sysdeps/unix/sysv/sysv4/linux/bind.S b/sysdeps/unix/sysv/sysv4/linux/bind.S new file mode 100644 index 0000000000..fc82b65a2f --- /dev/null +++ b/sysdeps/unix/sysv/sysv4/linux/bind.S @@ -0,0 +1,2 @@ +#define socket bind +#include diff --git a/sysdeps/unix/sysv/sysv4/linux/connect.S b/sysdeps/unix/sysv/sysv4/linux/connect.S new file mode 100644 index 0000000000..3433043d8c --- /dev/null +++ b/sysdeps/unix/sysv/sysv4/linux/connect.S @@ -0,0 +1,2 @@ +#define socket connect +#include diff --git a/sysdeps/unix/sysv/sysv4/linux/getpeername.S b/sysdeps/unix/sysv/sysv4/linux/getpeername.S new file mode 100644 index 0000000000..8429fcdf76 --- /dev/null +++ b/sysdeps/unix/sysv/sysv4/linux/getpeername.S @@ -0,0 +1,2 @@ +#define socket getpeername +#include diff --git a/sysdeps/unix/sysv/sysv4/linux/getsockname.S b/sysdeps/unix/sysv/sysv4/linux/getsockname.S new file mode 100644 index 0000000000..6782707f88 --- /dev/null +++ b/sysdeps/unix/sysv/sysv4/linux/getsockname.S @@ -0,0 +1,2 @@ +#define socket getsockname +#include diff --git a/sysdeps/unix/sysv/sysv4/linux/listen.S b/sysdeps/unix/sysv/sysv4/linux/listen.S new file mode 100644 index 0000000000..d2cbec60a0 --- /dev/null +++ b/sysdeps/unix/sysv/sysv4/linux/listen.S @@ -0,0 +1,2 @@ +#define socket listen +#include diff --git a/sysdeps/unix/sysv/sysv4/linux/rename.S b/sysdeps/unix/sysv/sysv4/linux/rename.S new file mode 100644 index 0000000000..a5a8dfeeef --- /dev/null +++ b/sysdeps/unix/sysv/sysv4/linux/rename.S @@ -0,0 +1 @@ +#include diff --git a/sysdeps/unix/sysv/sysv4/linux/setsid.S b/sysdeps/unix/sysv/sysv4/linux/setsid.S new file mode 100644 index 0000000000..4930c56dcf --- /dev/null +++ b/sysdeps/unix/sysv/sysv4/linux/setsid.S @@ -0,0 +1 @@ +#include diff --git a/sysdeps/unix/sysv/sysv4/linux/socketpair.S b/sysdeps/unix/sysv/sysv4/linux/socketpair.S new file mode 100644 index 0000000000..da71c57dea --- /dev/null +++ b/sysdeps/unix/sysv/sysv4/linux/socketpair.S @@ -0,0 +1,2 @@ +#define socket socketpair +#include diff --git a/sysdeps/unix/sysv/sysv4/linux/wait4.S b/sysdeps/unix/sysv/sysv4/linux/wait4.S new file mode 100644 index 0000000000..e4c322341d --- /dev/null +++ b/sysdeps/unix/sysv/sysv4/linux/wait4.S @@ -0,0 +1 @@ +#include diff --git a/sysdeps/unix/sysv/sysv4/linux/waitpid.S b/sysdeps/unix/sysv/sysv4/linux/waitpid.S new file mode 100644 index 0000000000..20d9d669bb --- /dev/null +++ b/sysdeps/unix/sysv/sysv4/linux/waitpid.S @@ -0,0 +1,24 @@ +/* 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 +modify it under the terms of the GNU Library General Public License as +published by the Free Software Foundation; either version 2 of the +License, or (at your option) any later version. + +The GNU C Library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public +License along with the GNU C Library; see the file COPYING.LIB. If +not, write to the Free Software Foundation, Inc., 675 Mass Ave, +Cambridge, MA 02139, USA. */ + +#include + +SYSCALL__ (waitpid, 3) + ret + +weak_alias (__waitpid, waitpid)