diff options
author | Roland McGrath <roland@gnu.org> | 2004-10-26 02:15:42 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2004-10-26 02:15:42 +0000 |
commit | 8f8bd267e9291c4a5a3625e81b8089fe5a6be902 (patch) | |
tree | 2983ec967c20a7072757c54cf229325ce9f9cd44 /sysdeps/unix/bsd/hp/m68k | |
parent | af5b614c7e4668f1804320f18743aa1a7db78d58 (diff) | |
download | glibc-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/bsd/hp/m68k')
-rw-r--r-- | sysdeps/unix/bsd/hp/m68k/brk.S | 46 | ||||
-rw-r--r-- | sysdeps/unix/bsd/hp/m68k/dl-brk.S | 1 | ||||
-rw-r--r-- | sysdeps/unix/bsd/hp/m68k/start.c | 10 | ||||
-rw-r--r-- | sysdeps/unix/bsd/hp/m68k/sysdep.h | 56 | ||||
-rw-r--r-- | sysdeps/unix/bsd/hp/m68k/vfork.S | 56 | ||||
-rw-r--r-- | sysdeps/unix/bsd/hp/m68k/wait3.S | 39 |
6 files changed, 0 insertions, 208 deletions
diff --git a/sysdeps/unix/bsd/hp/m68k/brk.S b/sysdeps/unix/bsd/hp/m68k/brk.S deleted file mode 100644 index 037d4d0d07..0000000000 --- a/sysdeps/unix/bsd/hp/m68k/brk.S +++ /dev/null @@ -1,46 +0,0 @@ -/* Copyright (C) 1991, 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> - -#ifndef SYS_brk -#define SYS_brk 17 -#endif - -#ifndef HAVE_GNU_LD -#define __end _end -#endif - -.data -.globl ___curbrk -___curbrk: - .long __end - -.text -ENTRY (__brk) - movel #__end, d0 - cmpl sp@(4), d0 - ble 0f - movel d0, sp@(4) -0: DO_CALL (#SYS_brk, 1) - movel sp@(4), ___curbrk - clrl d0 - rts -error: jmp syscall_error - -weak_alias (__brk, brk) diff --git a/sysdeps/unix/bsd/hp/m68k/dl-brk.S b/sysdeps/unix/bsd/hp/m68k/dl-brk.S deleted file mode 100644 index eeb96544e3..0000000000 --- a/sysdeps/unix/bsd/hp/m68k/dl-brk.S +++ /dev/null @@ -1 +0,0 @@ -#include <brk.S> diff --git a/sysdeps/unix/bsd/hp/m68k/start.c b/sysdeps/unix/bsd/hp/m68k/start.c deleted file mode 100644 index e04ca0632d..0000000000 --- a/sysdeps/unix/bsd/hp/m68k/start.c +++ /dev/null @@ -1,10 +0,0 @@ -/* hp300 4.3 BSD starts at 4, rather than 0, when the start address is 0. - Go figure. */ -asm(".globl __start"); -asm("__start: .long 0"); - -#define _start __start0 - -#define DUMMIES dummy0 - -#include <sysdeps/unix/start.c> diff --git a/sysdeps/unix/bsd/hp/m68k/sysdep.h b/sysdeps/unix/bsd/hp/m68k/sysdep.h deleted file mode 100644 index 75aee674f5..0000000000 --- a/sysdeps/unix/bsd/hp/m68k/sysdep.h +++ /dev/null @@ -1,56 +0,0 @@ -/* Copyright (C) 1991, 92, 93, 94, 95, 97 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. */ - -/* This code wants to be run through m4. */ - -#include <sysdeps/unix/sysdep.h> - -#ifdef __ASSEMBLER__ - -#define POUND # - -#ifdef __STDC__ -#define ENTRY(name) \ - .globl _##name; \ - .even; \ - _##name##: -#else -#define ENTRY(name) \ - .globl _/**/name; \ - .even; \ - _/**/name/**/: -#endif - -#define PSEUDO(name, syscall_name, args) \ - .even; \ - .globl syscall_error; \ - error: jmp syscall_error; \ - ENTRY (name) \ - DO_CALL (POUND SYS_ify (syscall_name), args) - -#define DO_CALL(syscall, args) \ - movel syscall, d0; \ - trap POUND 0; \ - bcs error - -#define ret rts -#define r0 d0 -#define r1 d1 -#define MOVE(x,y) movel x , y - -#endif /* __ASSEMBLER__ */ diff --git a/sysdeps/unix/bsd/hp/m68k/vfork.S b/sysdeps/unix/bsd/hp/m68k/vfork.S deleted file mode 100644 index abcc1c3389..0000000000 --- a/sysdeps/unix/bsd/hp/m68k/vfork.S +++ /dev/null @@ -1,56 +0,0 @@ -/* Copyright (C) 1991, 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> - -#ifndef SYS_vfork -#define SYS_vfork 66 -#endif - -/* Clone the calling process, but without copying the whole address space. - The calling process is suspended until the new process exits or is - replaced by a call to `execve'. Return -1 for errors, 0 to the new process, - and the process ID of the new process to the old process. */ -.globl ___vfork -___vfork: - /* Pop the return PC value into A0. */ - moveal sp@+, a0 - - /* Stuff the syscall number in D0 and trap into the kernel. */ - movel #SYS_vfork, d0 - trap #0 - bcs error /* Branch forward if it failed. */ - - /* It succeeded. See which fork we're in. D1 is now 0 for the - parent and 1 for the child. Decrement it to make it -1 (all - bits set) for the parent, and 0 (no bits set) for the child. - Then AND it with D0, so the parent gets D0&-1==R0, and the child - gets D0&0==0. */ - subl #1, d1 - andl d1, d0 - - /* Jump to the return PC. */ - jmp a0@ - -error: - movel d0, _errno - moveq #-1, d0 - jmp a0@ -libc_hidden_def (__vfork) - -weak_alias (__vfork, vfork) diff --git a/sysdeps/unix/bsd/hp/m68k/wait3.S b/sysdeps/unix/bsd/hp/m68k/wait3.S deleted file mode 100644 index 5b63191827..0000000000 --- a/sysdeps/unix/bsd/hp/m68k/wait3.S +++ /dev/null @@ -1,39 +0,0 @@ -/* Copyright (C) 1991, 1992, 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> - -ENTRY(__wait3) - movel sp@(8), d1 - moveal sp@(12), a0 - movel #SYS_wait, d0 - /* Set all condition codes to tell the kernel this is wait3. */ - movew #31, ccr - trap #0 - bcs error - - tstl sp@(4) - beq 1f - moveal sp@(4), a0 - movel d1, a0@ -1: rts - -.globl syscall_error -error: jmp syscall_error - -weak_alias (__wait3, wait3) |