From aac34b411d797443284fbf0da52bb655c2935a46 Mon Sep 17 00:00:00 2001 From: "snappy.mirrorbot@gmail.com" Date: Wed, 4 Jul 2012 09:28:33 +0000 Subject: Mark ARMv4 as not supporting unaligned accesses (not just ARMv5 and ARMv6); apparently Debian still targets these by default, giving us segfaults on armel. R=sanjay git-svn-id: http://snappy.googlecode.com/svn/trunk@64 03e5f5b5-db94-4691-08a0-1a8bf15f6143 --- snappy-stubs-internal.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'snappy-stubs-internal.h') diff --git a/snappy-stubs-internal.h b/snappy-stubs-internal.h index 6817c2b..12393b6 100644 --- a/snappy-stubs-internal.h +++ b/snappy-stubs-internal.h @@ -118,6 +118,8 @@ static const int64 kint64max = static_cast(0x7FFFFFFFFFFFFFFFLL); // This is a mess, but there's not much we can do about it. #elif defined(__arm__) && \ + !defined(__ARM_ARCH_4__) && \ + !defined(__ARM_ARCH_4T__) && \ !defined(__ARM_ARCH_5__) && \ !defined(__ARM_ARCH_5T__) && \ !defined(__ARM_ARCH_5TE__) && \ -- cgit v1.2.1