summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2008-05-21 19:50:32 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2008-05-21 19:50:32 +0000
commit07cc8a7520958654c16cfdac79dbb445395d224a (patch)
tree8fecac89b8276fd1bd2693758b37441a623edbf7 /sys/arch
parent4f447e2527d32d03378299d1e8d8f3ecade916eb (diff)
Remove <machine/elf_abi.h> on platforms which have it. Nothing in the tree
needs the few MD definitions they (sometimes) provide; only binutils is interested in them, but binutils provide their own include files for that purpose anyway. ok deraadt@ kettenis@
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/arm/include/elf_abi.h7
-rw-r--r--sys/arch/armish/include/elf_abi.h3
-rw-r--r--sys/arch/macppc/include/elf_abi.h3
-rw-r--r--sys/arch/mvmeppc/include/elf_abi.h3
-rw-r--r--sys/arch/powerpc/include/elf_abi.h42
-rw-r--r--sys/arch/sparc64/include/elf_abi.h42
-rw-r--r--sys/arch/zaurus/include/elf_abi.h3
7 files changed, 0 insertions, 103 deletions
diff --git a/sys/arch/arm/include/elf_abi.h b/sys/arch/arm/include/elf_abi.h
deleted file mode 100644
index 3115568b7c3..00000000000
--- a/sys/arch/arm/include/elf_abi.h
+++ /dev/null
@@ -1,7 +0,0 @@
-/* $OpenBSD: elf_abi.h,v 1.1 2004/02/01 05:09:49 drahn Exp $ */
-#ifndef _ARM_ELF_ABI_H
-#define _ARM_ELF_ABI_H
-
-#define DT_PROCNUM 0
-
-#endif /* _ARM_ELF_ABI_H */
diff --git a/sys/arch/armish/include/elf_abi.h b/sys/arch/armish/include/elf_abi.h
deleted file mode 100644
index e69a860d4dd..00000000000
--- a/sys/arch/armish/include/elf_abi.h
+++ /dev/null
@@ -1,3 +0,0 @@
-/* $OpenBSD: elf_abi.h,v 1.1 2006/05/29 17:13:19 drahn Exp $ */
-
-#include <arm/elf_abi.h>
diff --git a/sys/arch/macppc/include/elf_abi.h b/sys/arch/macppc/include/elf_abi.h
deleted file mode 100644
index 285d92f192d..00000000000
--- a/sys/arch/macppc/include/elf_abi.h
+++ /dev/null
@@ -1,3 +0,0 @@
-/* $OpenBSD: elf_abi.h,v 1.1 2001/09/01 15:49:06 drahn Exp $ */
-
-#include <powerpc/elf_abi.h>
diff --git a/sys/arch/mvmeppc/include/elf_abi.h b/sys/arch/mvmeppc/include/elf_abi.h
deleted file mode 100644
index a93fa5e7a8e..00000000000
--- a/sys/arch/mvmeppc/include/elf_abi.h
+++ /dev/null
@@ -1,3 +0,0 @@
-/* $OpenBSD: elf_abi.h,v 1.2 2001/09/02 19:40:24 miod Exp $ */
-
-#include <powerpc/elf_abi.h>
diff --git a/sys/arch/powerpc/include/elf_abi.h b/sys/arch/powerpc/include/elf_abi.h
deleted file mode 100644
index ac2560ae1b7..00000000000
--- a/sys/arch/powerpc/include/elf_abi.h
+++ /dev/null
@@ -1,42 +0,0 @@
-/* $OpenBSD: elf_abi.h,v 1.4 2003/06/09 16:34:22 deraadt Exp $ */
-
-/*
- * Copyright (c) 1996 Per Fogelstrom
- *
- * 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.
- *
- */
-
-#ifndef _POWERPC_ELF_ABI_H
-#define _POWERPC_ELF_ABI_H
-
-/* From MIPS ABI supplemental */
-
-/* Architecture dependent Segment types - p_type */
-/* ??NONE?? */
-
-/* Architecture dependent d_tag field for Elf32_Dyn. */
-/* ??NONE?? */
-
-#define DT_PROCNUM 0
-
-#endif /* _POWERPC_ELF_ABI_H */
diff --git a/sys/arch/sparc64/include/elf_abi.h b/sys/arch/sparc64/include/elf_abi.h
deleted file mode 100644
index 8d542eff81e..00000000000
--- a/sys/arch/sparc64/include/elf_abi.h
+++ /dev/null
@@ -1,42 +0,0 @@
-/* $OpenBSD: elf_abi.h,v 1.3 2006/12/23 11:39:40 kettenis Exp $ */
-
-/*
- * Copyright (c) 1996 Per Fogelstrom
- *
- * 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.
- *
- */
-
-#ifndef _SPARC64_ELF_ABI_H
-#define _SPARC64_ELF_ABI_H
-
-/* From SPARC Compliance Definition */
-
-/* Architecture dependent Segment types - p_type */
-/* ??NONE?? */
-
-/* Architecture dependent d_tag field for Elf64_Dyn. */
-#define DT_SPARC_REGISTER 0x70000001 /* STT_REGISTER_SPARC sym index */
-
-#define DT_PROCNUM (DT_SPARC_REGISTER - DT_LOPROC + 1)
-
-#endif /* _SPARC64_ELF_ABI_H */
diff --git a/sys/arch/zaurus/include/elf_abi.h b/sys/arch/zaurus/include/elf_abi.h
deleted file mode 100644
index 3104811209b..00000000000
--- a/sys/arch/zaurus/include/elf_abi.h
+++ /dev/null
@@ -1,3 +0,0 @@
-/* $OpenBSD: elf_abi.h,v 1.1 2004/12/31 00:04:35 drahn Exp $ */
-
-#include <arm/elf_abi.h>