Module Name: src
Committed By: matt
Date: Sat Aug 22 06:46:46 UTC 2009
Modified Files:
src/sys/arch/algor/include [matt-nb5-mips64]: elf_machdep.h
src/sys/arch/arc/include [matt-nb5-mips64]: elf_machdep.h
src/sys/arch/cobalt/include [matt-nb5-mips64]: elf_machdep.h
src/sys/arch/evbmips/include [matt-nb5-mips64]: elf_machdep.h
src/sys/arch/ews4800mips/include [matt-nb5-mips64]: elf_machdep.h
src/sys/arch/hpcmips/include [matt-nb5-mips64]: elf_machdep.h
src/sys/arch/mips/include [matt-nb5-mips64]: elf_machdep.h
src/sys/arch/mipsco/include [matt-nb5-mips64]: elf_machdep.h
src/sys/arch/newsmips/include [matt-nb5-mips64]: elf_machdep.h
src/sys/arch/playstation2/include [matt-nb5-mips64]: elf_machdep.h
src/sys/arch/pmax/include [matt-nb5-mips64]: elf_machdep.h
src/sys/arch/sbmips/include [matt-nb5-mips64]: elf_machdep.h
src/sys/arch/sgimips/include [matt-nb5-mips64]: elf_machdep.h
Log Message:
Move ELF{32,64}_MACHDEP_ENDIANNESS to <mips/elf_machdep.h>
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.1.148.1 src/sys/arch/algor/include/elf_machdep.h
cvs rdiff -u -r1.4 -r1.4.154.1 src/sys/arch/arc/include/elf_machdep.h
cvs rdiff -u -r1.1 -r1.1.154.1 src/sys/arch/cobalt/include/elf_machdep.h
cvs rdiff -u -r1.2.74.1 -r1.2.74.2 src/sys/arch/evbmips/include/elf_machdep.h
cvs rdiff -u -r1.1 -r1.1.98.1 src/sys/arch/ews4800mips/include/elf_machdep.h
cvs rdiff -u -r1.2 -r1.2.154.1 src/sys/arch/hpcmips/include/elf_machdep.h
cvs rdiff -u -r1.10.96.3 -r1.10.96.4 src/sys/arch/mips/include/elf_machdep.h
cvs rdiff -u -r1.1 -r1.1.150.1 src/sys/arch/mipsco/include/elf_machdep.h
cvs rdiff -u -r1.2 -r1.2.154.1 src/sys/arch/newsmips/include/elf_machdep.h
cvs rdiff -u -r1.1 -r1.1.146.1 \
src/sys/arch/playstation2/include/elf_machdep.h
cvs rdiff -u -r1.4 -r1.4.154.1 src/sys/arch/pmax/include/elf_machdep.h
cvs rdiff -u -r1.2 -r1.2.74.1 src/sys/arch/sbmips/include/elf_machdep.h
cvs rdiff -u -r1.1 -r1.1.154.1 src/sys/arch/sgimips/include/elf_machdep.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/algor/include/elf_machdep.h
diff -u src/sys/arch/algor/include/elf_machdep.h:1.1 src/sys/arch/algor/include/elf_machdep.h:1.1.148.1
--- src/sys/arch/algor/include/elf_machdep.h:1.1 Mon May 28 16:22:18 2001
+++ src/sys/arch/algor/include/elf_machdep.h Sat Aug 22 06:46:44 2009
@@ -1,14 +1,3 @@
-/* $NetBSD: elf_machdep.h,v 1.1 2001/05/28 16:22:18 thorpej Exp $ */
-
-#ifndef _ALGOR_ELF_MACHDEP_H_
-#define _ALGOR_ELF_MACHDEP_H_
+/* $NetBSD: elf_machdep.h,v 1.1.148.1 2009/08/22 06:46:44 matt Exp $ */
#include <mips/elf_machdep.h>
-
-/*
- * Algorithmics boards are mipsel machines by default
- */
-#define ELF32_MACHDEP_ENDIANNESS ELFDATA2LSB
-#define ELF64_MACHDEP_ENDIANNESS XXX /* break compilation */
-
-#endif /* !_ALGOR_ELF_MACHDEP_H_ */
Index: src/sys/arch/arc/include/elf_machdep.h
diff -u src/sys/arch/arc/include/elf_machdep.h:1.4 src/sys/arch/arc/include/elf_machdep.h:1.4.154.1
--- src/sys/arch/arc/include/elf_machdep.h:1.4 Mon Jan 31 15:51:35 2000
+++ src/sys/arch/arc/include/elf_machdep.h Sat Aug 22 06:46:44 2009
@@ -1,11 +1,3 @@
-/* $NetBSD: elf_machdep.h,v 1.4 2000/01/31 15:51:35 soda Exp $ */
+/* $NetBSD: elf_machdep.h,v 1.4.154.1 2009/08/22 06:46:44 matt Exp $ */
#include <mips/elf_machdep.h>
-
-/*
- * arc is mipsel platform
- */
-
-#define ELF32_MACHDEP_ENDIANNESS ELFDATA2LSB
-
-#define ELF64_MACHDEP_ENDIANNESS XXX /* break compilation */
Index: src/sys/arch/cobalt/include/elf_machdep.h
diff -u src/sys/arch/cobalt/include/elf_machdep.h:1.1 src/sys/arch/cobalt/include/elf_machdep.h:1.1.154.1
--- src/sys/arch/cobalt/include/elf_machdep.h:1.1 Sun Mar 19 23:07:46 2000
+++ src/sys/arch/cobalt/include/elf_machdep.h Sat Aug 22 06:46:44 2009
@@ -1,5 +1,3 @@
-/* $NetBSD: elf_machdep.h,v 1.1 2000/03/19 23:07:46 soren Exp $ */
+/* $NetBSD: elf_machdep.h,v 1.1.154.1 2009/08/22 06:46:44 matt Exp $ */
#include <mips/elf_machdep.h>
-
-#define ELF32_MACHDEP_ENDIANNESS ELFDATA2LSB
Index: src/sys/arch/evbmips/include/elf_machdep.h
diff -u src/sys/arch/evbmips/include/elf_machdep.h:1.2.74.1 src/sys/arch/evbmips/include/elf_machdep.h:1.2.74.2
--- src/sys/arch/evbmips/include/elf_machdep.h:1.2.74.1 Fri Aug 21 17:52:16 2009
+++ src/sys/arch/evbmips/include/elf_machdep.h Sat Aug 22 06:46:44 2009
@@ -1,13 +1,3 @@
-/* $NetBSD: elf_machdep.h,v 1.2.74.1 2009/08/21 17:52:16 matt Exp $ */
+/* $NetBSD: elf_machdep.h,v 1.2.74.2 2009/08/22 06:46:44 matt Exp $ */
#include <mips/elf_machdep.h>
-
-#if defined(__MIPSEB__)
-#define ELF32_MACHDEP_ENDIANNESS ELFDATA2MSB
-#define ELF64_MACHDEP_ENDIANNESS ELFDATA2MSB
-#elif defined(__MIPSEL__)
-#define ELF32_MACHDEP_ENDIANNESS ELFDATA2LSB
-#define ELF64_MACHDEP_ENDIANNESS ELFDATA2LSB
-#elif !defined(HAVE_NBTOOL_CONFIG_H)
-#error neither __MIPSEL__ nor __MIPSEB__ are defined.
-#endif
Index: src/sys/arch/ews4800mips/include/elf_machdep.h
diff -u src/sys/arch/ews4800mips/include/elf_machdep.h:1.1 src/sys/arch/ews4800mips/include/elf_machdep.h:1.1.98.1
--- src/sys/arch/ews4800mips/include/elf_machdep.h:1.1 Thu Dec 29 15:20:08 2005
+++ src/sys/arch/ews4800mips/include/elf_machdep.h Sat Aug 22 06:46:45 2009
@@ -1,5 +1,3 @@
-/* $NetBSD: elf_machdep.h,v 1.1 2005/12/29 15:20:08 tsutsui Exp $ */
+/* $NetBSD: elf_machdep.h,v 1.1.98.1 2009/08/22 06:46:45 matt Exp $ */
#include <mips/elf_machdep.h>
-
-#define ELF32_MACHDEP_ENDIANNESS ELFDATA2MSB
Index: src/sys/arch/hpcmips/include/elf_machdep.h
diff -u src/sys/arch/hpcmips/include/elf_machdep.h:1.2 src/sys/arch/hpcmips/include/elf_machdep.h:1.2.154.1
--- src/sys/arch/hpcmips/include/elf_machdep.h:1.2 Mon Oct 25 13:55:08 1999
+++ src/sys/arch/hpcmips/include/elf_machdep.h Sat Aug 22 06:46:45 2009
@@ -1,11 +1,3 @@
-/* $NetBSD: elf_machdep.h,v 1.2 1999/10/25 13:55:08 kleink Exp $ */
+/* $NetBSD: elf_machdep.h,v 1.2.154.1 2009/08/22 06:46:45 matt Exp $ */
#include <mips/elf_machdep.h>
-
-/*
- * HPCMIPS are mipsel machines
- */
-
-#define ELF32_MACHDEP_ENDIANNESS ELFDATA2LSB
-
-#define ELF64_MACHDEP_ENDIANNESS XXX /* break compilation */
Index: src/sys/arch/mips/include/elf_machdep.h
diff -u src/sys/arch/mips/include/elf_machdep.h:1.10.96.3 src/sys/arch/mips/include/elf_machdep.h:1.10.96.4
--- src/sys/arch/mips/include/elf_machdep.h:1.10.96.3 Fri Aug 21 17:17:01 2009
+++ src/sys/arch/mips/include/elf_machdep.h Sat Aug 22 06:46:45 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: elf_machdep.h,v 1.10.96.3 2009/08/21 17:17:01 matt Exp $ */
+/* $NetBSD: elf_machdep.h,v 1.10.96.4 2009/08/22 06:46:45 matt Exp $ */
#ifndef _MIPS_ELF_MACHDEP_H_
#define _MIPS_ELF_MACHDEP_H_
@@ -151,6 +151,16 @@
#define EF_MIPS_ABI_EABI32 0x00003000
#define EF_MIPS_ABI_EABI64 0x00004000
+#if defined(__MIPSEB__)
+#define ELF32_MACHDEP_ENDIANNESS ELFDATA2MSB
+#define ELF64_MACHDEP_ENDIANNESS ELFDATA2MSB
+#elif defined(__MIPSEL__)
+#define ELF32_MACHDEP_ENDIANNESS ELFDATA2LSB
+#define ELF64_MACHDEP_ENDIANNESS ELFDATA2LSB
+#elif !defined(HAVE_NBTOOL_CONFIG_H)
+#error neither __MIPSEL__ nor __MIPSEB__ are defined.
+#endif
+
#ifdef _KERNEL
#ifdef _KERNEL_OPT
#include "opt_compat_netbsd.h"
Index: src/sys/arch/mipsco/include/elf_machdep.h
diff -u src/sys/arch/mipsco/include/elf_machdep.h:1.1 src/sys/arch/mipsco/include/elf_machdep.h:1.1.150.1
--- src/sys/arch/mipsco/include/elf_machdep.h:1.1 Sat Aug 12 22:58:16 2000
+++ src/sys/arch/mipsco/include/elf_machdep.h Sat Aug 22 06:46:45 2009
@@ -1,6 +1,3 @@
-/* $NetBSD: elf_machdep.h,v 1.1 2000/08/12 22:58:16 wdk Exp $ */
+/* $NetBSD: elf_machdep.h,v 1.1.150.1 2009/08/22 06:46:45 matt Exp $ */
#include <mips/elf_machdep.h>
-
-#define ELF32_MACHDEP_ENDIANNESS ELFDATA2MSB
-#define ELF64_MACHDEP_ENDIANNESS XXX /* break compilation */
Index: src/sys/arch/newsmips/include/elf_machdep.h
diff -u src/sys/arch/newsmips/include/elf_machdep.h:1.2 src/sys/arch/newsmips/include/elf_machdep.h:1.2.154.1
--- src/sys/arch/newsmips/include/elf_machdep.h:1.2 Mon Oct 25 13:55:09 1999
+++ src/sys/arch/newsmips/include/elf_machdep.h Sat Aug 22 06:46:45 2009
@@ -1,11 +1,3 @@
-/* $NetBSD: elf_machdep.h,v 1.2 1999/10/25 13:55:09 kleink Exp $ */
+/* $NetBSD: elf_machdep.h,v 1.2.154.1 2009/08/22 06:46:45 matt Exp $ */
#include <mips/elf_machdep.h>
-
-/*
- * newses are mipseb machines
- */
-
-#define ELF32_MACHDEP_ENDIANNESS ELFDATA2MSB
-
-#define ELF64_MACHDEP_ENDIANNESS XXX /* break compilation */
Index: src/sys/arch/playstation2/include/elf_machdep.h
diff -u src/sys/arch/playstation2/include/elf_machdep.h:1.1 src/sys/arch/playstation2/include/elf_machdep.h:1.1.146.1
--- src/sys/arch/playstation2/include/elf_machdep.h:1.1 Tue Oct 16 15:38:43 2001
+++ src/sys/arch/playstation2/include/elf_machdep.h Sat Aug 22 06:46:45 2009
@@ -1,5 +1,3 @@
-/* $NetBSD: elf_machdep.h,v 1.1 2001/10/16 15:38:43 uch Exp $ */
+/* $NetBSD: elf_machdep.h,v 1.1.146.1 2009/08/22 06:46:45 matt Exp $ */
#include <mips/elf_machdep.h>
-
-#define ELF32_MACHDEP_ENDIANNESS ELFDATA2LSB
Index: src/sys/arch/pmax/include/elf_machdep.h
diff -u src/sys/arch/pmax/include/elf_machdep.h:1.4 src/sys/arch/pmax/include/elf_machdep.h:1.4.154.1
--- src/sys/arch/pmax/include/elf_machdep.h:1.4 Sun Jan 9 15:34:42 2000
+++ src/sys/arch/pmax/include/elf_machdep.h Sat Aug 22 06:46:45 2009
@@ -1,14 +1,3 @@
-/* $NetBSD: elf_machdep.h,v 1.4 2000/01/09 15:34:42 ad Exp $ */
-
-#ifndef _PMAX_ELF_MACHDEP_H_
-#define _PMAX_ELF_MACHDEP_H_
+/* $NetBSD: elf_machdep.h,v 1.4.154.1 2009/08/22 06:46:45 matt Exp $ */
#include <mips/elf_machdep.h>
-
-/*
- * pmaxes are mipsel machines
- */
-#define ELF32_MACHDEP_ENDIANNESS ELFDATA2LSB
-#define ELF64_MACHDEP_ENDIANNESS XXX /* break compilation */
-
-#endif /* !_PMAX_ELF_MACHDEP_H_ */
Index: src/sys/arch/sbmips/include/elf_machdep.h
diff -u src/sys/arch/sbmips/include/elf_machdep.h:1.2 src/sys/arch/sbmips/include/elf_machdep.h:1.2.74.1
--- src/sys/arch/sbmips/include/elf_machdep.h:1.2 Sat Nov 25 07:32:53 2006
+++ src/sys/arch/sbmips/include/elf_machdep.h Sat Aug 22 06:46:46 2009
@@ -1,11 +1,3 @@
-/* $NetBSD: elf_machdep.h,v 1.2 2006/11/25 07:32:53 riz Exp $ */
+/* $NetBSD: elf_machdep.h,v 1.2.74.1 2009/08/22 06:46:46 matt Exp $ */
#include <mips/elf_machdep.h>
-
-#if defined(__MIPSEB__)
-#define ELF32_MACHDEP_ENDIANNESS ELFDATA2MSB
-#elif defined(__MIPSEL__)
-#define ELF32_MACHDEP_ENDIANNESS ELFDATA2LSB
-#elif !defined(HAVE_NBTOOL_CONFIG_H)
-#error neither __MIPSEL__ nor __MIPSEB__ are defined.
-#endif
Index: src/sys/arch/sgimips/include/elf_machdep.h
diff -u src/sys/arch/sgimips/include/elf_machdep.h:1.1 src/sys/arch/sgimips/include/elf_machdep.h:1.1.154.1
--- src/sys/arch/sgimips/include/elf_machdep.h:1.1 Wed Jun 14 15:39:57 2000
+++ src/sys/arch/sgimips/include/elf_machdep.h Sat Aug 22 06:46:46 2009
@@ -1,5 +1,3 @@
-/* $NetBSD: elf_machdep.h,v 1.1 2000/06/14 15:39:57 soren Exp $ */
+/* $NetBSD: elf_machdep.h,v 1.1.154.1 2009/08/22 06:46:46 matt Exp $ */
#include <mips/elf_machdep.h>
-
-#define ELF32_MACHDEP_ENDIANNESS ELFDATA2MSB