From 1f476504fe64b5ea066cdd027bded4c50b2f3d82 Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Sun, 14 Oct 2012 14:36:09 +0200 Subject: Update comment: SPARC requires proper alignment --- Modules/_sha3/sha3module.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Modules/_sha3') diff --git a/Modules/_sha3/sha3module.c b/Modules/_sha3/sha3module.c index ac568b83f9..bde474f8f8 100644 --- a/Modules/_sha3/sha3module.c +++ b/Modules/_sha3/sha3module.c @@ -96,7 +96,8 @@ * *************************************************************************/ #ifdef __sparc - /* On SPARC with Solaris CC opt64 fails with 'invalid address alignment' */ + /* opt64 uses un-aligned memory access that causes a BUS error with msg + * 'invalid address alignment' on SPARC. */ #define KeccakOpt 32 #elif SIZEOF_VOID_P == 8 && defined(PY_UINT64_T) /* opt64 works only for 64bit platforms with unsigned int64 */ -- cgit v1.2.1