aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/mbedtls/patches/300-bn_mul.h-Use-optimized-MULADDC-code-only-on-ARM-6.patch
diff options
context:
space:
mode:
authorMagnus Kroken <mkroken@gmail.com>2019-09-18 21:14:18 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2019-09-20 19:32:04 +0200
commit49d96ffc5c47e40b7f3d99a91a42ea8a54a38bd9 (patch)
tree28a22c5ccf766028aa94866aae5bedab4c08cc0e /package/libs/mbedtls/patches/300-bn_mul.h-Use-optimized-MULADDC-code-only-on-ARM-6.patch
parent977a8fc5fc2e1be6d159b2d9e1c617826b5d9701 (diff)
downloadupstream-49d96ffc5c47e40b7f3d99a91a42ea8a54a38bd9.tar.gz
upstream-49d96ffc5c47e40b7f3d99a91a42ea8a54a38bd9.tar.bz2
upstream-49d96ffc5c47e40b7f3d99a91a42ea8a54a38bd9.zip
mbedtls: update to 2.16.3
Remove 300-bn_mul.h-Use-optimized-MULADDC-code-only-on-ARM-6.patch, the issue has been fixed upstream. Signed-off-by: Magnus Kroken <mkroken@gmail.com>
Diffstat (limited to 'package/libs/mbedtls/patches/300-bn_mul.h-Use-optimized-MULADDC-code-only-on-ARM-6.patch')
-rw-r--r--package/libs/mbedtls/patches/300-bn_mul.h-Use-optimized-MULADDC-code-only-on-ARM-6.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/package/libs/mbedtls/patches/300-bn_mul.h-Use-optimized-MULADDC-code-only-on-ARM-6.patch b/package/libs/mbedtls/patches/300-bn_mul.h-Use-optimized-MULADDC-code-only-on-ARM-6.patch
deleted file mode 100644
index 757d83f49c..0000000000
--- a/package/libs/mbedtls/patches/300-bn_mul.h-Use-optimized-MULADDC-code-only-on-ARM-6.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From 7aff5a70f3580426865b6c86437a3e47546d13f7 Mon Sep 17 00:00:00 2001
-From: Hauke Mehrtens <hauke@hauke-m.de>
-Date: Sun, 16 Dec 2018 13:02:49 +0100
-Subject: [PATCH] bn_mul.h: Use optimized MULADDC code only on ARM >= 6
-
-The optimized code uses umaal which was only introduced with ARMv6 and
-is not available on older versions.
-This broke compilation with arm926ej-s CPU for me.
-
-Fixes: 16b1bd89326 ("bn_mul.h: add ARM DSP optimized MULADDC code")
-Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
----
- include/mbedtls/bn_mul.h | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
---- a/include/mbedtls/bn_mul.h
-+++ b/include/mbedtls/bn_mul.h
-@@ -644,7 +644,8 @@
- "r6", "r7", "r8", "r9", "cc" \
- );
-
--#elif defined (__ARM_FEATURE_DSP) && (__ARM_FEATURE_DSP == 1)
-+#elif defined (__ARM_FEATURE_DSP) && (__ARM_FEATURE_DSP == 1) && \
-+ __TARGET_ARCH_ARM >= 6
-
- #define MULADDC_INIT \
- asm(