diff options
author | David Schleef <ds@schleef.org> | 2001-11-26 09:19:30 +0000 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2001-11-26 09:19:30 +0000 |
commit | e4cfe3fb823dc44c0e3e884e53d1ae7c05ae7416 (patch) | |
tree | 7ce9d1c188f48f13d57df2be1a681ce1b4e08204 /libc/sysdeps/linux/powerpc/vfork.S | |
parent | b76b3fcd18d8c7e0ed25cccc355f6f0192c1e83b (diff) |
Rewrite vfork() as C, should now work. Changed longjmp.S and setjmp.S
to use GCC's internal ppc-asm.h, and added macro to disable FP save/
restore in longjmp and setjmp. Fixed name of _setjmp() (was __setjmp).
Fixed _setjmp to be PIC.
Diffstat (limited to 'libc/sysdeps/linux/powerpc/vfork.S')
-rw-r--r-- | libc/sysdeps/linux/powerpc/vfork.S | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/libc/sysdeps/linux/powerpc/vfork.S b/libc/sysdeps/linux/powerpc/vfork.S deleted file mode 100644 index 842bad1a7..000000000 --- a/libc/sysdeps/linux/powerpc/vfork.S +++ /dev/null @@ -1,41 +0,0 @@ -/* - * uC-libc/sysdeps/linux/powerpc/vfork.S - * vfork implementation for powerpc - * - * Copyright (C) 2001 by Lineo, Inc. - * Author: David A. Schleef <ds@schleef.org> - * - * This program 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. - * - * This program 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 this program; if not, write to the Free Software Foundation, - * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - */ - -#include "ppc_asm.h" - -#define _SETJMP_H -#define _ASM -#include <bits/setjmp.h> - - -.global vfork; -.align 4; - -vfork: - /* XXX not implemented */ - - /* return -1 */ - li r3,-1 - blr - -.size vfork,.-vfork; |