aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/sco3.2.4
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2004-10-26 02:15:42 +0000
committerRoland McGrath <roland@gnu.org>2004-10-26 02:15:42 +0000
commit8f8bd267e9291c4a5a3625e81b8089fe5a6be902 (patch)
tree2983ec967c20a7072757c54cf229325ce9f9cd44 /sysdeps/unix/sysv/sco3.2.4
parentaf5b614c7e4668f1804320f18743aa1a7db78d58 (diff)
downloadglibc-8f8bd267e9291c4a5a3625e81b8089fe5a6be902.tar
glibc-8f8bd267e9291c4a5a3625e81b8089fe5a6be902.tar.gz
glibc-8f8bd267e9291c4a5a3625e81b8089fe5a6be902.tar.bz2
glibc-8f8bd267e9291c4a5a3625e81b8089fe5a6be902.zip
* sysdeps/unix/bsd/hp: Directory and all files removed.
These are now in the ports repository. * sysdeps/unix/bsd/osf: Likewise. * sysdeps/unix/bsd/sequent: Likewise. * sysdeps/unix/bsd/sony: Likewise. * sysdeps/unix/bsd/ultrix4: Likewise. * sysdeps/unix/sysv/aix: Likewise. * sysdeps/unix/sysv/hpux: Likewise. * sysdeps/unix/sysv/irix4: Likewise. * sysdeps/unix/sysv/isc2.2: Likewise. * sysdeps/unix/sysv/minix: Likewise. * sysdeps/unix/sysv/sco3.2.4: Likewise. * sysdeps/unix/sysv/sco3.2: Likewise. * sysdeps/unix/sysv/sysv4: Likewise.
Diffstat (limited to 'sysdeps/unix/sysv/sco3.2.4')
-rw-r--r--sysdeps/unix/sysv/sco3.2.4/Dist1
-rw-r--r--sysdeps/unix/sysv/sco3.2.4/Makefile17
-rw-r--r--sysdeps/unix/sysv/sco3.2.4/__setpgid.c33
-rw-r--r--sysdeps/unix/sysv/sco3.2.4/bits/confname.h54
-rw-r--r--sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h43
-rw-r--r--sysdeps/unix/sysv/sco3.2.4/getgroups.c45
-rw-r--r--sysdeps/unix/sysv/sco3.2.4/getpgid.c1
-rw-r--r--sysdeps/unix/sysv/sco3.2.4/setpgid.c1
-rw-r--r--sysdeps/unix/sysv/sco3.2.4/setsid.c1
-rw-r--r--sysdeps/unix/sysv/sco3.2.4/sigaction.S30
-rw-r--r--sysdeps/unix/sysv/sco3.2.4/sys/syscall.h125
-rw-r--r--sysdeps/unix/sysv/sco3.2.4/syscalls.list8
-rw-r--r--sysdeps/unix/sysv/sco3.2.4/sysconf.S30
-rw-r--r--sysdeps/unix/sysv/sco3.2.4/system.c10
-rw-r--r--sysdeps/unix/sysv/sco3.2.4/uname.S41
-rw-r--r--sysdeps/unix/sysv/sco3.2.4/waitpid.S37
16 files changed, 0 insertions, 477 deletions
diff --git a/sysdeps/unix/sysv/sco3.2.4/Dist b/sysdeps/unix/sysv/sco3.2.4/Dist
deleted file mode 100644
index 984b473349..0000000000
--- a/sysdeps/unix/sysv/sco3.2.4/Dist
+++ /dev/null
@@ -1 +0,0 @@
-__setpgid.c
diff --git a/sysdeps/unix/sysv/sco3.2.4/Makefile b/sysdeps/unix/sysv/sco3.2.4/Makefile
deleted file mode 100644
index a199ba9003..0000000000
--- a/sysdeps/unix/sysv/sco3.2.4/Makefile
+++ /dev/null
@@ -1,17 +0,0 @@
-ifeq (posix,$(subdir))
-sysdep_routines := $(sysdep_routines) pgrpsys sco_getgrp
-endif
-
-ifeq (csu,$(subdir))
-
-# SCO uses crt1.o, and expects that single initializer file to also start
-# the .init and .fini sections as crti.o normally does.
-start-installed-name = crt1.o
-start-installed-name-rule = yes
-
-# Link together start.o and crti.o into the expected crt1.o.
-# Now crt1.o as initializer and crtn.o as finalizer will work.
-$(objpfx)crt1.o: $(objpfx)start.o $(objpfx)crti.o
- $(CC) -nostdlib -nostartfiles -Wl,-r -o $@ $^
-
-endif
diff --git a/sysdeps/unix/sysv/sco3.2.4/__setpgid.c b/sysdeps/unix/sysv/sco3.2.4/__setpgid.c
deleted file mode 100644
index d51fa602c9..0000000000
--- a/sysdeps/unix/sysv/sco3.2.4/__setpgid.c
+++ /dev/null
@@ -1,33 +0,0 @@
-/* Copyright (C) 1994, 1997, 2002, 2004 Free Software 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 Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 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
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
-
-#include <errno.h>
-#include <unistd.h>
-#include <sys/types.h>
-
-extern int __pgrpsys (int type, ...);
-
-/* Get the process group ID of process PID. */
-int
-__setpgid (pid, pgid)
- pid_t pid;
- pid_t pgid;
-{
- return __pgrpsys (2, pid, pgid);
-}
-libc_hidden_def (__setpgid)
diff --git a/sysdeps/unix/sysv/sco3.2.4/bits/confname.h b/sysdeps/unix/sysv/sco3.2.4/bits/confname.h
deleted file mode 100644
index 42e6ed0ead..0000000000
--- a/sysdeps/unix/sysv/sco3.2.4/bits/confname.h
+++ /dev/null
@@ -1,54 +0,0 @@
-/* `sysconf', `pathconf', and `confstr' NAME values. Generic version.
- Copyright (C) 1993, 1997 Free Software 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 Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 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
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
-
-#ifndef _UNISTD_H
-# error "Never use <bits/confname.h> directly; include <unistd.h> instead."
-#endif
-
-/* Values for the NAME argument to `pathconf' and `fpathconf'. */
-#define _PC_LINK_MAX 0
-#define _PC_MAX_CANON 1
-#define _PC_MAX_INPUT 2
-#define _PC_NAME_MAX 3
-#define _PC_PATH_MAX 4
-#define _PC_PIPE_BUF 5
-#define _PC_CHOWN_RESTRICTED 6
-#define _PC_NO_TRUNC 7
-#define _PC_VDISABLE 8
-
-/* Values for the argument to `sysconf'. */
-#define _SC_ARG_MAX 0
-#define _SC_CHILD_MAX 1
-#define _SC_CLK_TCK 2
-#define _SC_NGROUPS_MAX 3
-#define _SC_OPEN_MAX 4
-#define _SC_JOB_CONTROL 5
-#define _SC_SAVED_IDS 6
-#define _SC_VERSION 7
-#define _SC_PASS_MAX 8
-#define _SC_XOPEN_VERSION 9
-#define _SC_TZNAME_MAX 666 /* Not handled by SCO's system call. */
-
-#ifdef __USE_POSIX2
-/* Values for the NAME argument to `confstr'. */
-enum
- {
- _CS_PATH /* The default search path. */
- };
-#endif
diff --git a/sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h b/sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h
deleted file mode 100644
index f087388556..0000000000
--- a/sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/* The proper definitions for SCO's sigaction.
- Copyright (C) 1993, 1994, 1996, 1997 Free Software 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 Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 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
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
-
-#ifndef _SIGNAL_H
-# error "Never include <bits/sigaction.h> directly; use <signal.h> instead."
-#endif
-
-/* Structure describing the action to be taken when a signal arrives. */
-struct sigaction
- {
- /* Signal handler. */
- __sighandler_t sa_handler;
-
- /* Additional set of signals to be blocked. */
- __sigset_t sa_mask;
-
- /* Special flags. */
- int sa_flags;
- };
-
-/* Bits in `sa_flags'. */
-#define SA_NOCLDSTOP 0x01 /* Don't send SIGCHLD when children stop. */
-
-/* Values for the HOW argument to `sigprocmask'. */
-#define SIG_SETMASK 0 /* Set the set of blocked signals. */
-#define SIG_BLOCK 1 /* Block signals. */
-#define SIG_UNBLOCK 2 /* Unblock signals. */
diff --git a/sysdeps/unix/sysv/sco3.2.4/getgroups.c b/sysdeps/unix/sysv/sco3.2.4/getgroups.c
deleted file mode 100644
index 2aac40bddd..0000000000
--- a/sysdeps/unix/sysv/sco3.2.4/getgroups.c
+++ /dev/null
@@ -1,45 +0,0 @@
-/* Copyright (C) 1994, 1995, 1997, 2004 Free Software 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 Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 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
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
-
-#include <sys/types.h>
-#include <unistd.h>
-#include <limits.h>
-#include <alloca.h>
-
-extern int __sco_getgroups (int size, unsigned short int *list);
-
-int
-__getgroups (size, list)
- int size; gid_t *list;
-{
- int i;
- unsigned short int *shortlist;
-
- if (size <= 0)
- return __sco_getgroups (size, NULL);
-
- shortlist = __alloca (size * sizeof (*shortlist));
-
- size = __sco_getgroups (size, shortlist);
- for (i = 0; i < size; ++i)
- list[i] = shortlist[i];
-
- return size;
-}
-
-weak_alias (__getgroups, getgroups)
diff --git a/sysdeps/unix/sysv/sco3.2.4/getpgid.c b/sysdeps/unix/sysv/sco3.2.4/getpgid.c
deleted file mode 100644
index 3b47d9dee2..0000000000
--- a/sysdeps/unix/sysv/sco3.2.4/getpgid.c
+++ /dev/null
@@ -1 +0,0 @@
-#include <sysdeps/unix/sysv/sysv4/getpgid.c>
diff --git a/sysdeps/unix/sysv/sco3.2.4/setpgid.c b/sysdeps/unix/sysv/sco3.2.4/setpgid.c
deleted file mode 100644
index cc9c4cd61b..0000000000
--- a/sysdeps/unix/sysv/sco3.2.4/setpgid.c
+++ /dev/null
@@ -1 +0,0 @@
-#include <sysdeps/unix/sysv/sysv4/setpgid.c>
diff --git a/sysdeps/unix/sysv/sco3.2.4/setsid.c b/sysdeps/unix/sysv/sco3.2.4/setsid.c
deleted file mode 100644
index 6337652552..0000000000
--- a/sysdeps/unix/sysv/sco3.2.4/setsid.c
+++ /dev/null
@@ -1 +0,0 @@
-#include <sysdeps/unix/sysv/sysv4/setsid.c>
diff --git a/sysdeps/unix/sysv/sco3.2.4/sigaction.S b/sysdeps/unix/sysv/sco3.2.4/sigaction.S
deleted file mode 100644
index ae50c17d93..0000000000
--- a/sysdeps/unix/sysv/sco3.2.4/sigaction.S
+++ /dev/null
@@ -1,30 +0,0 @@
-/* Copyright (C) 1993, 1994, 1995, 1997, 2002 Free Software 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 Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 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
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
-
-#include <sysdep.h>
-
-.globl C_SYMBOL_NAME(__sigreturn)
-
-ENTRY (__sigaction)
- movl $C_SYMBOL_NAME(__sigreturn), %ecx
- DO_CALL (sigaction, 3)
- jb syscall_error
- ret
-
-libc_hidden_def (__sigaction)
-weak_alias (__sigaction, sigaction)
diff --git a/sysdeps/unix/sysv/sco3.2.4/sys/syscall.h b/sysdeps/unix/sysv/sco3.2.4/sys/syscall.h
deleted file mode 100644
index 05bbb89f34..0000000000
--- a/sysdeps/unix/sysv/sco3.2.4/sys/syscall.h
+++ /dev/null
@@ -1,125 +0,0 @@
-/* Copyright (C) 1994, 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 Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 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
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
-
-/* From Scott Bartram. */
-
-#ifndef _SYSCALL_H
-#define _SYSCALL_H
-
-#define SYS_access 33
-#define SYS_acct 51
-#define SYS_advfs 70
-#define SYS_alarm 27
-#define SYS_break 17
-#define SYS_brk 17
-#define SYS_chdir 12
-#define SYS_chmod 15
-#define SYS_chown 16
-#define SYS_chroot 61
-#define SYS_chsize 0x0a28
-#define SYS_close 6
-#define SYS_creat 8
-#define SYS_dup 41
-#define SYS_exec 11
-#define SYS_exece 59
-#define SYS_exit 1
-#define SYS_fcntl 62
-#define SYS_fork 2
-#define SYS_fpathconf 0x2f28
-#define SYS_fstat 28
-#define SYS_fstatfs 38
-#define SYS_ftime 0x0b28
-#define SYS_getdents 81
-#define SYS_getgid 47
-#define SYS_getgroups 0x2b28
-#define SYS_getitimer 0x3728
-#define SYS_getmsg 85
-#define SYS_getpid 20
-#define SYS_getuid 24
-#define SYS_gtty 32
-#define SYS_ioctl 54
-#define SYS_kill 37
-#define SYS_link 9
-#define SYS_lock 45
-#define SYS_lseek 19
-#define SYS_lstat 91
-#define SYS_mkdir 80
-#define SYS_mknod 14
-#define SYS_mount 21
-#define SYS_msgsys 49
-#define SYS_nap 0x0c28
-#define SYS_nice 34
-#define SYS_open 5
-#define SYS_pathconf 0x2e28
-#define SYS_pause 29
-#define SYS_pgrpsys 39
-#define SYS_pipe 42
-#define SYS_plock 45
-#define SYS_poll 87
-#define SYS_prof 44
-#define SYS_ptrace 26
-#define SYS_putmsg 86
-#define SYS_rdebug 76
-#define SYS_read 3
-#define SYS_readlink 92
-#define SYS_rename 0x3028
-#define SYS_rfstart 74
-#define SYS_rfstop 77
-#define SYS_rfsys 78
-#define SYS_rmdir 79
-#define SYS_rmount 72
-#define SYS_rumount 73
-#define SYS_seek 19
-#define SYS_select 0x2428
-#define SYS_semsys 53
-#define SYS_setgid 46
-#define SYS_setgroups 0x2c28
-#define SYS_setitimer 0x3828
-#define SYS_setpgrp 39
-#define SYS_setuid 23
-#define SYS_shmsys 52
-#define SYS_sigaction 0x2728
-#define SYS_signal 48
-#define SYS_sigpending 0x2928
-#define SYS_sigprocmask 0x2828
-#define SYS_sigsuspend 0x2a28
-#define SYS_stat 18
-#define SYS_statfs 35
-#define SYS_stime 25
-#define SYS_stty 31
-#define SYS_symlink 90
-#define SYS_sync 36
-#define SYS_sys3b 50
-#define SYS_sysacct 51
-#define SYS_sysconf 0x2d28
-#define SYS_sysfs 84
-#define SYS_sysi86 50
-#define SYS_time 13
-#define SYS_times 43
-#define SYS_uadmin 55
-#define SYS_ulimit 63
-#define SYS_umask 60
-#define SYS_umount 22
-#define SYS_unadvfs 71
-#define SYS_unlink 10
-#define SYS_utime 30
-#define SYS_utssys 57
-#define SYS_wait 7
-#define SYS_write 4
-
-#endif
diff --git a/sysdeps/unix/sysv/sco3.2.4/syscalls.list b/sysdeps/unix/sysv/sco3.2.4/syscalls.list
deleted file mode 100644
index bda6c16c76..0000000000
--- a/sysdeps/unix/sysv/sco3.2.4/syscalls.list
+++ /dev/null
@@ -1,8 +0,0 @@
-# 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/sco3.2.4/sysconf.S b/sysdeps/unix/sysv/sco3.2.4/sysconf.S
deleted file mode 100644
index 9780bd4881..0000000000
--- a/sysdeps/unix/sysv/sco3.2.4/sysconf.S
+++ /dev/null
@@ -1,30 +0,0 @@
-/* Copyright (C) 1993, 1994, 1995, 1997 Free Software 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 Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 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
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
-
-#include <sysdep.h>
-#include <bits/confname.h>
-
-.globl __tzname_max
-ENTRY (__sysconf)
- cmpl $_SC_TZNAME_MAX, 4(%esp) /* Is the arg _SC_TZNAME_MAX? */
- je tzname
- DO_CALL (sysconf, 1) /* No; use the SCO system call. */
- ret
-tzname: jmp C_SYMBOL_NAME(__tzname_max) /* Yes; bounce to __tzname_max (). */
-
-weak_alias (__sysconf, sysconf)
diff --git a/sysdeps/unix/sysv/sco3.2.4/system.c b/sysdeps/unix/sysv/sco3.2.4/system.c
deleted file mode 100644
index 06dc066b88..0000000000
--- a/sysdeps/unix/sysv/sco3.2.4/system.c
+++ /dev/null
@@ -1,10 +0,0 @@
-/* SCO has a bug where `waitpid' will never return if SIGCHLD is blocked.
- They have acknowledged that this is a bug but I have not seen nor heard
- of any forthcoming fix. */
-
-#define WAITPID_CANNOT_BLOCK_SIGCHLD
-
-/* SCO 3.2v4 does have `waitpid'.
- Avoid unix/system.c, which says we don't. */
-
-#include <sysdeps/posix/system.c>
diff --git a/sysdeps/unix/sysv/sco3.2.4/uname.S b/sysdeps/unix/sysv/sco3.2.4/uname.S
deleted file mode 100644
index bc61089d65..0000000000
--- a/sysdeps/unix/sysv/sco3.2.4/uname.S
+++ /dev/null
@@ -1,41 +0,0 @@
-/* Copyright (C) 1993, 1994, 1997 Free Software Foundation, Inc.
- Contributed by Scott Bartram.
- 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 Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 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
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
-
-#include <sysdep.h>
-
-/*
- before lcall, stack contents should be:
-
- 4(%esp) -> name
- 8(%esp) -> unspecified
- 12(%esp) -> 0
- */
-
-ENTRY (uname)
- pushl $0x0 /* Push the discriminator flag. */
- pushl $0x0 /* Push dummy placeholder. */
- pushl 12(%esp,1) /* Push NAME (ptr to struct utsname) */
- subl $0x4, %esp /* Adjust stack pointer. */
- DO_CALL (utssys, 3)
- jb error /* Test for error. */
- addl $0x10, %esp /* Adjust the stack pointer. */
- xorl %eax, %eax /* Clear return value. */
- ret
-error: addl $0x10, %esp /* Adjust the stack pointer. */
- jmp syscall_error
diff --git a/sysdeps/unix/sysv/sco3.2.4/waitpid.S b/sysdeps/unix/sysv/sco3.2.4/waitpid.S
deleted file mode 100644
index ccbc81274e..0000000000
--- a/sysdeps/unix/sysv/sco3.2.4/waitpid.S
+++ /dev/null
@@ -1,37 +0,0 @@
-/* Copyright (C) 1993,94,95,97,2002 Free Software 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 Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 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
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
-
-#include <sysdep.h>
-
-ENTRY (__waitpid)
- /* The `waitpid' system call is distinguished from plain
- `wait' by setting lots of bits in the processor flags. */
- pushfl /* Push the flags word. */
- popl %eax /* Pop it into the accumulator. */
- orl $0x8c4, %eax /* Set lots of bits. */
- pushl %eax /* Push the new flags word. */
- popfl /* Pop it into the flags. */
- DO_CALL (wait, 2)
- movl 8(%esp), scratch /* Put status pointer in scratch register. */
- testl scratch, scratch /* Is it non-nil? */
- je null
- movl r1, (scratch) /* Yes; store the status there. */
-null: ret
-
-libc_hidden_def (__waitpid)
-weak_alias (__waitpid, waitpid)