summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2014-11-22 07:17:51 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2014-11-22 07:17:51 +0000
commitea55b6ec6ca0d60672cc53497641634a43028c6c (patch)
treed9732c9f934a24175f8c23360e805ce6ef0930c3 /lib/libc
parent232e32d241a29d2c48c36138dce0383579b0a2dd (diff)
mop up a barely started project... getting in the way of grepping the tree!
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/arch/ia64/Makefile.inc3
-rw-r--r--lib/libc/arch/ia64/SYS.h74
-rw-r--r--lib/libc/arch/ia64/gdtoa/Makefile.inc3
-rw-r--r--lib/libc/arch/ia64/gdtoa/arith.h6
-rw-r--r--lib/libc/arch/ia64/gdtoa/gd_qnan.h5
-rw-r--r--lib/libc/arch/ia64/gen/Makefile.inc7
-rw-r--r--lib/libc/arch/ia64/gen/flt_rounds.c25
-rw-r--r--lib/libc/arch/ia64/gen/fpgetmask.c40
-rw-r--r--lib/libc/arch/ia64/gen/fpgetround.c39
-rw-r--r--lib/libc/arch/ia64/gen/fpsetmask.c43
-rw-r--r--lib/libc/arch/ia64/gen/fpsetround.c43
-rw-r--r--lib/libc/arch/ia64/net/Makefile.inc2
-rw-r--r--lib/libc/arch/ia64/stdlib/Makefile.inc1
-rw-r--r--lib/libc/arch/ia64/string/Makefile.inc1
-rw-r--r--lib/libc/arch/ia64/sys/Ovfork.S3
-rw-r--r--lib/libc/arch/ia64/sys/brk.S58
-rw-r--r--lib/libc/arch/ia64/sys/cerror.S49
-rw-r--r--lib/libc/arch/ia64/sys/exect.S1
-rw-r--r--lib/libc/arch/ia64/sys/fork.S10
-rw-r--r--lib/libc/arch/ia64/sys/getcontext.S1
-rw-r--r--lib/libc/arch/ia64/sys/pipe.S51
-rw-r--r--lib/libc/arch/ia64/sys/ptrace.S1
-rw-r--r--lib/libc/arch/ia64/sys/sbrk.S64
-rw-r--r--lib/libc/arch/ia64/sys/shmat.S3
-rw-r--r--lib/libc/arch/ia64/sys/sigpending.S1
-rw-r--r--lib/libc/arch/ia64/sys/sigprocmask.S1
-rw-r--r--lib/libc/arch/ia64/sys/sigreturn.S1
-rw-r--r--lib/libc/arch/ia64/sys/sigsuspend.S1
-rw-r--r--lib/libc/arch/ia64/sys/syscall.S8
29 files changed, 0 insertions, 545 deletions
diff --git a/lib/libc/arch/ia64/Makefile.inc b/lib/libc/arch/ia64/Makefile.inc
deleted file mode 100644
index 6c135b17bd6..00000000000
--- a/lib/libc/arch/ia64/Makefile.inc
+++ /dev/null
@@ -1,3 +0,0 @@
-# $NetBSD: Makefile.inc,v 1.3 2006/09/23 17:39:34 cherry Exp $
-
-SRCS+= __sigaction14_sigtramp.c __sigtramp2.S
diff --git a/lib/libc/arch/ia64/SYS.h b/lib/libc/arch/ia64/SYS.h
deleted file mode 100644
index 8245c41a78a..00000000000
--- a/lib/libc/arch/ia64/SYS.h
+++ /dev/null
@@ -1,74 +0,0 @@
-/* $NetBSD: SYS.h,v 1.1 2006/09/10 21:22:33 cherry Exp $ */
-
-/*
- * Copyright (c) 1994, 1995 Carnegie-Mellon University.
- * All rights reserved.
- *
- * Author: Chris G. Demetriou
- *
- * Permission to use, copy, modify and distribute this software and
- * its documentation is hereby granted, provided that both the copyright
- * notice and this permission notice appear in all copies of the
- * software, derivative works or modified versions, and any portions
- * thereof, and that both notices appear in supporting documentation.
- *
- * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
- * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND
- * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
- *
- * Carnegie Mellon requests users of this software to return to
- *
- * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
- * School of Computer Science
- * Carnegie Mellon University
- * Pittsburgh PA 15213-3890
- *
- * any improvements or extensions that they make and grant Carnegie the
- * rights to redistribute these changes.
- */
-
-#include <sys/types.h>
-
-#include <machine/asm.h>
-#include <sys/syscall.h>
-
-#define RET { br.ret.sptk.few rp;; }
-
-#define CALLSYS_ERROR(name) \
- CALLSYS_NOERROR(name) \
-{ cmp.ne p6,p0=r0,r10; \
-(p6) br.cond.sptk.few __cerror ;; }
-
-#define SYSCALL(name) \
-ENTRY(name,0); /* XXX # of args? */ \
- CALLSYS_ERROR(name)
-
-#define SYSCALL_NOERROR(name) \
-ENTRY(name,0); /* XXX # of args? */ \
- CALLSYS_NOERROR(name)
-
-#define PSEUDO(label,name) \
-ENTRY(label,0); /* XXX # of args? */ \
- CALLSYS_ERROR(name); \
- RET; \
-END(label);
-
-#define PSEUDO_NOERROR(label,name) \
-ENTRY(label,0); /* XXX # of args? */ \
- CALLSYS_NOERROR(name); \
- RET; \
-END(label);
-
-#define RSYSCALL(name) \
- SYSCALL(name); \
- RET; \
-END(name)
-
-#define RSYSCALL_NOERROR(name) \
- SYSCALL_NOERROR(name); \
- RET; \
-END(name)
-
-#define WSYSCALL(weak,strong) \
- WEAK_ALIAS(weak,strong); \
- PSEUDO(strong,weak)
diff --git a/lib/libc/arch/ia64/gdtoa/Makefile.inc b/lib/libc/arch/ia64/gdtoa/Makefile.inc
deleted file mode 100644
index 43505eaa3d0..00000000000
--- a/lib/libc/arch/ia64/gdtoa/Makefile.inc
+++ /dev/null
@@ -1,3 +0,0 @@
-# $NetBSD: Makefile.inc,v 1.2 2006/09/22 12:09:24 cherry Exp $
-
-SRCS+= strtof.c
diff --git a/lib/libc/arch/ia64/gdtoa/arith.h b/lib/libc/arch/ia64/gdtoa/arith.h
deleted file mode 100644
index 4fb91e5d4a7..00000000000
--- a/lib/libc/arch/ia64/gdtoa/arith.h
+++ /dev/null
@@ -1,6 +0,0 @@
-/* $NetBSD: arith.h,v 1.1 2006/09/10 21:22:33 cherry Exp $ */
-
-#define IEEE_LITTLE_ENDIAN
-#ifndef _IEEE_FP
-#define Sudden_Underflow
-#endif
diff --git a/lib/libc/arch/ia64/gdtoa/gd_qnan.h b/lib/libc/arch/ia64/gdtoa/gd_qnan.h
deleted file mode 100644
index 92b0734668a..00000000000
--- a/lib/libc/arch/ia64/gdtoa/gd_qnan.h
+++ /dev/null
@@ -1,5 +0,0 @@
-/* $NetBSD: gd_qnan.h,v 1.1 2006/09/10 21:22:33 cherry Exp $ */
-
-#define f_QNAN 0x7fc00000
-#define d_QNAN0 0x0
-#define d_QNAN1 0x7ff80000
diff --git a/lib/libc/arch/ia64/gen/Makefile.inc b/lib/libc/arch/ia64/gen/Makefile.inc
deleted file mode 100644
index 88c1a5e994c..00000000000
--- a/lib/libc/arch/ia64/gen/Makefile.inc
+++ /dev/null
@@ -1,7 +0,0 @@
-# $NetBSD: Makefile.inc,v 1.4 2006/09/23 17:39:34 cherry Exp $
-
-#SRCS+= bswap16.c bswap32.c bswap64.c
-
-SRCS+= flt_rounds.c fpgetround.c fpsetround.c fpgetmask.c fpsetmask.c
-#SRCS+= isinff_ieee754.c isinfd_ieee754.c
-#SRCS+= isnanf_ieee754.c isnand_ieee754.c
diff --git a/lib/libc/arch/ia64/gen/flt_rounds.c b/lib/libc/arch/ia64/gen/flt_rounds.c
deleted file mode 100644
index 1197490c1e2..00000000000
--- a/lib/libc/arch/ia64/gen/flt_rounds.c
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * Written by J.T. Conklin, Apr 10, 1995
- * Public domain.
- */
-
-#include <sys/types.h>
-/* __FBSDID("$FreeBSD: src/lib/libc/ia64/gen/flt_rounds.c,v 1.1 2004/07/19 08:17:24 das Exp $"); */
-
-#include <float.h>
-
-static const int map[] = {
- 1, /* round to nearest */
- 3, /* round to zero */
- 2, /* round to negative infinity */
- 0 /* round to positive infinity */
-};
-
-int
-__flt_rounds(void)
-{
- int x;
-
- __asm("mov %0=ar.fpsr" : "=r" (x));
- return (map[(x >> 10) & 0x03]);
-}
diff --git a/lib/libc/arch/ia64/gen/fpgetmask.c b/lib/libc/arch/ia64/gen/fpgetmask.c
deleted file mode 100644
index 460971b57ae..00000000000
--- a/lib/libc/arch/ia64/gen/fpgetmask.c
+++ /dev/null
@@ -1,40 +0,0 @@
-/*-
- * Copyright (c) 2001 Doug Rabson
- * All rights reserved.
- *
- * 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 AUTHOR 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 AUTHOR 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.
- */
-
-/* __FBSDID("$FreeBSD: src/lib/libc/ia64/gen/fpgetmask.c,v 1.4 2003/10/22 09:00:07 marcel Exp $"); */
-
-#include <sys/types.h>
-#include <ieeefp.h>
-
-/* XXX: Move to sysarchs() */
-fp_except
-fpgetmask(void)
-{
- uint64_t fpsr;
-
- __asm volatile("mov %0=ar.fpsr" : "=r" (fpsr));
- return (~fpsr & 0x3d);
-}
diff --git a/lib/libc/arch/ia64/gen/fpgetround.c b/lib/libc/arch/ia64/gen/fpgetround.c
deleted file mode 100644
index c4f82f70265..00000000000
--- a/lib/libc/arch/ia64/gen/fpgetround.c
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright (c) 2003 Marcel Moolenaar
- * All rights reserved.
- *
- * 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 AUTHOR ``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 AUTHOR 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.
- *
- * $FreeBSD: src/lib/libc/ia64/gen/fpgetround.c,v 1.1 2003/01/11 07:24:54 marcel Exp $
- */
-
-#include <sys/types.h>
-#include <ieeefp.h>
-
-fp_rnd
-fpgetround(void)
-{
- uint64_t fpsr;
-
- __asm volatile("mov %0=ar.fpsr" : "=r"(fpsr));
- return ((fp_rnd)((fpsr >> 10) & 3));
-}
diff --git a/lib/libc/arch/ia64/gen/fpsetmask.c b/lib/libc/arch/ia64/gen/fpsetmask.c
deleted file mode 100644
index 390bdc15b5e..00000000000
--- a/lib/libc/arch/ia64/gen/fpsetmask.c
+++ /dev/null
@@ -1,43 +0,0 @@
-/*-
- * Copyright (c) 2001 Doug Rabson
- * All rights reserved.
- *
- * 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 AUTHOR 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 AUTHOR 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.
- */
-
-/* __FBSDID("$FreeBSD: src/lib/libc/ia64/gen/fpsetmask.c,v 1.4 2003/10/22 09:00:07 marcel Exp $"); */
-
-#include <sys/types.h>
-#include <ieeefp.h>
-
-fp_except
-fpsetmask(fp_except mask)
-{
- int64_t fpsr;
- int64_t oldmask;
-
- __asm volatile("mov %0=ar.fpsr" : "=r" (fpsr));
- oldmask = ~fpsr & 0x3d;
- fpsr = (fpsr & ~0x3d) | (~mask & 0x3d);
- __asm volatile("mov ar.fpsr=%0" :: "r" (fpsr));
- return (oldmask);
-}
diff --git a/lib/libc/arch/ia64/gen/fpsetround.c b/lib/libc/arch/ia64/gen/fpsetround.c
deleted file mode 100644
index e00b2675f74..00000000000
--- a/lib/libc/arch/ia64/gen/fpsetround.c
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Copyright (c) 2003 Marcel Moolenaar
- * All rights reserved.
- *
- * 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 AUTHOR ``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 AUTHOR 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.
- *
- * $FreeBSD: src/lib/libc/ia64/gen/fpsetround.c,v 1.1 2003/01/11 07:24:54 marcel Exp $
- */
-
-#include <sys/types.h>
-#include <ieeefp.h>
-
-fp_rnd
-fpsetround(fp_rnd rnd)
-{
- uint64_t fpsr;
- fp_rnd prev;
-
- __asm volatile("mov %0=ar.fpsr" : "=r"(fpsr));
- prev = (fp_rnd)((fpsr >> 10) & 3);
- fpsr = (fpsr & ~0xC00ULL) | ((unsigned int)rnd << 10);
- __asm volatile("mov ar.fpsr=%0" :: "r"(fpsr));
- return (prev);
-}
diff --git a/lib/libc/arch/ia64/net/Makefile.inc b/lib/libc/arch/ia64/net/Makefile.inc
deleted file mode 100644
index fa364cfe585..00000000000
--- a/lib/libc/arch/ia64/net/Makefile.inc
+++ /dev/null
@@ -1,2 +0,0 @@
-# $NetBSD: Makefile.inc,v 1.1 2006/09/10 21:22:33 cherry Exp $
-# XXX: Stub
diff --git a/lib/libc/arch/ia64/stdlib/Makefile.inc b/lib/libc/arch/ia64/stdlib/Makefile.inc
deleted file mode 100644
index d1dda0262f1..00000000000
--- a/lib/libc/arch/ia64/stdlib/Makefile.inc
+++ /dev/null
@@ -1 +0,0 @@
-# $NetBSD: Makefile.inc,v 1.4 2009/07/31 20:39:59 dsl Exp $
diff --git a/lib/libc/arch/ia64/string/Makefile.inc b/lib/libc/arch/ia64/string/Makefile.inc
deleted file mode 100644
index f0599d9418e..00000000000
--- a/lib/libc/arch/ia64/string/Makefile.inc
+++ /dev/null
@@ -1 +0,0 @@
-# $NetBSD: Makefile.inc,v 1.4 2009/07/30 20:57:16 dsl Exp $
diff --git a/lib/libc/arch/ia64/sys/Ovfork.S b/lib/libc/arch/ia64/sys/Ovfork.S
deleted file mode 100644
index 936073982cb..00000000000
--- a/lib/libc/arch/ia64/sys/Ovfork.S
+++ /dev/null
@@ -1,3 +0,0 @@
-/* $OpenBSD: Ovfork.S,v 1.1 2011/07/05 03:26:18 pirofti Exp $ */
-
-/* XXX: Stub */
diff --git a/lib/libc/arch/ia64/sys/brk.S b/lib/libc/arch/ia64/sys/brk.S
deleted file mode 100644
index 671cde909e1..00000000000
--- a/lib/libc/arch/ia64/sys/brk.S
+++ /dev/null
@@ -1,58 +0,0 @@
-/* $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 $ */
-
-/*
- * Copyright (c) 1994, 1995 Carnegie-Mellon University.
- * All rights reserved.
- *
- * Author: Chris G. Demetriou
- *
- * Permission to use, copy, modify and distribute this software and
- * its documentation is hereby granted, provided that both the copyright
- * notice and this permission notice appear in all copies of the
- * software, derivative works or modified versions, and any portions
- * thereof, and that both notices appear in supporting documentation.
- *
- * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
- * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND
- * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
- *
- * Carnegie Mellon requests users of this software to return to
- *
- * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
- * School of Computer Science
- * Carnegie Mellon University
- * Pittsburgh PA 15213-3890
- *
- * any improvements or extensions that they make and grant Carnegie the
- * rights to redistribute these changes.
- */
-
-#include <machine/asm.h>
-/* $FreeBSD: brk.S,v 1.4 2003/05/16 21:26:39 marcel Exp $ */
-
-#include "SYS.h"
-
- .globl _end
-IMPORT(__curbrk, 8)
-
- .data
-EXPORT(__minbrk)
- .quad _end
-
- .text
-ENTRY(_brk, 1)
- add r14=@ltoff(__minbrk),gp ;;
- ld8 r14=[r14] ;;
- ld8 r14=[r14] ;;
- cmp.ltu p6,p0=r32,r14 ;;
-(p6) mov r32=r14 ;;
- st8 [sp]=r32
- CALLSYS_ERROR(break)
- ld8 r15=[sp]
- add r14=@ltoff(__curbrk),gp ;;
- ld8 r14=[r14] ;;
- st8 [r14]=r15
- mov ret0=0
- br.ret.sptk.few rp
-END(_brk)
diff --git a/lib/libc/arch/ia64/sys/cerror.S b/lib/libc/arch/ia64/sys/cerror.S
deleted file mode 100644
index 3cad9d350eb..00000000000
--- a/lib/libc/arch/ia64/sys/cerror.S
+++ /dev/null
@@ -1,49 +0,0 @@
-/* $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 $ */
-
-/*-
- * Copyright (c) 2000 Doug Rabson
- * All rights reserved.
- *
- * 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 AUTHOR 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 AUTHOR 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 <machine/asm.h>
-/* $FreeBSD: cerror.S,v 1.2 2003/03/03 01:09:46 obrien Exp $ */
-
-
-ENTRY(__cerror, 0)
- alloc loc0=ar.pfs,0,3,1,0
- ;;
- mov loc1=rp
- mov loc2=ret0
- mov out0=ret0
- ;;
- br.call.sptk.few rp=__errno
- st4 [ret0]=loc2
- ;;
- mov ret0=-1
- mov ar.pfs=loc0
- mov rp=loc1
- ;;
- br.ret.sptk.few rp
-END(__cerror)
diff --git a/lib/libc/arch/ia64/sys/exect.S b/lib/libc/arch/ia64/sys/exect.S
deleted file mode 100644
index 145c778f887..00000000000
--- a/lib/libc/arch/ia64/sys/exect.S
+++ /dev/null
@@ -1 +0,0 @@
-/* $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
deleted file mode 100644
index a83f66bc3b2..00000000000
--- a/lib/libc/arch/ia64/sys/fork.S
+++ /dev/null
@@ -1,10 +0,0 @@
-/* $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"
-
-ENTRY(__fork, 0)
- CALLSYS_ERROR(fork)
- /* XXX: get return value for child */
- RET
-END(__fork)
diff --git a/lib/libc/arch/ia64/sys/getcontext.S b/lib/libc/arch/ia64/sys/getcontext.S
deleted file mode 100644
index 80506bc5c8a..00000000000
--- a/lib/libc/arch/ia64/sys/getcontext.S
+++ /dev/null
@@ -1 +0,0 @@
-/* $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
deleted file mode 100644
index da701a0529b..00000000000
--- a/lib/libc/arch/ia64/sys/pipe.S
+++ /dev/null
@@ -1,51 +0,0 @@
-/* $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 $ */
-
-/*
- * Copyright (c) 1994, 1995 Carnegie-Mellon University.
- * All rights reserved.
- *
- * Author: Chris G. Demetriou
- *
- * Permission to use, copy, modify and distribute this software and
- * its documentation is hereby granted, provided that both the copyright
- * notice and this permission notice appear in all copies of the
- * software, derivative works or modified versions, and any portions
- * thereof, and that both notices appear in supporting documentation.
- *
- * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
- * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND
- * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
- *
- * Carnegie Mellon requests users of this software to return to
- *
- * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
- * School of Computer Science
- * Carnegie Mellon University
- * Pittsburgh PA 15213-3890
- *
- * any improvements or extensions that they make and grant Carnegie the
- * rights to redistribute these changes.
- */
-
-#include <machine/asm.h>
-/* $FreeBSD: pipe.S,v 1.4 2003/05/16 21:26:39 marcel Exp $ */
-
-#include "SYS.h"
-
-#ifdef WEAK_ALIAS
-WEAK_ALIAS(pipe, _pipe)
-#endif
-/* XXX: Relook param passing */
-
-ENTRY(_pipe, 1)
- st8 [sp]=r32
- CALLSYS_ERROR(pipe)
- ld8 r14=[sp]
- ;;
- st4 [r14]=ret0,4
- ;;
- st4 [r14]=ret1
- mov ret0=0
- br.ret.sptk.few rp
-END(_pipe)
diff --git a/lib/libc/arch/ia64/sys/ptrace.S b/lib/libc/arch/ia64/sys/ptrace.S
deleted file mode 100644
index 90b1e6699b4..00000000000
--- a/lib/libc/arch/ia64/sys/ptrace.S
+++ /dev/null
@@ -1 +0,0 @@
-/* $OpenBSD: ptrace.S,v 1.2 2011/07/05 03:26:18 pirofti Exp $ */
diff --git a/lib/libc/arch/ia64/sys/sbrk.S b/lib/libc/arch/ia64/sys/sbrk.S
deleted file mode 100644
index e312c8420b6..00000000000
--- a/lib/libc/arch/ia64/sys/sbrk.S
+++ /dev/null
@@ -1,64 +0,0 @@
-/* $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 $ */
-
-/*
- * Copyright (c) 1994, 1995 Carnegie-Mellon University.
- * All rights reserved.
- *
- * Author: Chris G. Demetriou
- *
- * Permission to use, copy, modify and distribute this software and
- * its documentation is hereby granted, provided that both the copyright
- * notice and this permission notice appear in all copies of the
- * software, derivative works or modified versions, and any portions
- * thereof, and that both notices appear in supporting documentation.
- *
- * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
- * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND
- * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
- *
- * Carnegie Mellon requests users of this software to return to
- *
- * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
- * School of Computer Science
- * Carnegie Mellon University
- * Pittsburgh PA 15213-3890
- *
- * any improvements or extensions that they make and grant Carnegie the
- * rights to redistribute these changes.
- */
-
-#include <machine/asm.h>
-/* $FreeBSD: sbrk.S,v 1.5 2003/05/16 21:26:39 marcel Exp $*/
-
-#include "SYS.h"
-
- .globl _end
-
- .data
-EXPORT(__curbrk)
- .quad _end
-
- .text
-ENTRY(_sbrk, 1)
- add r14 = @ltoff(__curbrk), gp
- ;;
- ld8 r14 = [r14]
- cmp.eq p6, p0 = r32, r0
- ;;
- ld8 ret0 = [r14]
-(p6) br.ret.sptk.few rp
- ;;
- add r32 = ret0, r32
- ;;
- st8 [sp] = r32
- CALLSYS_ERROR(break)
- ld8 r15 = [sp]
- add r14 = @ltoff(__curbrk), gp
- ;;
- ld8 r14 = [r14]
- ;;
- ld8 ret0 = [r14]
- st8 [r14] = r15
- br.ret.sptk.few rp
-END(_sbrk)
diff --git a/lib/libc/arch/ia64/sys/shmat.S b/lib/libc/arch/ia64/sys/shmat.S
deleted file mode 100644
index 2b80f9b7e6c..00000000000
--- a/lib/libc/arch/ia64/sys/shmat.S
+++ /dev/null
@@ -1,3 +0,0 @@
-/* $OpenBSD: shmat.S,v 1.2 2011/07/05 03:26:18 pirofti Exp $ */
-
-/* XXX: Stub */
diff --git a/lib/libc/arch/ia64/sys/sigpending.S b/lib/libc/arch/ia64/sys/sigpending.S
deleted file mode 100644
index 64db9124072..00000000000
--- a/lib/libc/arch/ia64/sys/sigpending.S
+++ /dev/null
@@ -1 +0,0 @@
-/* $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
deleted file mode 100644
index 52197b72c7a..00000000000
--- a/lib/libc/arch/ia64/sys/sigprocmask.S
+++ /dev/null
@@ -1 +0,0 @@
-/* $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
deleted file mode 100644
index ab821f81e8e..00000000000
--- a/lib/libc/arch/ia64/sys/sigreturn.S
+++ /dev/null
@@ -1 +0,0 @@
-/* $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
deleted file mode 100644
index ae63b37476e..00000000000
--- a/lib/libc/arch/ia64/sys/sigsuspend.S
+++ /dev/null
@@ -1 +0,0 @@
-/* $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
deleted file mode 100644
index 5136a62a7a5..00000000000
--- a/lib/libc/arch/ia64/sys/syscall.S
+++ /dev/null
@@ -1,8 +0,0 @@
-/* $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"
-
-
-RSYSCALL(syscall)
-