aboutsummaryrefslogtreecommitdiffstats
path: root/main/python3/arm-alignment.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/python3/arm-alignment.patch')
-rw-r--r--main/python3/arm-alignment.patch17
1 files changed, 0 insertions, 17 deletions
diff --git a/main/python3/arm-alignment.patch b/main/python3/arm-alignment.patch
deleted file mode 100644
index a7a4b394d9d..00000000000
--- a/main/python3/arm-alignment.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-Author: Dave Jones <dave.jones@canonical.com>
-Description: Use aligned access for _sha3 module on ARM.
---- a/Modules/_sha3/sha3module.c
-+++ b/Modules/_sha3/sha3module.c
-@@ -64,6 +64,12 @@
- #define PLATFORM_BYTE_ORDER IS_BIG_ENDIAN
- #endif
-
-+/* Bus error on 32-bit ARM due to un-aligned memory accesses; 64-bit ARM
-+ * doesn't complain but un-aligned memory accesses are sub-optimal */
-+#if defined(__arm__) || defined(__aarch64__)
-+#define NO_MISALIGNED_ACCESSES
-+#endif
-+
- /* mangle names */
- #define KeccakF1600_FastLoop_Absorb _PySHA3_KeccakF1600_FastLoop_Absorb
- #define Keccak_HashFinal _PySHA3_Keccak_HashFinal