diff options
Diffstat (limited to 'sysdeps')
202 files changed, 230 insertions, 3895 deletions
diff --git a/sysdeps/unix/acct.S b/sysdeps/unix/acct.S deleted file mode 100644 index f9363d253d..0000000000 --- a/sysdeps/unix/acct.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1991, 1992 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 <sysdep.h> - -SYSCALL (acct, 1) - ret diff --git a/sysdeps/unix/bsd/bsd4.4/chflags.S b/sysdeps/unix/bsd/bsd4.4/chflags.S deleted file mode 100644 index 629ff5c399..0000000000 --- a/sysdeps/unix/bsd/bsd4.4/chflags.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1991, 1992 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 <sysdep.h> - -SYSCALL (chflags, 2) - ret diff --git a/sysdeps/unix/bsd/bsd4.4/fchdir.S b/sysdeps/unix/bsd/bsd4.4/fchdir.S deleted file mode 100644 index c4184bcf8d..0000000000 --- a/sysdeps/unix/bsd/bsd4.4/fchdir.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1992 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 <sysdep.h> - -SYSCALL (fchdir, 1) - ret diff --git a/sysdeps/unix/bsd/bsd4.4/fchflags.S b/sysdeps/unix/bsd/bsd4.4/fchflags.S deleted file mode 100644 index 9e4d1435f8..0000000000 --- a/sysdeps/unix/bsd/bsd4.4/fchflags.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1991, 1992 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 <sysdep.h> - -SYSCALL (fchflags, 2) - ret diff --git a/sysdeps/unix/bsd/bsd4.4/getdents.S b/sysdeps/unix/bsd/bsd4.4/getdents.S deleted file mode 100644 index be449b2bcb..0000000000 --- a/sysdeps/unix/bsd/bsd4.4/getdents.S +++ /dev/null @@ -1 +0,0 @@ -#include <sysdeps/unix/bsd/sun/getdents.S> diff --git a/sysdeps/unix/bsd/bsd4.4/getdomain.S b/sysdeps/unix/bsd/bsd4.4/getdomain.S deleted file mode 100644 index b1ba2fd896..0000000000 --- a/sysdeps/unix/bsd/bsd4.4/getdomain.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1994 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 <sysdep.h> - -SYSCALL (getdomainname, 2) - ret diff --git a/sysdeps/unix/bsd/bsd4.4/revoke.S b/sysdeps/unix/bsd/bsd4.4/revoke.S deleted file mode 100644 index ee0cb4dec7..0000000000 --- a/sysdeps/unix/bsd/bsd4.4/revoke.S +++ /dev/null @@ -1,23 +0,0 @@ -/* Revoke the access of all descriptors currently open on a file. -Copyright (C) 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 <sysdep.h> - -SYSCALL (revoke, 1) - ret diff --git a/sysdeps/unix/bsd/bsd4.4/setdomain.S b/sysdeps/unix/bsd/bsd4.4/setdomain.S deleted file mode 100644 index fbaa7a81a2..0000000000 --- a/sysdeps/unix/bsd/bsd4.4/setdomain.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1994 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 <sysdep.h> - -SYSCALL (setdomainname, 2) - ret diff --git a/sysdeps/unix/bsd/bsd4.4/setegid.S b/sysdeps/unix/bsd/bsd4.4/setegid.S deleted file mode 100644 index b47187244c..0000000000 --- a/sysdeps/unix/bsd/bsd4.4/setegid.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1991, 1992 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 <sysdep.h> - -SYSCALL (setegid, 1) - ret diff --git a/sysdeps/unix/bsd/bsd4.4/seteuid.S b/sysdeps/unix/bsd/bsd4.4/seteuid.S deleted file mode 100644 index a4f55d3e89..0000000000 --- a/sysdeps/unix/bsd/bsd4.4/seteuid.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1991, 1992 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 <sysdep.h> - -SYSCALL (seteuid, 1) - ret diff --git a/sysdeps/unix/bsd/bsd4.4/setlogin.S b/sysdeps/unix/bsd/bsd4.4/setlogin.S deleted file mode 100644 index ba364b9aae..0000000000 --- a/sysdeps/unix/bsd/bsd4.4/setlogin.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1991, 1992 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 <sysdep.h> - -SYSCALL (setlogin, 2) - ret diff --git a/sysdeps/unix/bsd/bsd4.4/setsid.S b/sysdeps/unix/bsd/bsd4.4/setsid.S deleted file mode 100644 index 6e776e1f7b..0000000000 --- a/sysdeps/unix/bsd/bsd4.4/setsid.S +++ /dev/null @@ -1,24 +0,0 @@ -/* 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 <sysdep.h> - -SYSCALL__ (setsid, 0) - ret - -weak_alias (__setsid, setsid) diff --git a/sysdeps/unix/bsd/bsd4.4/sigaltstack.S b/sysdeps/unix/bsd/bsd4.4/sigaltstack.S deleted file mode 100644 index 86d7706a5e..0000000000 --- a/sysdeps/unix/bsd/bsd4.4/sigaltstack.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1991, 1992 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 <sysdep.h> - -SYSCALL (sigaltstack, 2) - ret diff --git a/sysdeps/unix/bsd/bsd4.4/syscalls.list b/sysdeps/unix/bsd/bsd4.4/syscalls.list new file mode 100644 index 0000000000..2cf729cc31 --- /dev/null +++ b/sysdeps/unix/bsd/bsd4.4/syscalls.list @@ -0,0 +1,12 @@ +# File name Caller Syscall name # args Strong name Weak names + +chflags - chflags 2 chflags +fchflags - fchflags 2 fchflags +getdents - getdirentries 4 __getdirentries getdirentries +revoke - revoke 1 revoke +setegid - setegid 1 setegid +seteuid - seteuid 1 seteuid +setlogin - setlogin 2 setlogin +setsid - setsid 0 __setsid setsid +sigaltstack - sigaltstack 2 sigaltstack +wait4 - wait4 4 __wait4 wait4 diff --git a/sysdeps/unix/bsd/bsd4.4/wait4.S b/sysdeps/unix/bsd/bsd4.4/wait4.S deleted file mode 100644 index 43b866f164..0000000000 --- a/sysdeps/unix/bsd/bsd4.4/wait4.S +++ /dev/null @@ -1,24 +0,0 @@ -/* 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 -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 <sysdep.h> - -SYSCALL__ (wait4, 4) - ret - -weak_alias (__wait4, wait4) diff --git a/sysdeps/unix/bsd/flock.S b/sysdeps/unix/bsd/flock.S deleted file mode 100644 index 6d72f62c9d..0000000000 --- a/sysdeps/unix/bsd/flock.S +++ /dev/null @@ -1,24 +0,0 @@ -/* 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 -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 <sysdep.h> - -SYSCALL__ (flock, 2) - ret - -weak_alias (__flock, flock) diff --git a/sysdeps/unix/bsd/getdtsz.S b/sysdeps/unix/bsd/getdtsz.S deleted file mode 100644 index fbba806285..0000000000 --- a/sysdeps/unix/bsd/getdtsz.S +++ /dev/null @@ -1,24 +0,0 @@ -/* 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 <sysdep.h> - -SYSCALL__ (getdtablesize, 0) - ret - -weak_alias (__getdtablesize, getdtablesize) diff --git a/sysdeps/unix/bsd/getpagesize.S b/sysdeps/unix/bsd/getpagesize.S deleted file mode 100644 index 16232f0b36..0000000000 --- a/sysdeps/unix/bsd/getpagesize.S +++ /dev/null @@ -1,24 +0,0 @@ -/* 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 <sysdep.h> - -SYSCALL__ (getpagesize, 0) - ret - -weak_alias (__getpagesize, getpagesize) diff --git a/sysdeps/unix/bsd/hp/m68k/getdents.S b/sysdeps/unix/bsd/hp/m68k/getdents.S deleted file mode 100644 index be449b2bcb..0000000000 --- a/sysdeps/unix/bsd/hp/m68k/getdents.S +++ /dev/null @@ -1 +0,0 @@ -#include <sysdeps/unix/bsd/sun/getdents.S> diff --git a/sysdeps/unix/bsd/hp/m68k/syscalls.list b/sysdeps/unix/bsd/hp/m68k/syscalls.list new file mode 100644 index 0000000000..b9dca13bf7 --- /dev/null +++ b/sysdeps/unix/bsd/hp/m68k/syscalls.list @@ -0,0 +1,3 @@ +# File name Caller Syscall name # args Strong name Weak names + +getdents - getdirentries 4 __getdirentries getdirentries diff --git a/sysdeps/unix/bsd/killpg.S b/sysdeps/unix/bsd/killpg.S deleted file mode 100644 index 7ce0f49972..0000000000 --- a/sysdeps/unix/bsd/killpg.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1991, 1992 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 <sysdep.h> - -SYSCALL (killpg, 2) - ret diff --git a/sysdeps/unix/bsd/osf/alpha/syscalls.list b/sysdeps/unix/bsd/osf/alpha/syscalls.list new file mode 100644 index 0000000000..ac883925e1 --- /dev/null +++ b/sysdeps/unix/bsd/osf/alpha/syscalls.list @@ -0,0 +1,3 @@ +# File name Caller Syscall name # args Strong name Weak names + +wait4 - wait4 4 __wait4 wait4 diff --git a/sysdeps/unix/bsd/osf/alpha/wait4.S b/sysdeps/unix/bsd/osf/alpha/wait4.S deleted file mode 100644 index e4c322341d..0000000000 --- a/sysdeps/unix/bsd/osf/alpha/wait4.S +++ /dev/null @@ -1 +0,0 @@ -#include <sysdeps/unix/bsd/bsd4.4/wait4.S> diff --git a/sysdeps/unix/bsd/osf/msync.S b/sysdeps/unix/bsd/osf/msync.S deleted file mode 100644 index 75b9f1531d..0000000000 --- a/sysdeps/unix/bsd/osf/msync.S +++ /dev/null @@ -1 +0,0 @@ -#include <sysdeps/unix/bsd/sun/sunos4/msync.S> diff --git a/sysdeps/unix/bsd/osf/syscalls.list b/sysdeps/unix/bsd/osf/syscalls.list new file mode 100644 index 0000000000..731763b3eb --- /dev/null +++ b/sysdeps/unix/bsd/osf/syscalls.list @@ -0,0 +1,3 @@ +# File name Caller Syscall name # args Strong name Weak names + +msync - msync 3 msync diff --git a/sysdeps/unix/bsd/profil.S b/sysdeps/unix/bsd/profil.S deleted file mode 100644 index 22429bd46b..0000000000 --- a/sysdeps/unix/bsd/profil.S +++ /dev/null @@ -1,23 +0,0 @@ -/* Low-level statistical profiling support function. Unix syscall version. -Copyright (C) 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 <sysdep.h> - -SYSCALL (profil, 4) - ret diff --git a/sysdeps/unix/bsd/readv.S b/sysdeps/unix/bsd/readv.S deleted file mode 100644 index 1d643ac6d3..0000000000 --- a/sysdeps/unix/bsd/readv.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1991, 1992 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 <sysdep.h> - -SYSCALL (readv, 3) - ret diff --git a/sysdeps/unix/bsd/settimeofday.S b/sysdeps/unix/bsd/settimeofday.S deleted file mode 100644 index 2dcf18d7ce..0000000000 --- a/sysdeps/unix/bsd/settimeofday.S +++ /dev/null @@ -1,24 +0,0 @@ -/* 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 <sysdep.h> - -SYSCALL__ (settimeofday, 2) - ret - -weak_alias (__settimeofday, settimeofday) diff --git a/sysdeps/unix/bsd/sigblock.S b/sysdeps/unix/bsd/sigblock.S deleted file mode 100644 index 26fc674cc2..0000000000 --- a/sysdeps/unix/bsd/sigblock.S +++ /dev/null @@ -1,24 +0,0 @@ -/* 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 <sysdep.h> - -SYSCALL__ (sigblock, 1) - ret - -weak_alias (__sigblock, sigblock) diff --git a/sysdeps/unix/bsd/sigpause.S b/sysdeps/unix/bsd/sigpause.S deleted file mode 100644 index de89e99164..0000000000 --- a/sysdeps/unix/bsd/sigpause.S +++ /dev/null @@ -1,24 +0,0 @@ -/* 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 <sysdep.h> - -SYSCALL__ (sigpause, 1) - ret - -weak_alias (__sigpause, sigpause) diff --git a/sysdeps/unix/bsd/sigsetmask.S b/sysdeps/unix/bsd/sigsetmask.S deleted file mode 100644 index 39fa9e7e00..0000000000 --- a/sysdeps/unix/bsd/sigsetmask.S +++ /dev/null @@ -1,24 +0,0 @@ -/* 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 <sysdep.h> - -SYSCALL__ (sigsetmask, 1) - ret - -weak_alias (__sigsetmask, sigsetmask) diff --git a/sysdeps/unix/bsd/sigstack.S b/sysdeps/unix/bsd/sigstack.S deleted file mode 100644 index be92d9312d..0000000000 --- a/sysdeps/unix/bsd/sigstack.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1991, 1992 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 <sysdep.h> - -SYSCALL (sigstack, 2) - ret diff --git a/sysdeps/unix/bsd/sigvec.S b/sysdeps/unix/bsd/sigvec.S deleted file mode 100644 index 2922a224ce..0000000000 --- a/sysdeps/unix/bsd/sigvec.S +++ /dev/null @@ -1,24 +0,0 @@ -/* 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 <sysdep.h> - -SYSCALL__ (sigvec, 3) - ret - -weak_alias (__sigvec, sigvec) diff --git a/sysdeps/unix/bsd/sony/newsos4/fchdir.S b/sysdeps/unix/bsd/sony/newsos4/fchdir.S deleted file mode 100644 index 6db7282ac9..0000000000 --- a/sysdeps/unix/bsd/sony/newsos4/fchdir.S +++ /dev/null @@ -1 +0,0 @@ -#include <sysdeps/unix/bsd/bsd4.4/fchdir.S> diff --git a/sysdeps/unix/bsd/sony/newsos4/sys_wait4.S b/sysdeps/unix/bsd/sony/newsos4/sys_wait4.S deleted file mode 100644 index 6a79710b07..0000000000 --- a/sysdeps/unix/bsd/sony/newsos4/sys_wait4.S +++ /dev/null @@ -1 +0,0 @@ -#include <sysdeps/unix/bsd/sun/sunos4/sys_wait4.S> diff --git a/sysdeps/unix/bsd/sony/newsos4/syscalls.list b/sysdeps/unix/bsd/sony/newsos4/syscalls.list new file mode 100644 index 0000000000..b90087f426 --- /dev/null +++ b/sysdeps/unix/bsd/sony/newsos4/syscalls.list @@ -0,0 +1,3 @@ +# File name Caller Syscall name # args Strong name Weak names + +sys_wait4 wait4 wait4 4 __wait4_syscall diff --git a/sysdeps/unix/bsd/sun/getdents.S b/sysdeps/unix/bsd/sun/getdents.S deleted file mode 100644 index f283a5cc71..0000000000 --- a/sysdeps/unix/bsd/sun/getdents.S +++ /dev/null @@ -1,24 +0,0 @@ -/* 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 <sysdep.h> - -SYSCALL__ (getdirentries, 4) - ret - -weak_alias (__getdirentries, getdirentries) diff --git a/sysdeps/unix/bsd/sun/sunos3/m68k/wait.S b/sysdeps/unix/bsd/sun/sunos3/m68k/wait.S deleted file mode 100644 index f69c4b4431..0000000000 --- a/sysdeps/unix/bsd/sun/sunos3/m68k/wait.S +++ /dev/null @@ -1 +0,0 @@ -#include <sysdeps/unix/bsd/hp/m68k/wait.S> diff --git a/sysdeps/unix/bsd/sun/sunos4/msync.S b/sysdeps/unix/bsd/sun/sunos4/msync.S deleted file mode 100644 index 9fb8955dc2..0000000000 --- a/sysdeps/unix/bsd/sun/sunos4/msync.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1994 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 <sysdep.h> - -SYSCALL (msync, 3) - ret diff --git a/sysdeps/unix/bsd/sun/sunos4/poll.S b/sysdeps/unix/bsd/sun/sunos4/poll.S deleted file mode 100644 index 95c4fd2f82..0000000000 --- a/sysdeps/unix/bsd/sun/sunos4/poll.S +++ /dev/null @@ -1 +0,0 @@ -#include <sysdeps/unix/sysv/poll.S> diff --git a/sysdeps/unix/bsd/sun/sunos4/setsid.S b/sysdeps/unix/bsd/sun/sunos4/setsid.S deleted file mode 100644 index 4930c56dcf..0000000000 --- a/sysdeps/unix/bsd/sun/sunos4/setsid.S +++ /dev/null @@ -1 +0,0 @@ -#include <sysdeps/unix/bsd/bsd4.4/setsid.S> diff --git a/sysdeps/unix/bsd/sun/sunos4/sys_mmap.S b/sysdeps/unix/bsd/sun/sunos4/sys_mmap.S deleted file mode 100644 index 61fe877342..0000000000 --- a/sysdeps/unix/bsd/sun/sunos4/sys_mmap.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1994 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 <sysdep.h> - -PSEUDO (__mmap_syscall, mmap, 5) - ret diff --git a/sysdeps/unix/bsd/sun/sunos4/sys_wait4.S b/sysdeps/unix/bsd/sun/sunos4/sys_wait4.S deleted file mode 100644 index 6b796b7ea6..0000000000 --- a/sysdeps/unix/bsd/sun/sunos4/sys_wait4.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1991, 1992 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 <sysdep.h> - -PSEUDO (__wait4_syscall, wait4, 4) - ret diff --git a/sysdeps/unix/bsd/sun/sunos4/syscalls.list b/sysdeps/unix/bsd/sun/sunos4/syscalls.list new file mode 100644 index 0000000000..7dafdf7afe --- /dev/null +++ b/sysdeps/unix/bsd/sun/sunos4/syscalls.list @@ -0,0 +1,8 @@ +# File name Caller Syscall name # args Strong name Weak names + +msync - msync 3 msync +poll - poll 3 poll +setsid - setsid 0 __setsid setsid +sys_mmap mmap mmap 5 __mmap_syscall +sys_wait4 wait4 wait4 4 __wait4_syscall +uname - uname 1 uname diff --git a/sysdeps/unix/bsd/sun/sunos4/uname.S b/sysdeps/unix/bsd/sun/sunos4/uname.S deleted file mode 100644 index 488eeb1d97..0000000000 --- a/sysdeps/unix/bsd/sun/sunos4/uname.S +++ /dev/null @@ -1 +0,0 @@ -#include <sysdeps/unix/sysv/uname.S> diff --git a/sysdeps/unix/bsd/sun/syscalls.list b/sysdeps/unix/bsd/sun/syscalls.list new file mode 100644 index 0000000000..b9dca13bf7 --- /dev/null +++ b/sysdeps/unix/bsd/sun/syscalls.list @@ -0,0 +1,3 @@ +# File name Caller Syscall name # args Strong name Weak names + +getdents - getdirentries 4 __getdirentries getdirentries diff --git a/sysdeps/unix/bsd/syscalls.list b/sysdeps/unix/bsd/syscalls.list new file mode 100644 index 0000000000..deb5211ca3 --- /dev/null +++ b/sysdeps/unix/bsd/syscalls.list @@ -0,0 +1,13 @@ +# File name Caller Syscall name # args Strong name Weak names + +flock - flock 2 __flock flock +getdtsz - getdtablesize 0 __getdtablesize getdtablesize +getpagesize - getpagesize 0 __getpagesize getpagesize +killpg - killpg 2 killpg +settimeofday - settimeofday 2 __settimeofday settimeofday +sigblock - sigblock 1 __sigblock sigblock +sigpause - sigpause 1 __sigpause sigpause +sigsetmask - sigsetmask 1 __sigsetmask sigsetmask +sigstack - sigstack 2 sigstack +sigvec - sigvec 3 __sigvec sigvec +utimes - utimes 2 __utimes utimes diff --git a/sysdeps/unix/bsd/ultrix4/getdents.S b/sysdeps/unix/bsd/ultrix4/getdents.S deleted file mode 100644 index be449b2bcb..0000000000 --- a/sysdeps/unix/bsd/ultrix4/getdents.S +++ /dev/null @@ -1 +0,0 @@ -#include <sysdeps/unix/bsd/sun/getdents.S> diff --git a/sysdeps/unix/bsd/ultrix4/setsid.S b/sysdeps/unix/bsd/ultrix4/setsid.S deleted file mode 100644 index 4930c56dcf..0000000000 --- a/sysdeps/unix/bsd/ultrix4/setsid.S +++ /dev/null @@ -1 +0,0 @@ -#include <sysdeps/unix/bsd/bsd4.4/setsid.S> diff --git a/sysdeps/unix/bsd/ultrix4/syscalls.list b/sysdeps/unix/bsd/ultrix4/syscalls.list new file mode 100644 index 0000000000..dd1052aa8f --- /dev/null +++ b/sysdeps/unix/bsd/ultrix4/syscalls.list @@ -0,0 +1,5 @@ +# File name Caller Syscall name # args Strong name Weak names + +getdents - getdirentries 4 __getdirentries getdirentries +setsid - setsid 0 __setsid setsid +uname - uname 1 uname diff --git a/sysdeps/unix/bsd/ultrix4/uname.S b/sysdeps/unix/bsd/ultrix4/uname.S deleted file mode 100644 index 488eeb1d97..0000000000 --- a/sysdeps/unix/bsd/ultrix4/uname.S +++ /dev/null @@ -1 +0,0 @@ -#include <sysdeps/unix/sysv/uname.S> diff --git a/sysdeps/unix/bsd/utimes.S b/sysdeps/unix/bsd/utimes.S deleted file mode 100644 index 2f700b0e1e..0000000000 --- a/sysdeps/unix/bsd/utimes.S +++ /dev/null @@ -1,24 +0,0 @@ -/* 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 <sysdep.h> - -SYSCALL__ (utimes, 2) - ret - -weak_alias (__utimes, utimes) diff --git a/sysdeps/unix/bsd/writev.S b/sysdeps/unix/bsd/writev.S deleted file mode 100644 index 3d1692c8fe..0000000000 --- a/sysdeps/unix/bsd/writev.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1991, 1992 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 <sysdep.h> - -SYSCALL (writev, 3) - ret diff --git a/sysdeps/unix/chdir.S b/sysdeps/unix/chdir.S deleted file mode 100644 index 38d6b88510..0000000000 --- a/sysdeps/unix/chdir.S +++ /dev/null @@ -1,24 +0,0 @@ -/* 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 <sysdep.h> - -SYSCALL__ (chdir, 1) - ret - -weak_alias (__chdir, chdir) diff --git a/sysdeps/unix/chmod.S b/sysdeps/unix/chmod.S deleted file mode 100644 index b8654eb41c..0000000000 --- a/sysdeps/unix/chmod.S +++ /dev/null @@ -1,24 +0,0 @@ -/* 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 <sysdep.h> - -SYSCALL__ (chmod, 2) - ret - -weak_alias (__chmod, chmod) diff --git a/sysdeps/unix/chown.S b/sysdeps/unix/chown.S deleted file mode 100644 index 83442b4be1..0000000000 --- a/sysdeps/unix/chown.S +++ /dev/null @@ -1,24 +0,0 @@ -/* 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 <sysdep.h> - -SYSCALL__ (chown, 3) - ret - -weak_alias (__chown, chown) diff --git a/sysdeps/unix/chroot.S b/sysdeps/unix/chroot.S deleted file mode 100644 index 37802cc37b..0000000000 --- a/sysdeps/unix/chroot.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1991, 1992 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 <sysdep.h> - -SYSCALL (chroot, 1) - ret diff --git a/sysdeps/unix/close.S b/sysdeps/unix/close.S deleted file mode 100644 index 5b0a698ca4..0000000000 --- a/sysdeps/unix/close.S +++ /dev/null @@ -1,24 +0,0 @@ -/* 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 <sysdep.h> - -SYSCALL__ (close, 1) - ret - -weak_alias (__close, close) diff --git a/sysdeps/unix/common/access.S b/sysdeps/unix/common/access.S deleted file mode 100644 index ec0f3c9a3f..0000000000 --- a/sysdeps/unix/common/access.S +++ /dev/null @@ -1,24 +0,0 @@ -/* 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 <sysdep.h> - -SYSCALL__ (access, 2) - ret - -weak_alias (__access, access) diff --git a/sysdeps/unix/common/adjtime.S b/sysdeps/unix/common/adjtime.S deleted file mode 100644 index af080a7d6e..0000000000 --- a/sysdeps/unix/common/adjtime.S +++ /dev/null @@ -1,24 +0,0 @@ -/* 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 <sysdep.h> - -SYSCALL__ (adjtime, 2) - ret - -weak_alias (__adjtime, adjtime) diff --git a/sysdeps/unix/common/dup2.S b/sysdeps/unix/common/dup2.S deleted file mode 100644 index 77bcaaf03a..0000000000 --- a/sysdeps/unix/common/dup2.S +++ /dev/null @@ -1,24 +0,0 @@ -/* 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 <sysdep.h> - -SYSCALL__ (dup2, 2) - ret - -weak_alias (__dup2, dup2) diff --git a/sysdeps/unix/common/fchmod.S b/sysdeps/unix/common/fchmod.S deleted file mode 100644 index 93196485a9..0000000000 --- a/sysdeps/unix/common/fchmod.S +++ /dev/null @@ -1,24 +0,0 @@ -/* 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 <sysdep.h> - -SYSCALL__ (fchmod, 2) - ret - -weak_alias (__fchmod, fchmod) diff --git a/sysdeps/unix/common/fchown.S b/sysdeps/unix/common/fchown.S deleted file mode 100644 index bb05e05304..0000000000 --- a/sysdeps/unix/common/fchown.S +++ /dev/null @@ -1,24 +0,0 @@ -/* 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 <sysdep.h> - -SYSCALL__ (fchown, 3) - ret - -weak_alias (__fchown, fchown) diff --git a/sysdeps/unix/common/ftruncate.S b/sysdeps/unix/common/ftruncate.S deleted file mode 100644 index 6081a055b5..0000000000 --- a/sysdeps/unix/common/ftruncate.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1991, 1992 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 <sysdep.h> - -SYSCALL (ftruncate, 2) - ret diff --git a/sysdeps/unix/common/getgroups.S b/sysdeps/unix/common/getgroups.S deleted file mode 100644 index 74b657a88a..0000000000 --- a/sysdeps/unix/common/getgroups.S +++ /dev/null @@ -1,24 +0,0 @@ -/* 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 -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 <sysdep.h> - -SYSCALL__ (getgroups, 2) - ret - -weak_alias (__getgroups, getgroups) diff --git a/sysdeps/unix/common/getitimer.S b/sysdeps/unix/common/getitimer.S deleted file mode 100644 index d8db92123c..0000000000 --- a/sysdeps/unix/common/getitimer.S +++ /dev/null @@ -1,24 +0,0 @@ -/* 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 <sysdep.h> - -SYSCALL__ (getitimer, 2) - ret - -weak_alias (__getitimer, getitimer) diff --git a/sysdeps/unix/common/getpgid.S b/sysdeps/unix/common/getpgid.S deleted file mode 100644 index 0ddfe9667e..0000000000 --- a/sysdeps/unix/common/getpgid.S +++ /dev/null @@ -1,24 +0,0 @@ -/* 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 <sysdep.h> - -PSEUDO (__getpgid, getpgrp, 1) - ret - -weak_alias (__getpgid, getpgid) diff --git a/sysdeps/unix/common/getpriority.S b/sysdeps/unix/common/getpriority.S deleted file mode 100644 index d71eeac698..0000000000 --- a/sysdeps/unix/common/getpriority.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1991, 1992 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 <sysdep.h> - -SYSCALL (getpriority, 2) - ret diff --git a/sysdeps/unix/common/getrlimit.S b/sysdeps/unix/common/getrlimit.S deleted file mode 100644 index 193acf3962..0000000000 --- a/sysdeps/unix/common/getrlimit.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1991, 1992 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 <sysdep.h> - -SYSCALL (getrlimit, 2) - ret diff --git a/sysdeps/unix/common/getrusage.S b/sysdeps/unix/common/getrusage.S deleted file mode 100644 index 227e1ca67c..0000000000 --- a/sysdeps/unix/common/getrusage.S +++ /dev/null @@ -1,24 +0,0 @@ -/* 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 <sysdep.h> - -SYSCALL__ (getrusage, 2) - ret - -weak_alias (__getrusage, getrusage) diff --git a/sysdeps/unix/common/gettimeofday.S b/sysdeps/unix/common/gettimeofday.S deleted file mode 100644 index 9d7fc3fa30..0000000000 --- a/sysdeps/unix/common/gettimeofday.S +++ /dev/null @@ -1,24 +0,0 @@ -/* 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 <sysdep.h> - -SYSCALL__ (gettimeofday, 2) - ret - -weak_alias (__gettimeofday, gettimeofday) diff --git a/sysdeps/unix/common/mkdir.S b/sysdeps/unix/common/mkdir.S deleted file mode 100644 index d8274805cc..0000000000 --- a/sysdeps/unix/common/mkdir.S +++ /dev/null @@ -1,24 +0,0 @@ -/* 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 <sysdep.h> - -SYSCALL__ (mkdir, 2) - ret - -weak_alias (__mkdir, mkdir) diff --git a/sysdeps/unix/common/readlink.S b/sysdeps/unix/common/readlink.S deleted file mode 100644 index cf5f25e6c9..0000000000 --- a/sysdeps/unix/common/readlink.S +++ /dev/null @@ -1,24 +0,0 @@ -/* 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 <sysdep.h> - -SYSCALL__ (readlink, 3) - ret - -weak_alias (__readlink, readlink) diff --git a/sysdeps/unix/common/rename.S b/sysdeps/unix/common/rename.S deleted file mode 100644 index f5ed73e5bb..0000000000 --- a/sysdeps/unix/common/rename.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1991, 1992 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 <sysdep.h> - -SYSCALL (rename, 2) - ret diff --git a/sysdeps/unix/common/rmdir.S b/sysdeps/unix/common/rmdir.S deleted file mode 100644 index 90b89bb175..0000000000 --- a/sysdeps/unix/common/rmdir.S +++ /dev/null @@ -1,24 +0,0 @@ -/* 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 <sysdep.h> - -SYSCALL__ (rmdir, 1) - ret - -weak_alias (__rmdir, rmdir) diff --git a/sysdeps/unix/common/select.S b/sysdeps/unix/common/select.S deleted file mode 100644 index 54ffcec70a..0000000000 --- a/sysdeps/unix/common/select.S +++ /dev/null @@ -1,24 +0,0 @@ -/* 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 <sysdep.h> - -SYSCALL__ (select, 5) - ret - -weak_alias (__select, select) diff --git a/sysdeps/unix/common/setgroups.S b/sysdeps/unix/common/setgroups.S deleted file mode 100644 index 7f4f1f800e..0000000000 --- a/sysdeps/unix/common/setgroups.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1992 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 <sysdep.h> - -SYSCALL (setgroups, 2) - ret diff --git a/sysdeps/unix/common/setitimer.S b/sysdeps/unix/common/setitimer.S deleted file mode 100644 index 63e4e03d65..0000000000 --- a/sysdeps/unix/common/setitimer.S +++ /dev/null @@ -1,24 +0,0 @@ -/* 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 <sysdep.h> - -SYSCALL__ (setitimer, 3) - ret - -weak_alias (__setitimer, setitimer) diff --git a/sysdeps/unix/common/setpgid.S b/sysdeps/unix/common/setpgid.S deleted file mode 100644 index 5b338255dc..0000000000 --- a/sysdeps/unix/common/setpgid.S +++ /dev/null @@ -1,25 +0,0 @@ -/* 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 <sysdep.h> - -PSEUDO (__setpgid, setpgrp, 2) - ret - -weak_alias (__setpgid, setpgid) -weak_alias (__setpgid, setpgrp) diff --git a/sysdeps/unix/common/setpriority.S b/sysdeps/unix/common/setpriority.S deleted file mode 100644 index 89477c2c8b..0000000000 --- a/sysdeps/unix/common/setpriority.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1991, 1992 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 <sysdep.h> - -SYSCALL (setpriority, 3) - ret diff --git a/sysdeps/unix/common/setregid.S b/sysdeps/unix/common/setregid.S deleted file mode 100644 index dd80ef44cd..0000000000 --- a/sysdeps/unix/common/setregid.S +++ /dev/null @@ -1,24 +0,0 @@ -/* 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 <sysdep.h> - -SYSCALL__ (setregid, 2) - ret - -weak_alias (__setregid, setregid) diff --git a/sysdeps/unix/common/setreuid.S b/sysdeps/unix/common/setreuid.S deleted file mode 100644 index 245265a2ff..0000000000 --- a/sysdeps/unix/common/setreuid.S +++ /dev/null @@ -1,24 +0,0 @@ -/* 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 <sysdep.h> - -SYSCALL__ (setreuid, 2) - ret - -weak_alias (__setreuid, setreuid) diff --git a/sysdeps/unix/common/setrlimit.S b/sysdeps/unix/common/setrlimit.S deleted file mode 100644 index 3ae577fbd9..0000000000 --- a/sysdeps/unix/common/setrlimit.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1991, 1992 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 <sysdep.h> - -SYSCALL (setrlimit, 2) - ret diff --git a/sysdeps/unix/common/swapon.S b/sysdeps/unix/common/swapon.S deleted file mode 100644 index f410372c26..0000000000 --- a/sysdeps/unix/common/swapon.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1991, 1992 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 <sysdep.h> - -SYSCALL (swapon, 1) - ret diff --git a/sysdeps/unix/common/symlink.S b/sysdeps/unix/common/symlink.S deleted file mode 100644 index 0a4a084d42..0000000000 --- a/sysdeps/unix/common/symlink.S +++ /dev/null @@ -1,24 +0,0 @@ -/* 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 <sysdep.h> - -SYSCALL__ (symlink, 2) - ret - -weak_alias (__symlink, symlink) diff --git a/sysdeps/unix/common/syscalls.list b/sysdeps/unix/common/syscalls.list new file mode 100644 index 0000000000..0f41a4351e --- /dev/null +++ b/sysdeps/unix/common/syscalls.list @@ -0,0 +1,15 @@ +# File name Caller Syscall name # args Strong name Weak names + +adjtime - adjtime 2 __adjtime adjtime +fchmod - fchmod 2 __fchmod fchmod +fchown - fchown 3 __fchown fchown +ftruncate - ftruncate 2 ftruncate +getpgid - getpgrp 1 __getpgid getpgid +getrusage - getrusage 2 __getrusage getrusage +gettimeofday - gettimeofday 2 __gettimeofday gettimeofday +setpgid - setpgrp 2 __setpgid setpgid setpgrp +setregid - setregid 2 __setregid setregid +setreuid - setreuid 2 __setreuid setreuid +sys_lstat lxstat lstat 2 __syscall_lstat +truncate - truncate 2 truncate +vhangup - vhangup 1 vhangup diff --git a/sysdeps/unix/common/truncate.S b/sysdeps/unix/common/truncate.S deleted file mode 100644 index a643e46e8a..0000000000 --- a/sysdeps/unix/common/truncate.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1991, 1992 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 <sysdep.h> - -SYSCALL (truncate, 2) - ret diff --git a/sysdeps/unix/common/vhangup.S b/sysdeps/unix/common/vhangup.S deleted file mode 100644 index 8b1b833168..0000000000 --- a/sysdeps/unix/common/vhangup.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1991, 1992 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 <sysdep.h> - -SYSCALL (vhangup, 1) - ret diff --git a/sysdeps/unix/configure b/sysdeps/unix/configure deleted file mode 100755 index 1e659d3451..0000000000 --- a/sysdeps/unix/configure +++ /dev/null @@ -1,133 +0,0 @@ - # 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 -# 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. - - -sysincludedir=/usr/include # XXX - -# Find the <syscall.h> file we will be using, or something like it. -unix_found= -for unix_dir in $sysnames; do - if test -r $sysdep_dir/$unix_dir/syscall.h; then - unix_found=$unix_dir - break - fi -done -if test $unix_found = stub; then - # XXX This list of possibilities duplicates the list in Makefile. - for try in sys.s sys/sys.s sys.S sys/sys.S syscall.h sys/syscall.h; do - if test -r $sysincludedir/$try; then - unix_syscall_h=$sysincludedir/$try - break - fi - done -else - unix_syscall_h=$sysdep_dir/$unix_dir/syscall.h -fi - -test -n "$unix_syscall_h" && { - -# Where to put the .S files we write. -if test "`pwd`" = "`(cd $srcdir; pwd)`"; then - unix_generated_dirpfx=sysdeps/unix/ -else - # We are running in a separate build directory. - unix_generated_dirpfx= -fi - -# This variable will collect the names of the files we create. -unix_generated= -unix_srcs= -unix_dests= - -# These several functions are system calls on Unix systems which have them. -# The details of these calls are universal enough that if a system's -# <syscall.h> defines the system call number, we know that the simple -# system call implementations in unix/common will be sufficient. - -for unix_function in \ - dup2 lstat mkdir rmdir readlink symlink rename swapon \ - access select getgroups setgroups \ - getitimer setitimer \ - getdomainname:getdomain=bsd/bsd4.4 \ - setdomainname:setdomain=bsd/bsd4.4 \ - fchdir=bsd/bsd4.4 \ - profil=bsd readv=bsd writev=bsd \ - getpriority setpriority \ - getrlimit setrlimit -do - - # $unix_function => $unix_syscall $unix_srcname - # CALL CALL CALL - # CALL/NAME CALL NAME - unix_srcname= - unix_srcdir=common - eval "unix_syscall=`echo $unix_function | \ - sed -e 's@=\(.*\)$@ unix_srcdir=\1@' \ - -e 's@:\(.*\)@ unix_srcname=\1@'`" - test -z "$unix_srcname" && unix_srcname=$unix_syscall - - unix_implementor=none - for unix_dir in $sysnames; do - if test -r $sysdep_dir/$unix_dir/${unix_srcname}.c || - test -r $sysdep_dir/$unix_dir/${unix_srcname}.S || - test -r $sysdep_dir/$unix_dir/${unix_srcname}.s; then - unix_implementor=$unix_dir - break - fi - done - - case $unix_syscall in - mkdir|rmdir) - # mkdir and rmdir have implementations in unix/sysv, but - # the simple syscall versions are preferable if available. - test $unix_implementor = unix/sysv && unix_implementor=generic - ;; - esac - - case $unix_implementor in - none|stub|generic|posix) - # The chosen implementation of ${unix_syscall} is a boring one. - # We want to use the unix/common implementation instead iff - # ${unix_syscall} appears in <syscall.h>. - echo $ac_n "checking for ${unix_syscall} system call""... $ac_c" 1>&4 - if grep -i "[ _]${unix_syscall}[ ]" $unix_syscall_h >/dev/null - then - # It does seem to be present in <syscall.h>. - echo "$ac_t""yes" 1>&4 - unix_dests="$unix_dests ${unix_generated_dirpfx}${unix_srcname}.S" - unix_srcs="$unix_srcs sysdeps/unix/${unix_srcdir}/${unix_srcname}.S" - unix_generated="$unix_generated $unix_generated_dirpfx${unix_srcname}.S" - else - echo "$ac_t""no" 1>&4 - fi - ;; - *) ;; - esac - -done - -# Autoconf magic in the top-level configure.in causes config.status to -# actually make the links. -libc_link_dests="$libc_link_dests $unix_dests" -libc_link_sources="$libc_link_sources $unix_srcs" - -# Store the list of files we created in config.make; Makefile uses it. -test -n "$unix_generated" && config_vars="$config_vars -unix-generated := \$(addprefix \$(objpfx),${unix_generated})" - -} diff --git a/sysdeps/unix/configure.in b/sysdeps/unix/configure.in deleted file mode 100644 index 6841a4f869..0000000000 --- a/sysdeps/unix/configure.in +++ /dev/null @@ -1,142 +0,0 @@ -sinclude(./aclocal.m4)dnl Autoconf lossage. -GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory. -# 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 -# 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. - -dnl configure fragment for Unix-based systems. This is processed by Autoconf, -dnl but we just use the AC_MSG_* macros. This file is sourced by the -dnl top-level configure script. Note that we use the prefix `unix_' on all -dnl shell variables here, to avoid conflicting with any variables the -dnl top-level script might be using. - -sysincludedir=/usr/include # XXX - -# Find the <syscall.h> file we will be using, or something like it. -unix_found= -for unix_dir in $sysnames; do - if test -r $sysdep_dir/$unix_dir/syscall.h; then - unix_found=$unix_dir - break - fi -done -if test $unix_found = stub; then - # XXX This list of possibilities duplicates the list in Makefile. - for try in sys.s sys/sys.s sys.S sys/sys.S syscall.h sys/syscall.h; do - if test -r $sysincludedir/$try; then - unix_syscall_h=$sysincludedir/$try - break - fi - done -else - unix_syscall_h=$sysdep_dir/$unix_dir/syscall.h -fi - -test -n "$unix_syscall_h" && { - -# Where to put the .S files we write. -if test "`pwd`" = "`(cd $srcdir; pwd)`"; then - unix_generated_dirpfx=sysdeps/unix/ -else - # We are running in a separate build directory. - unix_generated_dirpfx= -fi - -# This variable will collect the names of the files we create. -unix_generated= -unix_srcs= -unix_dests= - -# These several functions are system calls on Unix systems which have them. -# The details of these calls are universal enough that if a system's -# <syscall.h> defines the system call number, we know that the simple -# system call implementations in unix/common will be sufficient. - -for unix_function in \ - dup2 lstat mkdir rmdir readlink symlink rename swapon \ - access select getgroups setgroups \ - getitimer setitimer \ - getdomainname:getdomain=bsd/bsd4.4 \ - setdomainname:setdomain=bsd/bsd4.4 \ - fchdir=bsd/bsd4.4 \ - profil=bsd readv=bsd writev=bsd \ - getpriority setpriority \ - getrlimit setrlimit -do - - # $unix_function => $unix_syscall $unix_srcname - # CALL CALL CALL - # CALL/NAME CALL NAME - unix_srcname= - unix_srcdir=common - eval "unix_syscall=`echo $unix_function | \ - sed -e 's@=\(.*\)$@ unix_srcdir=\1@' \ - -e 's@:\(.*\)@ unix_srcname=\1@'`" - test -z "$unix_srcname" && unix_srcname=$unix_syscall - - unix_implementor=none - for unix_dir in $sysnames; do - if test -r $sysdep_dir/$unix_dir/${unix_srcname}.c || - test -r $sysdep_dir/$unix_dir/${unix_srcname}.S || - test -r $sysdep_dir/$unix_dir/${unix_srcname}.s; then - unix_implementor=$unix_dir - break - fi - done - - case $unix_syscall in - mkdir|rmdir) - # mkdir and rmdir have implementations in unix/sysv, but - # the simple syscall versions are preferable if available. - test $unix_implementor = unix/sysv && unix_implementor=generic - ;; - esac - - case $unix_implementor in - none|stub|generic|posix) - # The chosen implementation of ${unix_syscall} is a boring one. - # We want to use the unix/common implementation instead iff - # ${unix_syscall} appears in <syscall.h>. - AC_MSG_CHECKING(for ${unix_syscall} system call) -changequote(,)dnl We need to use [ and ] for real now. - if grep -i "[ _]${unix_syscall}[ ]" $unix_syscall_h >/dev/null -changequote([,])dnl Back to Autoconf land. - then - # It does seem to be present in <syscall.h>. - AC_MSG_RESULT(yes) - unix_dests="$unix_dests ${unix_generated_dirpfx}${unix_srcname}.S" - unix_srcs="$unix_srcs sysdeps/unix/${unix_srcdir}/${unix_srcname}.S" - unix_generated="$unix_generated $unix_generated_dirpfx${unix_srcname}.S" - else - AC_MSG_RESULT(no) - fi - ;; - *) ;; - esac - -done - -# Autoconf magic in the top-level configure.in causes config.status to -# actually make the links. -libc_link_dests="$libc_link_dests $unix_dests" -libc_link_sources="$libc_link_sources $unix_srcs" - -# Store the list of files we created in config.make; Makefile uses it. -test -n "$unix_generated" && config_vars="$config_vars -unix-generated := \$(addprefix \$(objpfx),${unix_generated})" - -} diff --git a/sysdeps/unix/dup.S b/sysdeps/unix/dup.S deleted file mode 100644 index 3da637d830..0000000000 --- a/sysdeps/unix/dup.S +++ /dev/null @@ -1,24 +0,0 @@ -/* 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 <sysdep.h> - -SYSCALL__ (dup, 2) - ret - -weak_alias (__dup, dup) diff --git a/sysdeps/unix/fcntl.S b/sysdeps/unix/fcntl.S deleted file mode 100644 index 7ac4f28fe4..0000000000 --- a/sysdeps/unix/fcntl.S +++ /dev/null @@ -1,24 +0,0 @@ -/* 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 <sysdep.h> - -SYSCALL__ (fcntl, 3) - ret - -weak_alias (__fcntl, fcntl) diff --git a/sysdeps/unix/fsync.S b/sysdeps/unix/fsync.S deleted file mode 100644 index 109994bf27..0000000000 --- a/sysdeps/unix/fsync.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1991, 1992 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 <sysdep.h> - -SYSCALL (fsync, 1) - ret diff --git a/sysdeps/unix/getgid.S b/sysdeps/unix/getgid.S deleted file mode 100644 index 5788654db7..0000000000 --- a/sysdeps/unix/getgid.S +++ /dev/null @@ -1,24 +0,0 @@ -/* 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 <sysdep.h> - -SYSCALL__ (getgid, 0) - ret - -weak_alias (__getgid, getgid) diff --git a/sysdeps/unix/getpid.S b/sysdeps/unix/getpid.S deleted file mode 100644 index 9689c1d31d..0000000000 --- a/sysdeps/unix/getpid.S +++ /dev/null @@ -1,24 +0,0 @@ -/* 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 <sysdep.h> - -SYSCALL__ (getpid, 1) - ret - -weak_alias (__getpid, getpid) diff --git a/sysdeps/unix/getuid.S b/sysdeps/unix/getuid.S deleted file mode 100644 index df076f0a0a..0000000000 --- a/sysdeps/unix/getuid.S +++ /dev/null @@ -1,24 +0,0 @@ -/* 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 <sysdep.h> - -SYSCALL__ (getuid, 0) - ret - -weak_alias (__getuid, getuid) diff --git a/sysdeps/unix/inet/accept.S b/sysdeps/unix/inet/accept.S deleted file mode 100644 index 25d4d05f8c..0000000000 --- a/sysdeps/unix/inet/accept.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1991, 1992 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 <sysdep.h> - -SYSCALL (accept, 3) - ret diff --git a/sysdeps/unix/inet/bind.S b/sysdeps/unix/inet/bind.S deleted file mode 100644 index fc8c818362..0000000000 --- a/sysdeps/unix/inet/bind.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1991, 1992 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 <sysdep.h> - -SYSCALL (bind, 3) - ret diff --git a/sysdeps/unix/inet/connect.S b/sysdeps/unix/inet/connect.S deleted file mode 100644 index 714d743874..0000000000 --- a/sysdeps/unix/inet/connect.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1991, 1992 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 <sysdep.h> - -SYSCALL (connect, 3) - ret diff --git a/sysdeps/unix/inet/gethostid.S b/sysdeps/unix/inet/gethostid.S deleted file mode 100644 index e3296f45fa..0000000000 --- a/sysdeps/unix/inet/gethostid.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1991, 1992 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 <sysdep.h> - -SYSCALL (gethostid, 0) - ret diff --git a/sysdeps/unix/inet/gethostname.S b/sysdeps/unix/inet/gethostname.S deleted file mode 100644 index d9a1e906e3..0000000000 --- a/sysdeps/unix/inet/gethostname.S +++ /dev/null @@ -1,24 +0,0 @@ -/* 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 <sysdep.h> - -SYSCALL__ (gethostname, 2) - ret - -weak_alias (__gethostname, gethostname) diff --git a/sysdeps/unix/inet/getpeername.S b/sysdeps/unix/inet/getpeername.S deleted file mode 100644 index 115c93b9f4..0000000000 --- a/sysdeps/unix/inet/getpeername.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1991, 1992 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 <sysdep.h> - -SYSCALL (getpeername, 3) - ret diff --git a/sysdeps/unix/inet/getsockname.S b/sysdeps/unix/inet/getsockname.S deleted file mode 100644 index 94d5c9cb37..0000000000 --- a/sysdeps/unix/inet/getsockname.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1991, 1992 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 <sysdep.h> - -SYSCALL (getsockname, 3) - ret diff --git a/sysdeps/unix/inet/getsockopt.S b/sysdeps/unix/inet/getsockopt.S deleted file mode 100644 index d7b468173d..0000000000 --- a/sysdeps/unix/inet/getsockopt.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1991, 1992 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 <sysdep.h> - -SYSCALL (getsockopt, 5) - ret diff --git a/sysdeps/unix/inet/listen.S b/sysdeps/unix/inet/listen.S deleted file mode 100644 index 38d42ae612..0000000000 --- a/sysdeps/unix/inet/listen.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1991, 1992 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 <sysdep.h> - -SYSCALL (listen, 2) - ret diff --git a/sysdeps/unix/inet/recv.S b/sysdeps/unix/inet/recv.S deleted file mode 100644 index 576863e874..0000000000 --- a/sysdeps/unix/inet/recv.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1991, 1992 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 <sysdep.h> - -SYSCALL (recv, 4) - ret diff --git a/sysdeps/unix/inet/recvfrom.S b/sysdeps/unix/inet/recvfrom.S deleted file mode 100644 index bd75e6dd34..0000000000 --- a/sysdeps/unix/inet/recvfrom.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1991, 1992 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 <sysdep.h> - -SYSCALL (recvfrom, 6) - ret diff --git a/sysdeps/unix/inet/recvmsg.S b/sysdeps/unix/inet/recvmsg.S deleted file mode 100644 index dd0a268eba..0000000000 --- a/sysdeps/unix/inet/recvmsg.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1991, 1992 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 <sysdep.h> - -SYSCALL (recvmsg, 3) - ret diff --git a/sysdeps/unix/inet/send.S b/sysdeps/unix/inet/send.S deleted file mode 100644 index 85ac36bc23..0000000000 --- a/sysdeps/unix/inet/send.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1991, 1992 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 <sysdep.h> - -SYSCALL (send, 4) - ret diff --git a/sysdeps/unix/inet/sendmsg.S b/sysdeps/unix/inet/sendmsg.S deleted file mode 100644 index 1dadaf3a12..0000000000 --- a/sysdeps/unix/inet/sendmsg.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1991, 1992 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 <sysdep.h> - -SYSCALL (sendmsg, 3) - ret diff --git a/sysdeps/unix/inet/sendto.S b/sysdeps/unix/inet/sendto.S deleted file mode 100644 index 18d6f6a079..0000000000 --- a/sysdeps/unix/inet/sendto.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1991, 1992 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 <sysdep.h> - -SYSCALL (sendto, 6) - ret diff --git a/sysdeps/unix/inet/sethostid.S b/sysdeps/unix/inet/sethostid.S deleted file mode 100644 index 141db2039c..0000000000 --- a/sysdeps/unix/inet/sethostid.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1991, 1992 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 <sysdep.h> - -SYSCALL (sethostid, 1) - ret diff --git a/sysdeps/unix/inet/sethostname.S b/sysdeps/unix/inet/sethostname.S deleted file mode 100644 index e7d9f93168..0000000000 --- a/sysdeps/unix/inet/sethostname.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1991, 1992 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 <sysdep.h> - -SYSCALL (sethostname, 2) - ret diff --git a/sysdeps/unix/inet/setsockopt.S b/sysdeps/unix/inet/setsockopt.S deleted file mode 100644 index a3948c2ce8..0000000000 --- a/sysdeps/unix/inet/setsockopt.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1991, 1992 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 <sysdep.h> - -SYSCALL (setsockopt, 5) - ret diff --git a/sysdeps/unix/inet/shutdown.S b/sysdeps/unix/inet/shutdown.S deleted file mode 100644 index 7ce3e6cd75..0000000000 --- a/sysdeps/unix/inet/shutdown.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1991, 1992 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 <sysdep.h> - -SYSCALL (shutdown, 2) - ret diff --git a/sysdeps/unix/inet/socket.S b/sysdeps/unix/inet/socket.S deleted file mode 100644 index b0f01cf9fb..0000000000 --- a/sysdeps/unix/inet/socket.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1991, 1992 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 <sysdep.h> - -SYSCALL (socket, 3) - ret diff --git a/sysdeps/unix/inet/socketpair.S b/sysdeps/unix/inet/socketpair.S deleted file mode 100644 index fb352cff89..0000000000 --- a/sysdeps/unix/inet/socketpair.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1991, 1992 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 <sysdep.h> - -SYSCALL (socketpair, 4) - ret diff --git a/sysdeps/unix/inet/syscalls.list b/sysdeps/unix/inet/syscalls.list new file mode 100644 index 0000000000..3b6ac59990 --- /dev/null +++ b/sysdeps/unix/inet/syscalls.list @@ -0,0 +1,23 @@ +# File name Caller Syscall name # args Strong name Weak names + +accept - accept 3 accept +bind - bind 3 bind +connect - connect 3 connect +gethostid - gethostid 0 gethostid +gethostname - gethostname 2 __gethostname gethostname +getpeername - getpeername 3 getpeername +getsockname - getsockname 3 getsockname +getsockopt - getsockopt 5 getsockopt +listen - listen 2 listen +recv - recv 4 recv +recvfrom - recvfrom 6 recvfrom +recvmsg - recvmsg 3 recvmsg +send - send 4 send +sendmsg - sendmsg 3 sendmsg +sendto - sendto 6 sendto +sethostid - sethostid 1 sethostid +sethostname - sethostname 2 sethostname +setsockopt - setsockopt 5 setsockopt +shutdown - shutdown 2 shutdown +socket - socket 3 socket +socketpair - socketpair 4 socketpair diff --git a/sysdeps/unix/ioctl.S b/sysdeps/unix/ioctl.S deleted file mode 100644 index d80fd68cdd..0000000000 --- a/sysdeps/unix/ioctl.S +++ /dev/null @@ -1,24 +0,0 @@ -/* 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 <sysdep.h> - -SYSCALL__ (ioctl, 3) - ret - -weak_alias (__ioctl, ioctl) diff --git a/sysdeps/unix/kill.S b/sysdeps/unix/kill.S deleted file mode 100644 index b4c646953c..0000000000 --- a/sysdeps/unix/kill.S +++ /dev/null @@ -1,24 +0,0 @@ -/* 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 <sysdep.h> - -SYSCALL__ (kill, 2) - ret - -weak_alias (__kill, kill) diff --git a/sysdeps/unix/link.S b/sysdeps/unix/link.S deleted file mode 100644 index e96c4d97c6..0000000000 --- a/sysdeps/unix/link.S +++ /dev/null @@ -1,24 +0,0 @@ -/* 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 <sysdep.h> - -SYSCALL__ (link, 2) - ret - -weak_alias (__link, link) diff --git a/sysdeps/unix/lseek.S b/sysdeps/unix/lseek.S deleted file mode 100644 index 66efe1c190..0000000000 --- a/sysdeps/unix/lseek.S +++ /dev/null @@ -1,24 +0,0 @@ -/* 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 <sysdep.h> - -SYSCALL__ (lseek, 3) - ret - -weak_alias (__lseek, lseek) diff --git a/sysdeps/unix/mman/madvise.S b/sysdeps/unix/mman/madvise.S deleted file mode 100644 index c22097f172..0000000000 --- a/sysdeps/unix/mman/madvise.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1994 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 <sysdep.h> - -SYSCALL (madvise, 3) - ret diff --git a/sysdeps/unix/mman/mmap.S b/sysdeps/unix/mman/mmap.S deleted file mode 100644 index 9a9f1cdb6b..0000000000 --- a/sysdeps/unix/mman/mmap.S +++ /dev/null @@ -1,24 +0,0 @@ -/* 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 -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 <sysdep.h> - -SYSCALL__ (mmap, 5) - ret - -weak_alias (__mmap, mmap) diff --git a/sysdeps/unix/mman/mprotect.S b/sysdeps/unix/mman/mprotect.S deleted file mode 100644 index 23869e158d..0000000000 --- a/sysdeps/unix/mman/mprotect.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1994 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 <sysdep.h> - -SYSCALL (mprotect, 3) - ret diff --git a/sysdeps/unix/mman/msync.S b/sysdeps/unix/mman/msync.S deleted file mode 100644 index b165267ba3..0000000000 --- a/sysdeps/unix/mman/msync.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1994 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 <sysdep.h> - -SYSCALL (msync, 2) - ret diff --git a/sysdeps/unix/mman/munmap.S b/sysdeps/unix/mman/munmap.S deleted file mode 100644 index 3742a6d2c7..0000000000 --- a/sysdeps/unix/mman/munmap.S +++ /dev/null @@ -1,24 +0,0 @@ -/* 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 -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 <sysdep.h> - -SYSCALL__ (munmap, 2) - ret - -weak_alias (__munmap, munmap) diff --git a/sysdeps/unix/mman/syscalls.list b/sysdeps/unix/mman/syscalls.list new file mode 100644 index 0000000000..be0a57f8bf --- /dev/null +++ b/sysdeps/unix/mman/syscalls.list @@ -0,0 +1,7 @@ +# File name Caller Syscall name # args Strong name Weak names + +madvise - madvise 3 madvise +mmap - mmap 5 __mmap mmap +mprotect - mprotect 3 mprotect +msync - msync 2 msync +munmap - munmap 2 __munmap munmap diff --git a/sysdeps/unix/open.S b/sysdeps/unix/open.S deleted file mode 100644 index c999677886..0000000000 --- a/sysdeps/unix/open.S +++ /dev/null @@ -1,24 +0,0 @@ -/* 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 <sysdep.h> - -SYSCALL__ (open, 3) - ret - -weak_alias (__open, open) diff --git a/sysdeps/unix/ptrace.S b/sysdeps/unix/ptrace.S deleted file mode 100644 index dcdb041c39..0000000000 --- a/sysdeps/unix/ptrace.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1991, 1992 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 <sysdep.h> - -SYSCALL (ptrace, 4) - ret diff --git a/sysdeps/unix/read.S b/sysdeps/unix/read.S deleted file mode 100644 index 016e4c7bfc..0000000000 --- a/sysdeps/unix/read.S +++ /dev/null @@ -1,24 +0,0 @@ -/* 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 <sysdep.h> - -SYSCALL__ (read, 3) - ret - -weak_alias (__read, read) diff --git a/sysdeps/unix/reboot.S b/sysdeps/unix/reboot.S deleted file mode 100644 index 4e2023b68b..0000000000 --- a/sysdeps/unix/reboot.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1994 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 <sysdep.h> - -SYSCALL (reboot, 1) - ret diff --git a/sysdeps/unix/s-proto.S b/sysdeps/unix/s-proto.S new file mode 100644 index 0000000000..52a197036c --- /dev/null +++ b/sysdeps/unix/s-proto.S @@ -0,0 +1,4 @@ +/* This file exists just to have its dependencies determined. + Those dependencies are then used for the simple system call objects. */ + +#include <sysdep.h> diff --git a/sysdeps/unix/setgid.S b/sysdeps/unix/setgid.S deleted file mode 100644 index 4fd02e1761..0000000000 --- a/sysdeps/unix/setgid.S +++ /dev/null @@ -1,24 +0,0 @@ -/* 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 <sysdep.h> - -SYSCALL__ (setgid, 1) - ret - -weak_alias (__setgid, setgid) diff --git a/sysdeps/unix/setuid.S b/sysdeps/unix/setuid.S deleted file mode 100644 index d17961b87a..0000000000 --- a/sysdeps/unix/setuid.S +++ /dev/null @@ -1,24 +0,0 @@ -/* 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 <sysdep.h> - -SYSCALL__ (setuid, 1) - ret - -weak_alias (__setuid, setuid) diff --git a/sysdeps/unix/sync.S b/sysdeps/unix/sync.S deleted file mode 100644 index d82db0e251..0000000000 --- a/sysdeps/unix/sync.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1991, 1992 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 <sysdep.h> - -SYSCALL (sync, 0) - ret diff --git a/sysdeps/unix/syscalls.list b/sysdeps/unix/syscalls.list new file mode 100644 index 0000000000..2f5c524abe --- /dev/null +++ b/sysdeps/unix/syscalls.list @@ -0,0 +1,54 @@ +# File name Caller Syscall name # args Strong name Weak names + +access - access 2 __access access +acct - acct 1 acct +chdir - chdir 1 __chdir chdir +chmod - chmod 2 __chmod chmod +chown - chown 3 __chown chown +chroot - chroot 1 chroot +close - close 1 __close close +dup - dup 2 __dup dup +dup2 - dup2 2 __dup2 dup2 +fchdir - fchdir 1 fchdir +fcntl - fcntl 3 __fcntl fcntl +fsync - fsync 1 fsync +getdomain - getdomainname 2 getdomainname +getgid - getgid 0 __getgid getgid +getgroups - getgroups 2 __getgroups getgroups +getitimer - getitimer 2 __getitimer getitimer +getpid - getpid 0 __getpid getpid +getpriority - getpriority 2 getpriority +getrlimit - getrlimit 2 getrlimit +getuid - getuid 0 __getuid getuid +ioctl - ioctl 3 __ioctl ioctl +kill - kill 2 __kill kill +link - link 2 __link link +lseek - lseek 3 __lseek lseek +mkdir - mkdir 2 __mkdir mkdir +open - open 3 __open open +profil - profil 4 profil +ptrace - ptrace 4 ptrace +read - read 3 __read read +readlink - readlink 3 __readlink readlink +readv - readv 3 readv +reboot - reboot 1 reboot +rename - rename 2 rename +rmdir - rmdir 1 __rmdir rmdir +select - select 5 __select select +setdomain - setdomainname 2 setdomainname +setgid - setgid 1 __setgid setgid +setgroups - setgroups 2 setgroups +setitimer - setitimer 3 __setitimer setitimer +setpriority - setpriority 3 setpriority +setrlimit - setrlimit 2 setrlimit +setuid - setuid 1 __setuid setuid +swapon - swapon 1 swapon +symlink - symlink 2 __symlink symlink +sync - sync 0 sync +sys_fstat fxstat fstat 2 __syscall_fstat +sys_mknod xmknod mknod 3 __syscall_mknod +sys_stat xstat stat 2 __syscall_stat +umask - umask 1 __umask umask +unlink - unlink 1 __unlink unlink +write - write 3 __write write +writev - writev 3 writev diff --git a/sysdeps/unix/sysv/alarm.S b/sysdeps/unix/sysv/alarm.S deleted file mode 100644 index 6c002d4ccb..0000000000 --- a/sysdeps/unix/sysv/alarm.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1991, 1992 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 <sysdep.h> - -SYSCALL (alarm, 1) - ret diff --git a/sysdeps/unix/sysv/ftime.S b/sysdeps/unix/sysv/ftime.S deleted file mode 100644 index f83530a066..0000000000 --- a/sysdeps/unix/sysv/ftime.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 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 <sysdep.h> - -SYSCALL (ftime, 1) - ret diff --git a/sysdeps/unix/sysv/irix4/getpgid.S b/sysdeps/unix/sysv/irix4/getpgid.S deleted file mode 100644 index fbef7a2b27..0000000000 --- a/sysdeps/unix/sysv/irix4/getpgid.S +++ /dev/null @@ -1,24 +0,0 @@ -/* 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 -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 <sysdep.h> - -PSEUDO (__getpgid, bsdgetpgrp, 1) - ret - -weak_alias (__getpgid, getpgid) diff --git a/sysdeps/unix/sysv/irix4/msync.S b/sysdeps/unix/sysv/irix4/msync.S deleted file mode 100644 index 75b9f1531d..0000000000 --- a/sysdeps/unix/sysv/irix4/msync.S +++ /dev/null @@ -1 +0,0 @@ -#include <sysdeps/unix/bsd/sun/sunos4/msync.S> diff --git a/sysdeps/unix/sysv/irix4/setpgid.S b/sysdeps/unix/sysv/irix4/setpgid.S deleted file mode 100644 index 9267054fe9..0000000000 --- a/sysdeps/unix/sysv/irix4/setpgid.S +++ /dev/null @@ -1,25 +0,0 @@ -/* 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 -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 <sysdep.h> - -PSEUDO (__setpgid, bsdsetpgrp, 2) - ret - -weak_alias (__setpgid, setpgid) -weak_alias (__setpgid, setpgrp) diff --git a/sysdeps/unix/sysv/irix4/signal.S b/sysdeps/unix/sysv/irix4/signal.S deleted file mode 100644 index b0c147dadb..0000000000 --- a/sysdeps/unix/sysv/irix4/signal.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1991, 1992 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 <sysdep.h> - -PSEUDO (__raw_signal, signal, 3) - ret diff --git a/sysdeps/unix/sysv/irix4/syscalls.list b/sysdeps/unix/sysv/irix4/syscalls.list new file mode 100644 index 0000000000..47e1c48821 --- /dev/null +++ b/sysdeps/unix/sysv/irix4/syscalls.list @@ -0,0 +1,8 @@ +# File name Caller Syscall name # args Strong name Weak names + +getpgid - bsdgetpgrp 1 __getpgid getpgid +msync - msync 3 msync +setpgid - bsdsetpgrp 2 __setpgid setpgid setpgrp +signal - signal 3 __raw_signal +sysmp - sysmp 4 __sysmp +syssgi - syssgi 2 __syssgi diff --git a/sysdeps/unix/sysv/irix4/sysmp.S b/sysdeps/unix/sysv/irix4/sysmp.S deleted file mode 100644 index 438da60d69..0000000000 --- a/sysdeps/unix/sysv/irix4/sysmp.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1994 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 <sysdep.h> - -SYSCALL__ (sysmp, 4) - ret diff --git a/sysdeps/unix/sysv/irix4/syssgi.S b/sysdeps/unix/sysv/irix4/syssgi.S deleted file mode 100644 index 2715d2899c..0000000000 --- a/sysdeps/unix/sysv/irix4/syssgi.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1994 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 <sysdep.h> - -SYSCALL__ (syssgi, 2) - ret diff --git a/sysdeps/unix/sysv/isc2.2/rename.S b/sysdeps/unix/sysv/isc2.2/rename.S deleted file mode 100644 index a4b2c4207c..0000000000 --- a/sysdeps/unix/sysv/isc2.2/rename.S +++ /dev/null @@ -1 +0,0 @@ -#include <sysdeps/unix/common/rename.S> diff --git a/sysdeps/unix/sysv/isc2.2/syscalls.list b/sysdeps/unix/sysv/isc2.2/syscalls.list new file mode 100644 index 0000000000..0ea253e3ca --- /dev/null +++ b/sysdeps/unix/sysv/isc2.2/syscalls.list @@ -0,0 +1,2 @@ +# File name Caller Syscall name # args Strong name Weak names + diff --git a/sysdeps/unix/sysv/linux/adjtimex.S b/sysdeps/unix/sysv/linux/adjtimex.S deleted file mode 100644 index de680acffb..0000000000 --- a/sysdeps/unix/sysv/linux/adjtimex.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 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 <sysdep.h> - -SYSCALL__ (adjtimex, 1) - ret diff --git a/sysdeps/unix/sysv/linux/fork.S b/sysdeps/unix/sysv/linux/fork.S deleted file mode 100644 index a49a4bcebd..0000000000 --- a/sysdeps/unix/sysv/linux/fork.S +++ /dev/null @@ -1,24 +0,0 @@ -/* 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 -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 <sysdep.h> - -SYSCALL__ (fork, 0) - ret - -weak_alias (__fork, fork) diff --git a/sysdeps/unix/sysv/linux/getpgid.S b/sysdeps/unix/sysv/linux/getpgid.S deleted file mode 100644 index 3151296b3c..0000000000 --- a/sysdeps/unix/sysv/linux/getpgid.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 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 <sysdep.h> - -SYSCALL (getpgid, 1) - ret diff --git a/sysdeps/unix/sysv/linux/getpgrp.S b/sysdeps/unix/sysv/linux/getpgrp.S deleted file mode 100644 index 75e8d342cc..0000000000 --- a/sysdeps/unix/sysv/linux/getpgrp.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 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 <sysdep.h> - -SYSCALL (getpgrp, 0) - ret diff --git a/sysdeps/unix/sysv/linux/getsid.S b/sysdeps/unix/sysv/linux/getsid.S deleted file mode 100644 index b5c49fb582..0000000000 --- a/sysdeps/unix/sysv/linux/getsid.S +++ /dev/null @@ -1,23 +0,0 @@ -/* getsid -- Return session ID of a process. System call version. -Copyright (C) 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 <sysdep.h> - -SYSCALL (getsid, 1) - ret diff --git a/sysdeps/unix/sysv/linux/gtty.S b/sysdeps/unix/sysv/linux/gtty.S deleted file mode 100644 index 1cff6b251c..0000000000 --- a/sysdeps/unix/sysv/linux/gtty.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 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 <sysdep.h> - -SYSCALL (gtty, 2) - ret diff --git a/sysdeps/unix/sysv/linux/i386/ipc.S b/sysdeps/unix/sysv/linux/i386/ipc.S deleted file mode 100644 index bb523a20dc..0000000000 --- a/sysdeps/unix/sysv/linux/i386/ipc.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 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 <sysdep.h> - -SYSCALL__ (ipc, 5) - ret diff --git a/sysdeps/unix/sysv/linux/i386/syscalls.list b/sysdeps/unix/sysv/linux/i386/syscalls.list new file mode 100644 index 0000000000..89051677b4 --- /dev/null +++ b/sysdeps/unix/sysv/linux/i386/syscalls.list @@ -0,0 +1,3 @@ +# File name Caller Syscall name # args Strong name Weak names + +ipc - ipc 5 __ipc diff --git a/sysdeps/unix/sysv/linux/mlock.S b/sysdeps/unix/sysv/linux/mlock.S deleted file mode 100644 index b14f51deba..0000000000 --- a/sysdeps/unix/sysv/linux/mlock.S +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (C) 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 <sysdep.h> - -SYSCALL__ (mlock, 2) - ret - -weak_alias (__mlock, mlock) diff --git a/sysdeps/unix/sysv/linux/mlockall.S b/sysdeps/unix/sysv/linux/mlockall.S deleted file mode 100644 index 939ec01f0b..0000000000 --- a/sysdeps/unix/sysv/linux/mlockall.S +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (C) 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 <sysdep.h> - -SYSCALL__ (mlockall, 1) - ret - -weak_alias (__mlockall, mlockall) diff --git a/sysdeps/unix/sysv/linux/mount.S b/sysdeps/unix/sysv/linux/mount.S deleted file mode 100644 index f71d3b7387..0000000000 --- a/sysdeps/unix/sysv/linux/mount.S +++ /dev/null @@ -1,24 +0,0 @@ -/* 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., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - -#include <sysdep.h> - -SYSCALL__ (mount, 5) - ret - -weak_alias (__mount, mount) diff --git a/sysdeps/unix/sysv/linux/munlock.S b/sysdeps/unix/sysv/linux/munlock.S deleted file mode 100644 index 50fe9332ee..0000000000 --- a/sysdeps/unix/sysv/linux/munlock.S +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (C) 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 <sysdep.h> - -SYSCALL__ (munlock, 2) - ret - -weak_alias (__munlock, munlock) diff --git a/sysdeps/unix/sysv/linux/munlockall.S b/sysdeps/unix/sysv/linux/munlockall.S deleted file mode 100644 index 7d8aeb4683..0000000000 --- a/sysdeps/unix/sysv/linux/munlockall.S +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (C) 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 <sysdep.h> - -SYSCALL__ (munlockall, 0) - ret - -weak_alias (__munlockall, munlockall) diff --git a/sysdeps/unix/sysv/linux/pipe.S b/sysdeps/unix/sysv/linux/pipe.S deleted file mode 100644 index cd050b36e8..0000000000 --- a/sysdeps/unix/sysv/linux/pipe.S +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (C) 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 <sysdep.h> - -SYSCALL__ (pipe, 1) - ret - -weak_alias (__pipe, pipe) diff --git a/sysdeps/unix/sysv/linux/s_ptrace.S b/sysdeps/unix/sysv/linux/s_ptrace.S deleted file mode 100644 index dbd4809f9a..0000000000 --- a/sysdeps/unix/sysv/linux/s_ptrace.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1995, 1996 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 <sysdep.h> - -PSEUDO (__syscall_ptrace, ptrace, 4) - ret diff --git a/sysdeps/unix/sysv/linux/setpgid.S b/sysdeps/unix/sysv/linux/setpgid.S deleted file mode 100644 index ba8140fb53..0000000000 --- a/sysdeps/unix/sysv/linux/setpgid.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 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 <sysdep.h> - -SYSCALL (setpgid, 2) - ret diff --git a/sysdeps/unix/sysv/linux/setsid.S b/sysdeps/unix/sysv/linux/setsid.S deleted file mode 100644 index 4930c56dcf..0000000000 --- a/sysdeps/unix/sysv/linux/setsid.S +++ /dev/null @@ -1 +0,0 @@ -#include <sysdeps/unix/bsd/bsd4.4/setsid.S> diff --git a/sysdeps/unix/sysv/linux/settimeofday.S b/sysdeps/unix/sysv/linux/settimeofday.S deleted file mode 100644 index 4f86a26ac4..0000000000 --- a/sysdeps/unix/sysv/linux/settimeofday.S +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (C) 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 <sysdep.h> - -SYSCALL__ (settimeofday, 2) - ret - -weak_alias (__settimeofday, settimeofday) diff --git a/sysdeps/unix/sysv/linux/sigpending.S b/sysdeps/unix/sysv/linux/sigpending.S deleted file mode 100644 index 574ea3a282..0000000000 --- a/sysdeps/unix/sysv/linux/sigpending.S +++ /dev/null @@ -1 +0,0 @@ -#include <sysdeps/unix/sysv/sco3.2.4/sigpending.S> diff --git a/sysdeps/unix/sysv/linux/stty.S b/sysdeps/unix/sysv/linux/stty.S deleted file mode 100644 index 6c04c2af38..0000000000 --- a/sysdeps/unix/sysv/linux/stty.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 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 <sysdep.h> - -SYSCALL (stty, 2) - ret diff --git a/sysdeps/unix/sysv/linux/syscalls.list b/sysdeps/unix/sysv/linux/syscalls.list new file mode 100644 index 0000000000..88632fafff --- /dev/null +++ b/sysdeps/unix/sysv/linux/syscalls.list @@ -0,0 +1,22 @@ +# File name Caller Syscall name # args Strong name Weak names + +adjtimex adjtime adjtimex 1 __adjtimex +fork - fork 0 __fork fork +getpgid - getpgid 1 getpgid +getpgrp - getpgrp 0 getpgrp +getsid - getsid 1 getsid +gtty - gtty 2 gtty +mlock - mlock 2 __mlock mlock +mlockall - mlockall 1 __mlockall mlockall +mount - mount 5 __mount mount +munlock - munlock 2 __munlock munlock +munlockall - munlockall 0 __munlockall munlockall +pipe - pipe 1 __pipe pipe +s_ptrace ptrace ptrace 4 __syscall_ptrace +setpgid - setpgid 2 setpgid +setsid - setsid 0 __setsid setsid +settimeofday - settimeofday 2 __settimeofday settimeofday +sigpending - sigpending 1 sigpending +stty - stty 2 stty +umount - umount 1 __umount umount +wait4 - wait4 4 __wait4 wait4 diff --git a/sysdeps/unix/sysv/linux/umount.S b/sysdeps/unix/sysv/linux/umount.S deleted file mode 100644 index ff9395718e..0000000000 --- a/sysdeps/unix/sysv/linux/umount.S +++ /dev/null @@ -1,24 +0,0 @@ -/* 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., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - -#include <sysdep.h> - -SYSCALL__ (umount, 1) - ret - -weak_alias (__umount, umount) diff --git a/sysdeps/unix/sysv/linux/wait4.S b/sysdeps/unix/sysv/linux/wait4.S deleted file mode 100644 index e4c322341d..0000000000 --- a/sysdeps/unix/sysv/linux/wait4.S +++ /dev/null @@ -1 +0,0 @@ -#include <sysdeps/unix/bsd/bsd4.4/wait4.S> diff --git a/sysdeps/unix/sysv/nice.S b/sysdeps/unix/sysv/nice.S deleted file mode 100644 index b04bb410a0..0000000000 --- a/sysdeps/unix/sysv/nice.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1992 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 <sysdep.h> - -SYSCALL (nice, 1) - ret diff --git a/sysdeps/unix/sysv/pause.S b/sysdeps/unix/sysv/pause.S deleted file mode 100644 index 82441ff2c0..0000000000 --- a/sysdeps/unix/sysv/pause.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1991, 1992 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 <sysdep.h> - -SYSCALL (pause, 0) - ret diff --git a/sysdeps/unix/sysv/poll.S b/sysdeps/unix/sysv/poll.S deleted file mode 100644 index 063236e7b9..0000000000 --- a/sysdeps/unix/sysv/poll.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1994 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 <sysdep.h> - -SYSCALL (poll, 3) - ret diff --git a/sysdeps/unix/sysv/s_getdents.S b/sysdeps/unix/sysv/s_getdents.S deleted file mode 100644 index 6e60c08125..0000000000 --- a/sysdeps/unix/sysv/s_getdents.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1992 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 <sysdep.h> - -SYSCALL__ (getdents, 3) - ret diff --git a/sysdeps/unix/sysv/sco3.2.4/pathconf.S b/sysdeps/unix/sysv/sco3.2.4/pathconf.S deleted file mode 100644 index 1c4dd9571c..0000000000 --- a/sysdeps/unix/sysv/sco3.2.4/pathconf.S +++ /dev/null @@ -1,24 +0,0 @@ -/* 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 -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 <sysdep.h> - -SYSCALL__ (pathconf, 2) - ret - -weak_alias (__pathconf, pathconf) diff --git a/sysdeps/unix/sysv/sco3.2.4/pgrpsys.S b/sysdeps/unix/sysv/sco3.2.4/pgrpsys.S deleted file mode 100644 index 2c7d994c28..0000000000 --- a/sysdeps/unix/sysv/sco3.2.4/pgrpsys.S +++ /dev/null @@ -1 +0,0 @@ -#include <sysdeps/unix/sysv/sysv4/pgrpsys.S> diff --git a/sysdeps/unix/sysv/sco3.2.4/sco_getgrp.S b/sysdeps/unix/sysv/sco3.2.4/sco_getgrp.S deleted file mode 100644 index e68c300821..0000000000 --- a/sysdeps/unix/sysv/sco3.2.4/sco_getgrp.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1994 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 <sysdep.h> - -PSEUDO (__sco_getgroups, getgroups, 2) - ret diff --git a/sysdeps/unix/sysv/sco3.2.4/sigpending.S b/sysdeps/unix/sysv/sco3.2.4/sigpending.S deleted file mode 100644 index bc05b2ef6e..0000000000 --- a/sysdeps/unix/sysv/sco3.2.4/sigpending.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1993 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 <sysdep.h> - -SYSCALL (sigpending, 1) - ret diff --git a/sysdeps/unix/sysv/sco3.2.4/sigprocmask.S b/sysdeps/unix/sysv/sco3.2.4/sigprocmask.S deleted file mode 100644 index ff199158a4..0000000000 --- a/sysdeps/unix/sysv/sco3.2.4/sigprocmask.S +++ /dev/null @@ -1,24 +0,0 @@ -/* 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 -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 <sysdep.h> - -SYSCALL__ (sigprocmask, 3) - ret - -weak_alias (__sigprocmask, sigprocmask) diff --git a/sysdeps/unix/sysv/sco3.2.4/sigsuspend.S b/sysdeps/unix/sysv/sco3.2.4/sigsuspend.S deleted file mode 100644 index 9bce3878fd..0000000000 --- a/sysdeps/unix/sysv/sco3.2.4/sigsuspend.S +++ /dev/null @@ -1 +0,0 @@ -#include <sysdeps/unix/sysv/sysv4/sigsuspend.S> diff --git a/sysdeps/unix/sysv/sco3.2.4/syscalls.list b/sysdeps/unix/sysv/sco3.2.4/syscalls.list new file mode 100644 index 0000000000..bda6c16c76 --- /dev/null +++ b/sysdeps/unix/sysv/sco3.2.4/syscalls.list @@ -0,0 +1,8 @@ +# File name Caller Syscall name # args Strong name Weak names + +pathconf - pathconf 2 __pathconf pathconf +pgrpsys - pgrpsys 3 __pgrpsys +sco_getgrp getgroups getgroups 2 __sco_getgroups +sigpending - sigpending 1 sigpending +sigprocmask - sigprocmask 3 __sigprocmask sigprocmask +sigsuspend - sigsuspend 1 sigsuspend diff --git a/sysdeps/unix/sysv/signal.S b/sysdeps/unix/sysv/signal.S deleted file mode 100644 index 5230b3463d..0000000000 --- a/sysdeps/unix/sysv/signal.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1991, 1992 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 <sysdep.h> - -SYSCALL (signal, 2) - ret diff --git a/sysdeps/unix/sysv/stime.S b/sysdeps/unix/sysv/stime.S deleted file mode 100644 index 0ffb6bbb7c..0000000000 --- a/sysdeps/unix/sysv/stime.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1992 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 <sysdep.h> - -SYSCALL (stime, 1) - ret diff --git a/sysdeps/unix/sysv/syscalls.list b/sysdeps/unix/sysv/syscalls.list new file mode 100644 index 0000000000..ee40474d28 --- /dev/null +++ b/sysdeps/unix/sysv/syscalls.list @@ -0,0 +1,15 @@ +# File name Caller Syscall name # args Strong name Weak names + +alarm - alarm 1 alarm +ftime - ftime 1 ftime +nice - nice 1 nice +pause - pause 0 pause +poll - poll 3 poll +s_getdents getdents getdents 3 __getdents +signal - signal 2 signal +stime - stime 1 stime +time - time 1 time +times - times 1 __times times +ulimit - ulimit 2 ulimit +uname - uname 1 uname +utime - utime 2 utime diff --git a/sysdeps/unix/sysv/sysv4/i386/syscalls.list b/sysdeps/unix/sysv/sysv4/i386/syscalls.list new file mode 100644 index 0000000000..560cd8366e --- /dev/null +++ b/sysdeps/unix/sysv/sysv4/i386/syscalls.list @@ -0,0 +1,6 @@ +# File name Caller Syscall name # args Strong name Weak names + +xstat - xstat 3 __xstat _xstat +fxstat - fxstat 3 __fxstat _fxstat +lxstat - lxstat 3 __lxstat _lxstat +xmknod - xmknod 4 __xmknod _xmknod diff --git a/sysdeps/unix/sysv/sysv4/pgrpsys.S b/sysdeps/unix/sysv/sysv4/pgrpsys.S deleted file mode 100644 index dcfb487e54..0000000000 --- a/sysdeps/unix/sysv/sysv4/pgrpsys.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1993 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 <sysdep.h> - -SYSCALL__ (pgrpsys, 3) - ret diff --git a/sysdeps/unix/sysv/sysv4/sigprocmask.S b/sysdeps/unix/sysv/sysv4/sigprocmask.S deleted file mode 100644 index 51fddb0bee..0000000000 --- a/sysdeps/unix/sysv/sysv4/sigprocmask.S +++ /dev/null @@ -1,24 +0,0 @@ -/* 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 -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 <sysdep.h> - -SYSCALL__ (sigprocmask, 3) - ret - -weak_alias (__sigprocmask, sigprocmask) diff --git a/sysdeps/unix/sysv/sysv4/sigsuspend.S b/sysdeps/unix/sysv/sysv4/sigsuspend.S deleted file mode 100644 index 85d36017b8..0000000000 --- a/sysdeps/unix/sysv/sysv4/sigsuspend.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1993 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 <sysdep.h> - -SYSCALL (sigsuspend, 1) - ret diff --git a/sysdeps/unix/sysv/sysv4/solaris2/sparc/sys-sig.S b/sysdeps/unix/sysv/sysv4/solaris2/sparc/sys-sig.S deleted file mode 100644 index 8baa997e80..0000000000 --- a/sysdeps/unix/sysv/sysv4/solaris2/sparc/sys-sig.S +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright (C) 1994 Free Software Foundation, Inc. - Contributed by Brendan Kehoe (brendan@zen.org). - -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 <sysdep.h> - -PSEUDO (__sigaction_syscall, sigaction, 3) - ret - -PSEUDO (__context_syscall, context, 2) - ret diff --git a/sysdeps/unix/sysv/sysv4/solaris2/sparc/syscalls.list b/sysdeps/unix/sysv/sysv4/solaris2/sparc/syscalls.list new file mode 100644 index 0000000000..d96fbba7e2 --- /dev/null +++ b/sysdeps/unix/sysv/sysv4/solaris2/sparc/syscalls.list @@ -0,0 +1,3 @@ +# File name Caller Syscall name # args Strong name Weak names + +sys-sig - context 2 __context_syscall diff --git a/sysdeps/unix/sysv/sysv4/syscalls.list b/sysdeps/unix/sysv/sysv4/syscalls.list new file mode 100644 index 0000000000..2919bcc27f --- /dev/null +++ b/sysdeps/unix/sysv/sysv4/syscalls.list @@ -0,0 +1,7 @@ +# File name Caller Syscall name # args Strong name Weak names + +pgrpsys - pgrpsys 3 __pgrpsys +sigprocmask - sigprocmask 3 __sigprocmask sigprocmask +sigsuspend - sigsuspend 1 sigsuspend +sysconfig - sysconfig 1 __sysconfig +sysinfo - systeminfo 3 __sysinfo diff --git a/sysdeps/unix/sysv/sysv4/sysconfig.S b/sysdeps/unix/sysv/sysv4/sysconfig.S deleted file mode 100644 index 034e012e84..0000000000 --- a/sysdeps/unix/sysv/sysv4/sysconfig.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1993 Free Software Foundation, Inc. - Contributed by Brendan Kehoe (brendan@zen.org). - -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 <sysdep.h> - -SYSCALL__ (sysconfig, 1) - ret diff --git a/sysdeps/unix/sysv/sysv4/sysinfo.S b/sysdeps/unix/sysv/sysv4/sysinfo.S deleted file mode 100644 index c279c96e9c..0000000000 --- a/sysdeps/unix/sysv/sysv4/sysinfo.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1994 Free Software Foundation, Inc. - Contributed by Brendan Kehoe (brendan@zen.org). - -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 <sysdep.h> - -PSEUDO (__sysinfo, systeminfo, 3) - ret diff --git a/sysdeps/unix/sysv/time.S b/sysdeps/unix/sysv/time.S deleted file mode 100644 index 61f3514fb7..0000000000 --- a/sysdeps/unix/sysv/time.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1993 Free Software Foundation, Inc. - Contributed by Brendan Kehoe (brendan@zen.org). - -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 <sysdep.h> - -SYSCALL (time, 1) - ret diff --git a/sysdeps/unix/sysv/times.S b/sysdeps/unix/sysv/times.S deleted file mode 100644 index c2bb1685f5..0000000000 --- a/sysdeps/unix/sysv/times.S +++ /dev/null @@ -1,24 +0,0 @@ -/* 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 <sysdep.h> - -SYSCALL__ (times, 1) - ret - -weak_alias (__times, times) diff --git a/sysdeps/unix/sysv/ulimit.S b/sysdeps/unix/sysv/ulimit.S deleted file mode 100644 index 1bc6dc910a..0000000000 --- a/sysdeps/unix/sysv/ulimit.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1991, 1992 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 <sysdep.h> - -SYSCALL (ulimit, 2) - ret diff --git a/sysdeps/unix/sysv/uname.S b/sysdeps/unix/sysv/uname.S deleted file mode 100644 index ab4879fa40..0000000000 --- a/sysdeps/unix/sysv/uname.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1992 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 <sysdep.h> - -SYSCALL (uname, 1) - ret diff --git a/sysdeps/unix/sysv/utime.S b/sysdeps/unix/sysv/utime.S deleted file mode 100644 index e24db03b5e..0000000000 --- a/sysdeps/unix/sysv/utime.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1992 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 <sysdep.h> - -SYSCALL (utime, 2) - ret diff --git a/sysdeps/unix/umask.S b/sysdeps/unix/umask.S deleted file mode 100644 index bb2b89982e..0000000000 --- a/sysdeps/unix/umask.S +++ /dev/null @@ -1,24 +0,0 @@ -/* 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 <sysdep.h> - -SYSCALL__ (umask, 1) - ret - -weak_alias (__umask, umask) diff --git a/sysdeps/unix/unlink.S b/sysdeps/unix/unlink.S deleted file mode 100644 index 8f496ce94b..0000000000 --- a/sysdeps/unix/unlink.S +++ /dev/null @@ -1,24 +0,0 @@ -/* 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 <sysdep.h> - -SYSCALL__ (unlink, 1) - ret - -weak_alias (__unlink, unlink) diff --git a/sysdeps/unix/write.S b/sysdeps/unix/write.S deleted file mode 100644 index 881d1276fd..0000000000 --- a/sysdeps/unix/write.S +++ /dev/null @@ -1,24 +0,0 @@ -/* 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 <sysdep.h> - -SYSCALL__ (write, 3) - ret - -weak_alias (__write, write) |