summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2001-03-02 20:45:23 +0000
committerJason Wright <jason@cvs.openbsd.org>2001-03-02 20:45:23 +0000
commitd35898b7cbd4bec1971a74dfcaddc66c37384c70 (patch)
treeeac4ddb7ffd17947f2eda7dffc897b31773207ab /sys
parent2c82c10f4444a552a4dba100f1dc85b96511786f (diff)
add #define __STRICT_ALIGNMENT
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/alpha/include/endian.h4
-rw-r--r--sys/arch/hppa/include/endian.h4
-rw-r--r--sys/arch/mvme88k/include/endian.h4
-rw-r--r--sys/arch/pmax/include/endian.h4
-rw-r--r--sys/arch/powerpc/include/endian.h4
-rw-r--r--sys/arch/sparc/include/endian.h4
6 files changed, 18 insertions, 6 deletions
diff --git a/sys/arch/alpha/include/endian.h b/sys/arch/alpha/include/endian.h
index bf347a3d3a2..c217a009b45 100644
--- a/sys/arch/alpha/include/endian.h
+++ b/sys/arch/alpha/include/endian.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: endian.h,v 1.9 1999/05/10 16:02:07 espie Exp $ */
+/* $OpenBSD: endian.h,v 1.10 2001/03/02 20:45:20 jason Exp $ */
/*-
* Copyright (c) 1997 Niklas Hallqvist. All rights reserved.
@@ -35,4 +35,6 @@
#define BYTE_ORDER LITTLE_ENDIAN
#include <sys/endian.h>
+#define __STRICT_ALIGNMENT
+
#endif /* _ALPHA_ENDIAN_H_ */
diff --git a/sys/arch/hppa/include/endian.h b/sys/arch/hppa/include/endian.h
index 48962ada7a8..c5b354043e3 100644
--- a/sys/arch/hppa/include/endian.h
+++ b/sys/arch/hppa/include/endian.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: endian.h,v 1.4 2000/02/02 22:08:55 mickey Exp $ */
+/* $OpenBSD: endian.h,v 1.5 2001/03/02 20:45:21 jason Exp $ */
/*
* Copyright (c) 1998-2000 Michael Shalayeff
@@ -75,4 +75,6 @@
#define BYTE_ORDER BIG_ENDIAN
#include <sys/endian.h>
+#define __STRICT_ALIGNMENT
+
#endif /* !_MACHINE_ENDIAN_H_ */
diff --git a/sys/arch/mvme88k/include/endian.h b/sys/arch/mvme88k/include/endian.h
index b565cad78d9..c975bb410ec 100644
--- a/sys/arch/mvme88k/include/endian.h
+++ b/sys/arch/mvme88k/include/endian.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: endian.h,v 1.10 2001/01/14 20:25:23 smurph Exp $ */
+/* $OpenBSD: endian.h,v 1.11 2001/03/02 20:45:21 jason Exp $ */
/*-
* Copyright (c) 1997 Niklas Hallqvist. All rights reserved.
@@ -35,5 +35,7 @@
#define BYTE_ORDER BIG_ENDIAN
#include <sys/endian.h>
+#define __STRICT_ALIGNMENT
+
#endif __MVME88K_ENDIAN_H__
diff --git a/sys/arch/pmax/include/endian.h b/sys/arch/pmax/include/endian.h
index 2622c865caf..3fe5f73a72f 100644
--- a/sys/arch/pmax/include/endian.h
+++ b/sys/arch/pmax/include/endian.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: endian.h,v 1.12 1999/05/10 16:02:14 espie Exp $ */
+/* $OpenBSD: endian.h,v 1.13 2001/03/02 20:45:21 jason Exp $ */
/*-
* Copyright (c) 1997 Niklas Hallqvist. All rights reserved.
@@ -35,4 +35,6 @@
#define BYTE_ORDER LITTLE_ENDIAN
#include <sys/endian.h>
+#define __STRICT_ALIGNMENT
+
#endif /* _PMAX_ENDIAN_H_ */
diff --git a/sys/arch/powerpc/include/endian.h b/sys/arch/powerpc/include/endian.h
index f116413b033..85078121642 100644
--- a/sys/arch/powerpc/include/endian.h
+++ b/sys/arch/powerpc/include/endian.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: endian.h,v 1.10 1999/05/10 16:02:15 espie Exp $ */
+/* $OpenBSD: endian.h,v 1.11 2001/03/02 20:45:21 jason Exp $ */
/*-
* Copyright (c) 1997 Niklas Hallqvist. All rights reserved.
@@ -35,4 +35,6 @@
#define BYTE_ORDER BIG_ENDIAN
#include <sys/endian.h>
+#define __STRICT_ALIGNMENT
+
#endif /* _POWERPC_ENDIAN_H_ */
diff --git a/sys/arch/sparc/include/endian.h b/sys/arch/sparc/include/endian.h
index f4f12ca5f46..94d2fa33e75 100644
--- a/sys/arch/sparc/include/endian.h
+++ b/sys/arch/sparc/include/endian.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: endian.h,v 1.9 1999/05/10 16:02:15 espie Exp $ */
+/* $OpenBSD: endian.h,v 1.10 2001/03/02 20:45:22 jason Exp $ */
/*-
* Copyright (c) 1997 Niklas Hallqvist. All rights reserved.
@@ -35,4 +35,6 @@
#define BYTE_ORDER BIG_ENDIAN
#include <sys/endian.h>
+#define __STRICT_ALIGNMENT
+
#endif /* _SPARC_ENDIAN_H_ */