From e667dcee383d4b1e6416bcce7d0b72e9ce340630 Mon Sep 17 00:00:00 2001 From: Brendan Kehoe Date: Fri, 10 Mar 1995 01:22:34 +0000 Subject: [PATCH] moved to ../osf --- sysdeps/unix/bsd/Attic/osf1/alpha/brk.S | 53 ------------------ sysdeps/unix/bsd/Attic/osf1/alpha/fork.S | 25 --------- sysdeps/unix/bsd/Attic/osf1/alpha/getdents.S | 25 --------- sysdeps/unix/bsd/Attic/osf1/alpha/killpg.S | 25 --------- sysdeps/unix/bsd/Attic/osf1/alpha/pipe.S | 30 ----------- sysdeps/unix/bsd/Attic/osf1/alpha/recv.S | 25 --------- sysdeps/unix/bsd/Attic/osf1/alpha/send.S | 25 --------- sysdeps/unix/bsd/Attic/osf1/alpha/sigblock.S | 27 ---------- sysdeps/unix/bsd/Attic/osf1/alpha/sigpause.S | 27 ---------- sysdeps/unix/bsd/Attic/osf1/alpha/sigsetmask.S | 27 ---------- sysdeps/unix/bsd/Attic/osf1/alpha/sigvec.S | 27 ---------- sysdeps/unix/bsd/Attic/osf1/alpha/start.S | 65 ---------------------- sysdeps/unix/bsd/Attic/osf1/alpha/statbuf.h | 75 -------------------------- sysdeps/unix/bsd/Attic/osf1/alpha/sysdep.S | 40 -------------- sysdeps/unix/bsd/Attic/osf1/alpha/sysdep.h | 73 ------------------------- sysdeps/unix/bsd/Attic/osf1/alpha/vhangup.S | 25 --------- sysdeps/unix/bsd/Attic/osf1/alpha/wait4.S | 1 - sysdeps/unix/bsd/Attic/osf1/alpha/waitpid.c | 1 - 18 files changed, 596 deletions(-) delete mode 100644 sysdeps/unix/bsd/Attic/osf1/alpha/brk.S delete mode 100644 sysdeps/unix/bsd/Attic/osf1/alpha/fork.S delete mode 100644 sysdeps/unix/bsd/Attic/osf1/alpha/getdents.S delete mode 100644 sysdeps/unix/bsd/Attic/osf1/alpha/killpg.S delete mode 100644 sysdeps/unix/bsd/Attic/osf1/alpha/pipe.S delete mode 100644 sysdeps/unix/bsd/Attic/osf1/alpha/recv.S delete mode 100644 sysdeps/unix/bsd/Attic/osf1/alpha/send.S delete mode 100644 sysdeps/unix/bsd/Attic/osf1/alpha/sigblock.S delete mode 100644 sysdeps/unix/bsd/Attic/osf1/alpha/sigpause.S delete mode 100644 sysdeps/unix/bsd/Attic/osf1/alpha/sigsetmask.S delete mode 100644 sysdeps/unix/bsd/Attic/osf1/alpha/sigvec.S delete mode 100644 sysdeps/unix/bsd/Attic/osf1/alpha/start.S delete mode 100644 sysdeps/unix/bsd/Attic/osf1/alpha/statbuf.h delete mode 100644 sysdeps/unix/bsd/Attic/osf1/alpha/sysdep.S delete mode 100644 sysdeps/unix/bsd/Attic/osf1/alpha/sysdep.h delete mode 100644 sysdeps/unix/bsd/Attic/osf1/alpha/vhangup.S delete mode 100644 sysdeps/unix/bsd/Attic/osf1/alpha/wait4.S delete mode 100644 sysdeps/unix/bsd/Attic/osf1/alpha/waitpid.c diff --git a/sysdeps/unix/bsd/Attic/osf1/alpha/brk.S b/sysdeps/unix/bsd/Attic/osf1/alpha/brk.S deleted file mode 100644 index 111f339..0000000 --- a/sysdeps/unix/bsd/Attic/osf1/alpha/brk.S +++ /dev/null @@ -1,53 +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 - -#ifndef SYS_brk -#define SYS_brk 17 -#endif - -#ifndef HAVE_GNU_LD -#define __end end -#endif - -.data - .extern __end,8 - .globl __curbrk -__curbrk: - .quad __end - -.text -ENTRY(__brk) - ! FIXME We do not check for asking for less than a page yet. - ldiq v0, SYS_brk - call_pal PAL_callsys - bne a3, error - - /* Update __curbrk and exit cleanly. */ -! ldgp gp, 0(t12) - stl a0, __curbrk - - mov zero, v0 - ret - /* What a horrible way to die. */ -error: ldgp gp,0(gp) - jmp zero,syscall_error - .end __brk - -weak_alias (__brk, brk) diff --git a/sysdeps/unix/bsd/Attic/osf1/alpha/fork.S b/sysdeps/unix/bsd/Attic/osf1/alpha/fork.S deleted file mode 100644 index 7c8d671..0000000 --- a/sysdeps/unix/bsd/Attic/osf1/alpha/fork.S +++ /dev/null @@ -1,25 +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 - -SYSCALL__ (fork, 0) - cmovne a4, 0, v0 - ret - -weak_alias (__fork, fork) diff --git a/sysdeps/unix/bsd/Attic/osf1/alpha/getdents.S b/sysdeps/unix/bsd/Attic/osf1/alpha/getdents.S deleted file mode 100644 index 16ccbc2..0000000 --- a/sysdeps/unix/bsd/Attic/osf1/alpha/getdents.S +++ /dev/null @@ -1,25 +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 - -SYSCALL__ (getdirentries, 4) - ret - -weak_alias (__getdirentries, getdirentries) - diff --git a/sysdeps/unix/bsd/Attic/osf1/alpha/killpg.S b/sysdeps/unix/bsd/Attic/osf1/alpha/killpg.S deleted file mode 100644 index f0b82b3..0000000 --- a/sysdeps/unix/bsd/Attic/osf1/alpha/killpg.S +++ /dev/null @@ -1,25 +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 - -#include -#define SYS_killpg SYS_ult_killpg - -SYSCALL (killpg, 2) - ret diff --git a/sysdeps/unix/bsd/Attic/osf1/alpha/pipe.S b/sysdeps/unix/bsd/Attic/osf1/alpha/pipe.S deleted file mode 100644 index 6b074ed..0000000 --- a/sysdeps/unix/bsd/Attic/osf1/alpha/pipe.S +++ /dev/null @@ -1,30 +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 - -SYSCALL__ (pipe, 1) - /* Plop in the two descriptors. */ - stl r0, 0(a0) - stl r1, 4(a0) - - /* Go out with a clean status. */ - mov zero, r0 - ret - -weak_alias (__pipe, pipe) diff --git a/sysdeps/unix/bsd/Attic/osf1/alpha/recv.S b/sysdeps/unix/bsd/Attic/osf1/alpha/recv.S deleted file mode 100644 index 4ac00eb..0000000 --- a/sysdeps/unix/bsd/Attic/osf1/alpha/recv.S +++ /dev/null @@ -1,25 +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 - -#include -#define SYS_recv SYS_ult_recv - -SYSCALL (recv, 4) - ret diff --git a/sysdeps/unix/bsd/Attic/osf1/alpha/send.S b/sysdeps/unix/bsd/Attic/osf1/alpha/send.S deleted file mode 100644 index ca46894..0000000 --- a/sysdeps/unix/bsd/Attic/osf1/alpha/send.S +++ /dev/null @@ -1,25 +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 - -#include -#define SYS_send SYS_ult_send - -SYSCALL (send, 4) - ret diff --git a/sysdeps/unix/bsd/Attic/osf1/alpha/sigblock.S b/sysdeps/unix/bsd/Attic/osf1/alpha/sigblock.S deleted file mode 100644 index c3556a9..0000000 --- a/sysdeps/unix/bsd/Attic/osf1/alpha/sigblock.S +++ /dev/null @@ -1,27 +0,0 @@ -/* Copyright (C) 1994, 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 - -#include -#define SYS_sigblock SYS_ult_sigblock - -SYSCALL__ (sigblock, 1) - ret - -weak_alias (__sigblock, sigblock) diff --git a/sysdeps/unix/bsd/Attic/osf1/alpha/sigpause.S b/sysdeps/unix/bsd/Attic/osf1/alpha/sigpause.S deleted file mode 100644 index 04b6d45..0000000 --- a/sysdeps/unix/bsd/Attic/osf1/alpha/sigpause.S +++ /dev/null @@ -1,27 +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 - -#include -#define SYS_sigpause SYS_ult_sigpause - -SYSCALL__ (sigpause, 1) - ret - -weak_alias (__sigpause, sigpause) diff --git a/sysdeps/unix/bsd/Attic/osf1/alpha/sigsetmask.S b/sysdeps/unix/bsd/Attic/osf1/alpha/sigsetmask.S deleted file mode 100644 index fb3a1d1..0000000 --- a/sysdeps/unix/bsd/Attic/osf1/alpha/sigsetmask.S +++ /dev/null @@ -1,27 +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 - -#include -#define SYS_sigsetmask SYS_ult_sigsetmask - -SYSCALL__ (sigsetmask, 1) - ret - -weak_alias (__sigsetmask, sigsetmask) diff --git a/sysdeps/unix/bsd/Attic/osf1/alpha/sigvec.S b/sysdeps/unix/bsd/Attic/osf1/alpha/sigvec.S deleted file mode 100644 index b04ec6e..0000000 --- a/sysdeps/unix/bsd/Attic/osf1/alpha/sigvec.S +++ /dev/null @@ -1,27 +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 - -#include -#define SYS_sigvec SYS_ult_sigvec - -SYSCALL__ (sigvec, 3) - ret - -weak_alias (__sigvec, sigvec) diff --git a/sysdeps/unix/bsd/Attic/osf1/alpha/start.S b/sysdeps/unix/bsd/Attic/osf1/alpha/start.S deleted file mode 100644 index 52eb036..0000000 --- a/sysdeps/unix/bsd/Attic/osf1/alpha/start.S +++ /dev/null @@ -1,65 +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 - -.comm errno, 4 - -!.sdata -!.globl STARTFRM -!STARTFRM = 0 - -.text -ENTRY(__start) - lda sp, -16(sp) - stq zero, 8(sp) - - ! This branch puts the address of the current insn in t0. - br t0, 10f -10: - ! We set the GP register by using the address of the ldgp - ! (what we just put into t0). - ldgp gp, 0(t0) - - ! get argc - ldl a0, 16(sp) - - ! get argv - lda a1, 24(sp) - - ! move ahead to envp - s8addq a0, a1, a2 - addq a2, 0x8, a2 - - ! Store in environ. - stq a2, environ - - ! Clear out errno. -! ldgp gp, 0(t12) - stl zero, errno - - ! Call main. - jsr ra, main - ldgp gp, 0(ra) - - mov v0, a0 - - jsr ra, exit - ldgp gp, 0(ra) - - .end __start diff --git a/sysdeps/unix/bsd/Attic/osf1/alpha/statbuf.h b/sysdeps/unix/bsd/Attic/osf1/alpha/statbuf.h deleted file mode 100644 index 9cadfae..0000000 --- a/sysdeps/unix/bsd/Attic/osf1/alpha/statbuf.h +++ /dev/null @@ -1,75 +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. */ - -#ifndef _STATBUF_H -#define _STATBUF_H - -#include - -/* Structure describing file characteristics. */ -struct stat - { - int st_dev; /* Device. */ - unsigned int st_ino; /* File serial number. */ - unsigned int st_mode; /* File mode. */ - unsigned short st_nlink; /* Link count. */ - unsigned int st_uid; /* User ID of the file's owner. */ - unsigned int st_gid; /* Group ID of the file's group.*/ - int st_rdev; /* Device number, if device. */ - - long st_size; /* Size of file, in bytes. */ - - int st_atime; /* Time of last access. */ - int st_atime_usec; - int st_mtime; /* Time of last modification. */ - int st_mtime_usec; - int st_ctime; /* Time of last status change. */ - int st_ctime_usec; - - unsigned int st_blksize; /* Optimal block size for I/O. */ -#define _STATBUF_ST_BLKSIZE /* Tell code we have this member. */ - - int st_blocks; /* Number of 512-byte blocks allocated. */ - unsigned int st_flags; - unsigned int st_gen; - }; - -/* Encoding of the file mode. */ - -#define __S_IFMT 0170000 /* These bits determine file type. */ - -/* File types. */ -#define __S_IFDIR 0040000 /* Directory. */ -#define __S_IFCHR 0020000 /* Character device. */ -#define __S_IFBLK 0060000 /* Block device. */ -#define __S_IFREG 0100000 /* Regular file. */ -#define __S_IFIFO 0010000 /* FIFO. */ - -#define __S_IFLNK 0120000 /* Symbolic link. */ -#define __S_IFSOCK 0140000 /* Socket. */ - -/* Protection bits. */ - -#define __S_ISUID 04000 /* Set user ID on execution. */ -#define __S_ISGID 02000 /* Set group ID on execution. */ -#define __S_ISVTX 01000 /* Save swapped text after use (sticky). */ -#define __S_IREAD 0400 /* Read by owner. */ -#define __S_IWRITE 0200 /* Write by owner. */ -#define __S_IEXEC 0100 /* Execute by owner. */ - -#endif /* statbuf.h */ diff --git a/sysdeps/unix/bsd/Attic/osf1/alpha/sysdep.S b/sysdeps/unix/bsd/Attic/osf1/alpha/sysdep.S deleted file mode 100644 index bc4865c..0000000 --- a/sysdeps/unix/bsd/Attic/osf1/alpha/sysdep.S +++ /dev/null @@ -1,40 +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 -#define _ERRNO_H -#include - -ENTRY(syscall_error) -#ifdef EWOULDBLOCK_sys - /* We translate the system's EWOULDBLOCK error into EAGAIN. - The GNU C library always defines EWOULDBLOCK==EAGAIN. - EWOULDBLOCK_sys is the original number. */ - subq v0, EWOULDBLOCK_sys, t0 - cmoveq t0, EAGAIN, v0 -#endif - - /* Store it in errno... */ -! ldgp gp, 0(t12) - stl v0, errno - - /* And just kick back a -1. */ - ldil v0, -1 - ret - - .end syscall_error diff --git a/sysdeps/unix/bsd/Attic/osf1/alpha/sysdep.h b/sysdeps/unix/bsd/Attic/osf1/alpha/sysdep.h deleted file mode 100644 index 3669a69..0000000 --- a/sysdeps/unix/bsd/Attic/osf1/alpha/sysdep.h +++ /dev/null @@ -1,73 +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 - -#ifdef ASSEMBLER - -#include /* get PAL_callsys */ -#include - -#ifdef __STDC__ -#define ENTRY(name) \ - .globl name; \ - .ent name,0; \ - name##:; \ - .frame sp,0,ra -#else -#define ENTRY(name) \ - .globl name; \ - .ent name,0; \ - name/**/:; \ - .frame sp,0,ra -#endif - -#ifdef __STDC__ -#define PSEUDO(name, syscall_name, args) \ - ENTRY(name); \ - ldiq v0, SYS_##syscall_name; \ - .set noat; \ - call_pal PAL_callsys; \ - .set at; \ - beq a3, 10f; \ - br gp, 20f; \ -20:; \ - ldgp gp, 0(gp); \ - jmp zero, syscall_error; \ -10: -#else -#define PSEUDO(name, syscall_name, args) \ - ENTRY(name); \ - ldiq v0, SYS_/**/syscall_name; \ - .set noat; \ - call_pal PAL_callsys; \ - .set at; \ - beq a3, 10f; \ - br gp, 20f; \ -20:; \ - ldgp gp, 0(gp); \ - jmp zero, syscall_error; \ -10: -#endif - -#define ret ret zero,(ra),1 -#define r0 v0 -#define r1 a4 -#define MOVE(x,y) mov x, y - -#endif /* ASSEMBLER */ diff --git a/sysdeps/unix/bsd/Attic/osf1/alpha/vhangup.S b/sysdeps/unix/bsd/Attic/osf1/alpha/vhangup.S deleted file mode 100644 index d4d2b1c..0000000 --- a/sysdeps/unix/bsd/Attic/osf1/alpha/vhangup.S +++ /dev/null @@ -1,25 +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 - -#include -#define SYS_vhangup SYS_ult_vhangup - -SYSCALL (vhangup, 1) - ret diff --git a/sysdeps/unix/bsd/Attic/osf1/alpha/wait4.S b/sysdeps/unix/bsd/Attic/osf1/alpha/wait4.S deleted file mode 100644 index e4c3223..0000000 --- a/sysdeps/unix/bsd/Attic/osf1/alpha/wait4.S +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/sysdeps/unix/bsd/Attic/osf1/alpha/waitpid.c b/sysdeps/unix/bsd/Attic/osf1/alpha/waitpid.c deleted file mode 100644 index 8378982..0000000 --- a/sysdeps/unix/bsd/Attic/osf1/alpha/waitpid.c +++ /dev/null @@ -1 +0,0 @@ -#include -- 2.7.4