Use XXH_FORCE_MEMORY_ACCESS 1 instead of XXH_FORCE_MEMORY_ACCESS 2 on armv6 to fix...
authorPeter Michael Green <pluwash@raspbian.org>
Sat, 3 Sep 2022 06:52:39 +0000 (07:52 +0100)
committerPeter Michael Green <plugwash@raspbian.org>
Sat, 3 Sep 2022 06:52:39 +0000 (07:52 +0100)
Gbp-Pq: Name fix-unaligned-access-on-armv6.patch

lib/xxhash.c

index ff28749e316434a13123667848e6692e35bfb059..6f1c3d05f71b48903488befb0493baa3d42166cd 100644 (file)
@@ -53,7 +53,7 @@
 #  if defined(__GNUC__) && ( defined(__ARM_ARCH_6__) || defined(__ARM_ARCH_6J__) \
                         || defined(__ARM_ARCH_6K__) || defined(__ARM_ARCH_6Z__) \
                         || defined(__ARM_ARCH_6ZK__) || defined(__ARM_ARCH_6T2__) )
-#    define XXH_FORCE_MEMORY_ACCESS 2
+#    define XXH_FORCE_MEMORY_ACCESS 1
 #  elif (defined(__INTEL_COMPILER) && !defined(_WIN32)) || \
   (defined(__GNUC__) && ( defined(__ARM_ARCH_7__) || defined(__ARM_ARCH_7A__) \
                     || defined(__ARM_ARCH_7R__) || defined(__ARM_ARCH_7M__) \