diff options
-rw-r--r-- | lib/libc/arch/ia64/sys/Ovfork.S | 3 | ||||
-rw-r--r-- | lib/libc/arch/ia64/sys/__clone.S | 3 | ||||
-rw-r--r-- | lib/libc/arch/ia64/sys/__sigaction14_sigtramp.c | 74 | ||||
-rw-r--r-- | lib/libc/arch/ia64/sys/__sigtramp2.S | 12 | ||||
-rw-r--r-- | lib/libc/arch/ia64/sys/__syscall.S | 7 | ||||
-rw-r--r-- | lib/libc/arch/ia64/sys/__vfork14.S | 8 | ||||
-rw-r--r-- | lib/libc/arch/ia64/sys/brk.S | 3 | ||||
-rw-r--r-- | lib/libc/arch/ia64/sys/cerror.S | 3 | ||||
-rw-r--r-- | lib/libc/arch/ia64/sys/exect.S | 4 | ||||
-rw-r--r-- | lib/libc/arch/ia64/sys/fork.S | 3 | ||||
-rw-r--r-- | lib/libc/arch/ia64/sys/getcontext.S | 4 | ||||
-rw-r--r-- | lib/libc/arch/ia64/sys/pipe.S | 3 | ||||
-rw-r--r-- | lib/libc/arch/ia64/sys/ptrace.S | 4 | ||||
-rw-r--r-- | lib/libc/arch/ia64/sys/rfork.S | 3 | ||||
-rw-r--r-- | lib/libc/arch/ia64/sys/sbrk.S | 3 | ||||
-rw-r--r-- | lib/libc/arch/ia64/sys/shmat.S | 4 | ||||
-rw-r--r-- | lib/libc/arch/ia64/sys/sigpending.S | 1 | ||||
-rw-r--r-- | lib/libc/arch/ia64/sys/sigprocmask.S | 1 | ||||
-rw-r--r-- | lib/libc/arch/ia64/sys/sigreturn.S | 1 | ||||
-rw-r--r-- | lib/libc/arch/ia64/sys/sigsuspend.S | 1 | ||||
-rw-r--r-- | lib/libc/arch/ia64/sys/syscall.S | 1 |
21 files changed, 26 insertions, 120 deletions
diff --git a/lib/libc/arch/ia64/sys/Ovfork.S b/lib/libc/arch/ia64/sys/Ovfork.S new file mode 100644 index 00000000000..936073982cb --- /dev/null +++ b/lib/libc/arch/ia64/sys/Ovfork.S @@ -0,0 +1,3 @@ +/* $OpenBSD: Ovfork.S,v 1.1 2011/07/05 03:26:18 pirofti Exp $ */ + +/* XXX: Stub */ diff --git a/lib/libc/arch/ia64/sys/__clone.S b/lib/libc/arch/ia64/sys/__clone.S deleted file mode 100644 index a62702e144b..00000000000 --- a/lib/libc/arch/ia64/sys/__clone.S +++ /dev/null @@ -1,3 +0,0 @@ -/* $NetBSD: __clone.S,v 1.1 2006/09/10 21:22:34 cherry Exp $ */ - -/* XXX: Stub */
\ No newline at end of file diff --git a/lib/libc/arch/ia64/sys/__sigaction14_sigtramp.c b/lib/libc/arch/ia64/sys/__sigaction14_sigtramp.c deleted file mode 100644 index 77451d093d2..00000000000 --- a/lib/libc/arch/ia64/sys/__sigaction14_sigtramp.c +++ /dev/null @@ -1,74 +0,0 @@ -/* $NetBSD: __sigaction14_sigtramp.c,v 1.2 2008/04/28 20:22:56 martin Exp $ */ - -/*- - * Copyright (c) 2002 The NetBSD Foundation, Inc. - * All rights reserved. - * - * This code is derived from software contributed to The NetBSD Foundation - * by Jason R. Thorpe. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED - * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS - * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ - -#include <sys/types.h> -#include <stddef.h> -#include <signal.h> -#include <errno.h> - -#include "extern.h" - -__weak_alias(__sigaction14, __libc_sigaction14) - -int -__libc_sigaction14(int sig, const struct sigaction *act, struct sigaction *oact) -{ - extern const int __sigtramp_siginfo_2[]; - - /* - * If no sigaction, use the "default" trampoline since it won't - * be used. - */ - if (act == NULL) - return __sigaction_sigtramp(sig, act, oact, NULL, 0); - -#ifdef __LIBC12_SOURCE__ - /* - * We select the non-SA_SIGINFO trampoline if SA_SIGINFO is not - * set in the sigaction. - */ - if ((act->sa_flags & SA_SIGINFO) == 0) { - extern const int __sigtramp_sigcontext_1[]; - int sav = errno; - int rv = __sigaction_sigtramp(sig, act, oact, - __sigtramp_sigcontext_1, 1); - if (rv >= 0 || errno != EINVAL) - return rv; - errno = sav; - } -#endif - - /* - * If SA_SIGINFO was specified or the compatibility trampolines - * can't be used, use the siginfo trampoline. - */ - return __sigaction_sigtramp(sig, act, oact, __sigtramp_siginfo_2, 2); -} diff --git a/lib/libc/arch/ia64/sys/__sigtramp2.S b/lib/libc/arch/ia64/sys/__sigtramp2.S deleted file mode 100644 index a305ed4ffdd..00000000000 --- a/lib/libc/arch/ia64/sys/__sigtramp2.S +++ /dev/null @@ -1,12 +0,0 @@ -/* $NetBSD: __sigtramp2.S,v 1.1 2006/09/23 17:39:34 cherry Exp $ */ - -#include "SYS.h" - -/* XXX: Fix this when we look at signal handling */ - -ENTRY(__sigtramp_siginfo_2, 2) - /* XXX: get pointer to ucontext */ - /* setcontext() ie. CALLSYS_NOERROR(setcontext) */ - /* get error code */ - CALLSYS_NOERROR(exit) /* exit */ -END(__sigtramp_siginfo_2)
\ No newline at end of file diff --git a/lib/libc/arch/ia64/sys/__syscall.S b/lib/libc/arch/ia64/sys/__syscall.S deleted file mode 100644 index e3312dbea7e..00000000000 --- a/lib/libc/arch/ia64/sys/__syscall.S +++ /dev/null @@ -1,7 +0,0 @@ -/* $NetBSD: __syscall.S,v 1.2 2006/09/22 12:09:25 cherry Exp $ */ - -#include "SYS.h" - - -RSYSCALL(__syscall) - diff --git a/lib/libc/arch/ia64/sys/__vfork14.S b/lib/libc/arch/ia64/sys/__vfork14.S deleted file mode 100644 index 324396f02f5..00000000000 --- a/lib/libc/arch/ia64/sys/__vfork14.S +++ /dev/null @@ -1,8 +0,0 @@ -/* $NetBSD: __vfork14.S,v 1.2 2006/09/22 17:59:47 cherry Exp $ */ - -#include "SYS.h" - -SYSCALL(__vfork14) - /* XXX: watchout for return values for child/parent */ - RET -END(__vfork14) diff --git a/lib/libc/arch/ia64/sys/brk.S b/lib/libc/arch/ia64/sys/brk.S index 8be7e907fc5..671cde909e1 100644 --- a/lib/libc/arch/ia64/sys/brk.S +++ b/lib/libc/arch/ia64/sys/brk.S @@ -1,3 +1,4 @@ +/* $OpenBSD: brk.S,v 1.2 2011/07/05 03:26:18 pirofti Exp $ */ /* $NetBSD: brk.S,v 1.2 2006/09/23 17:39:34 cherry Exp $ */ /* @@ -28,7 +29,7 @@ */ #include <machine/asm.h> -/* __FBSDID("$FreeBSD: src/lib/libc/ia64/sys/brk.S,v 1.4 2003/05/16 21:26:39 marcel Exp $"); */ +/* $FreeBSD: brk.S,v 1.4 2003/05/16 21:26:39 marcel Exp $ */ #include "SYS.h" diff --git a/lib/libc/arch/ia64/sys/cerror.S b/lib/libc/arch/ia64/sys/cerror.S index 7698241043c..3cad9d350eb 100644 --- a/lib/libc/arch/ia64/sys/cerror.S +++ b/lib/libc/arch/ia64/sys/cerror.S @@ -1,3 +1,4 @@ +/* $OpenBSD: cerror.S,v 1.2 2011/07/05 03:26:18 pirofti Exp $ */ /* $NetBSD: cerror.S,v 1.2 2006/09/22 17:59:47 cherry Exp $ */ /*- @@ -27,7 +28,7 @@ */ #include <machine/asm.h> -/* __FBSDID("$FreeBSD: src/lib/libc/ia64/sys/cerror.S,v 1.2 2003/03/03 01:09:46 obrien Exp $"); */ +/* $FreeBSD: cerror.S,v 1.2 2003/03/03 01:09:46 obrien Exp $ */ ENTRY(__cerror, 0) diff --git a/lib/libc/arch/ia64/sys/exect.S b/lib/libc/arch/ia64/sys/exect.S index 5a78ec0eb86..145c778f887 100644 --- a/lib/libc/arch/ia64/sys/exect.S +++ b/lib/libc/arch/ia64/sys/exect.S @@ -1,3 +1 @@ -/* $NetBSD: exect.S,v 1.1 2006/09/10 21:22:34 cherry Exp $ */ - -/* XXX: Stub */
\ No newline at end of file +/* $OpenBSD: exect.S,v 1.2 2011/07/05 03:26:18 pirofti Exp $ */ diff --git a/lib/libc/arch/ia64/sys/fork.S b/lib/libc/arch/ia64/sys/fork.S index c0df388ee44..a83f66bc3b2 100644 --- a/lib/libc/arch/ia64/sys/fork.S +++ b/lib/libc/arch/ia64/sys/fork.S @@ -1,3 +1,4 @@ +/* $OpenBSD: fork.S,v 1.2 2011/07/05 03:26:18 pirofti Exp $ */ /* $NetBSD: fork.S,v 1.2 2006/09/23 17:39:34 cherry Exp $ */ #include "SYS.h" @@ -6,4 +7,4 @@ ENTRY(__fork, 0) CALLSYS_ERROR(fork) /* XXX: get return value for child */ RET -END(__fork)
\ No newline at end of file +END(__fork) diff --git a/lib/libc/arch/ia64/sys/getcontext.S b/lib/libc/arch/ia64/sys/getcontext.S index ea491ab9027..80506bc5c8a 100644 --- a/lib/libc/arch/ia64/sys/getcontext.S +++ b/lib/libc/arch/ia64/sys/getcontext.S @@ -1,3 +1 @@ -/* $NetBSD: getcontext.S,v 1.1 2006/09/10 21:22:34 cherry Exp $ */ - -/* XXX: Stub */
\ No newline at end of file +/* $OpenBSD: getcontext.S,v 1.2 2011/07/05 03:26:18 pirofti Exp $ */ diff --git a/lib/libc/arch/ia64/sys/pipe.S b/lib/libc/arch/ia64/sys/pipe.S index e545e5a509c..da701a0529b 100644 --- a/lib/libc/arch/ia64/sys/pipe.S +++ b/lib/libc/arch/ia64/sys/pipe.S @@ -1,3 +1,4 @@ +/* $OpenBSD: pipe.S,v 1.2 2011/07/05 03:26:18 pirofti Exp $ */ /* $NetBSD: pipe.S,v 1.2 2006/09/23 17:39:34 cherry Exp $ */ /* @@ -28,7 +29,7 @@ */ #include <machine/asm.h> -/* __FBSDID("$FreeBSD: src/lib/libc/ia64/sys/pipe.S,v 1.4 2003/05/16 21:26:39 marcel Exp $"); */ +/* $FreeBSD: pipe.S,v 1.4 2003/05/16 21:26:39 marcel Exp $ */ #include "SYS.h" diff --git a/lib/libc/arch/ia64/sys/ptrace.S b/lib/libc/arch/ia64/sys/ptrace.S index bea78b23aef..90b1e6699b4 100644 --- a/lib/libc/arch/ia64/sys/ptrace.S +++ b/lib/libc/arch/ia64/sys/ptrace.S @@ -1,3 +1 @@ -/* $NetBSD: ptrace.S,v 1.1 2006/09/10 21:22:34 cherry Exp $ */ - -/* XXX: Stub */
\ No newline at end of file +/* $OpenBSD: ptrace.S,v 1.2 2011/07/05 03:26:18 pirofti Exp $ */ diff --git a/lib/libc/arch/ia64/sys/rfork.S b/lib/libc/arch/ia64/sys/rfork.S new file mode 100644 index 00000000000..46c51a8c0cb --- /dev/null +++ b/lib/libc/arch/ia64/sys/rfork.S @@ -0,0 +1,3 @@ +/* $OpenBSD: rfork.S,v 1.1 2011/07/05 03:26:18 pirofti Exp $ */ + +/* XXX: Stub */ diff --git a/lib/libc/arch/ia64/sys/sbrk.S b/lib/libc/arch/ia64/sys/sbrk.S index 2340e2fa4f7..e312c8420b6 100644 --- a/lib/libc/arch/ia64/sys/sbrk.S +++ b/lib/libc/arch/ia64/sys/sbrk.S @@ -1,3 +1,4 @@ +/* $OpenBSD: sbrk.S,v 1.2 2011/07/05 03:26:18 pirofti Exp $ */ /* $NetBSD: sbrk.S,v 1.2 2006/09/23 17:39:34 cherry Exp $ */ /* @@ -28,7 +29,7 @@ */ #include <machine/asm.h> -/* __FBSDID("$FreeBSD: src/lib/libc/ia64/sys/sbrk.S,v 1.5 2003/05/16 21:26:39 marcel Exp $"); */ +/* $FreeBSD: sbrk.S,v 1.5 2003/05/16 21:26:39 marcel Exp $*/ #include "SYS.h" diff --git a/lib/libc/arch/ia64/sys/shmat.S b/lib/libc/arch/ia64/sys/shmat.S index cacc700934a..2b80f9b7e6c 100644 --- a/lib/libc/arch/ia64/sys/shmat.S +++ b/lib/libc/arch/ia64/sys/shmat.S @@ -1,3 +1,3 @@ -/* $NetBSD: shmat.S,v 1.1 2006/09/10 21:22:34 cherry Exp $ */ +/* $OpenBSD: shmat.S,v 1.2 2011/07/05 03:26:18 pirofti Exp $ */ -/* XXX: Stub */
\ No newline at end of file +/* XXX: Stub */ diff --git a/lib/libc/arch/ia64/sys/sigpending.S b/lib/libc/arch/ia64/sys/sigpending.S new file mode 100644 index 00000000000..64db9124072 --- /dev/null +++ b/lib/libc/arch/ia64/sys/sigpending.S @@ -0,0 +1 @@ +/* $OpenBSD: sigpending.S,v 1.1 2011/07/05 03:26:18 pirofti Exp $ */ diff --git a/lib/libc/arch/ia64/sys/sigprocmask.S b/lib/libc/arch/ia64/sys/sigprocmask.S new file mode 100644 index 00000000000..52197b72c7a --- /dev/null +++ b/lib/libc/arch/ia64/sys/sigprocmask.S @@ -0,0 +1 @@ +/* $OpenBSD: sigprocmask.S,v 1.1 2011/07/05 03:26:18 pirofti Exp $ */ diff --git a/lib/libc/arch/ia64/sys/sigreturn.S b/lib/libc/arch/ia64/sys/sigreturn.S new file mode 100644 index 00000000000..ab821f81e8e --- /dev/null +++ b/lib/libc/arch/ia64/sys/sigreturn.S @@ -0,0 +1 @@ +/* $OpenBSD: sigreturn.S,v 1.1 2011/07/05 03:26:18 pirofti Exp $ */ diff --git a/lib/libc/arch/ia64/sys/sigsuspend.S b/lib/libc/arch/ia64/sys/sigsuspend.S new file mode 100644 index 00000000000..ae63b37476e --- /dev/null +++ b/lib/libc/arch/ia64/sys/sigsuspend.S @@ -0,0 +1 @@ +/* $OpenBSD: sigsuspend.S,v 1.1 2011/07/05 03:26:18 pirofti Exp $ */ diff --git a/lib/libc/arch/ia64/sys/syscall.S b/lib/libc/arch/ia64/sys/syscall.S index 21359c59571..5136a62a7a5 100644 --- a/lib/libc/arch/ia64/sys/syscall.S +++ b/lib/libc/arch/ia64/sys/syscall.S @@ -1,3 +1,4 @@ +/* $OpenBSD: syscall.S,v 1.2 2011/07/05 03:26:18 pirofti Exp $ */ /* $NetBSD: syscall.S,v 1.2 2006/09/22 12:09:25 cherry Exp $ */ #include "SYS.h" |