summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2011-08-22 18:22:07 +0000
committerderaadt <deraadt@openbsd.org>2011-08-22 18:22:07 +0000
commitd05c5bcef1f639bfa4a460d2f7183efef318eaaf (patch)
treeff37026afe64db941faeb5552039331eff843a3c
parentmark setfault() with __returns_twice (diff)
downloadwireguard-openbsd-d05c5bcef1f639bfa4a460d2f7183efef318eaaf.tar.xz
wireguard-openbsd-d05c5bcef1f639bfa4a460d2f7183efef318eaaf.zip
move powerpc to non-__STRICT_ALIGNMENT, as it always was. Essentially
__STRICT_ALIGNMENT is talking about accessing of integer types; it does not cover doubles or floats or other things ok miod kettenis
-rw-r--r--sys/arch/powerpc/include/endian.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/arch/powerpc/include/endian.h b/sys/arch/powerpc/include/endian.h
index 5518c48b398..261a8a0ad08 100644
--- a/sys/arch/powerpc/include/endian.h
+++ b/sys/arch/powerpc/include/endian.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: endian.h,v 1.16 2011/03/23 16:54:36 pirofti Exp $ */
+/* $OpenBSD: endian.h,v 1.17 2011/08/22 18:22:07 deraadt Exp $ */
/*-
* Copyright (c) 1997 Niklas Hallqvist. All rights reserved.
@@ -31,6 +31,4 @@
#define _BYTE_ORDER _BIG_ENDIAN
#include <sys/endian.h>
-#define __STRICT_ALIGNMENT
-
#endif /* _POWERPC_ENDIAN_H_ */