summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsnappy.mirrorbot@gmail.com <snappy.mirrorbot@gmail.com@03e5f5b5-db94-4691-08a0-1a8bf15f6143>2012-07-04 09:28:33 +0000
committersnappy.mirrorbot@gmail.com <snappy.mirrorbot@gmail.com@03e5f5b5-db94-4691-08a0-1a8bf15f6143>2012-07-04 09:28:33 +0000
commitaac34b411d797443284fbf0da52bb655c2935a46 (patch)
tree7284012a8d2e92819a08c5671a0759e7a3b86390
parent450d5388e3003ffd8599a34ec7cc854b81937582 (diff)
downloadsnappy-aac34b411d797443284fbf0da52bb655c2935a46.tar.gz
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
-rw-r--r--snappy-stubs-internal.h2
1 files changed, 2 insertions, 0 deletions
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<int64>(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__) && \