mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-26 03:05:44 +01:00
Merge remote-tracking branch 'upstream-public/pr/2778' into mbedtls-2.16
This commit is contained in:
commit
7a93214f15
@ -15,6 +15,9 @@ Bugfix
|
|||||||
* Fix misuse of signed arithmetic in the HAVEGE module. #2598
|
* Fix misuse of signed arithmetic in the HAVEGE module. #2598
|
||||||
* Update test certificates that were about to expire. Reported by
|
* Update test certificates that were about to expire. Reported by
|
||||||
Bernhard M. Wiedemann in #2357.
|
Bernhard M. Wiedemann in #2357.
|
||||||
|
* Fix the build on ARMv5TE in ARM mode to not use assembly instructions
|
||||||
|
that are only available in Thumb mode. Fix contributed by Aurelien Jarno
|
||||||
|
in #2169.
|
||||||
|
|
||||||
Changes
|
Changes
|
||||||
* Make it easier to define MBEDTLS_PARAM_FAILED as assert (which config.h
|
* Make it easier to define MBEDTLS_PARAM_FAILED as assert (which config.h
|
||||||
|
@ -642,7 +642,8 @@
|
|||||||
"r6", "r7", "r8", "r9", "cc" \
|
"r6", "r7", "r8", "r9", "cc" \
|
||||||
);
|
);
|
||||||
|
|
||||||
#elif defined (__ARM_FEATURE_DSP) && (__ARM_FEATURE_DSP == 1)
|
#elif (__ARM_ARCH >= 6) && \
|
||||||
|
defined (__ARM_FEATURE_DSP) && (__ARM_FEATURE_DSP == 1)
|
||||||
|
|
||||||
#define MULADDC_INIT \
|
#define MULADDC_INIT \
|
||||||
asm(
|
asm(
|
||||||
|
@ -1080,6 +1080,17 @@ component_build_arm_none_eabi_gcc () {
|
|||||||
make CC=arm-none-eabi-gcc AR=arm-none-eabi-ar LD=arm-none-eabi-ld CFLAGS='-Werror -Wall -Wextra' lib
|
make CC=arm-none-eabi-gcc AR=arm-none-eabi-ar LD=arm-none-eabi-ld CFLAGS='-Werror -Wall -Wextra' lib
|
||||||
}
|
}
|
||||||
|
|
||||||
|
component_build_arm_none_eabi_gcc_arm5vte () {
|
||||||
|
msg "build: arm-none-eabi-gcc -march=arm5vte, make" # ~ 10s
|
||||||
|
scripts/config.pl baremetal
|
||||||
|
# Build for a target platform that's close to what Debian uses
|
||||||
|
# for its "armel" distribution (https://wiki.debian.org/ArmEabiPort).
|
||||||
|
# See https://github.com/ARMmbed/mbedtls/pull/2169 and comments.
|
||||||
|
# It would be better to build with arm-linux-gnueabi-gcc but
|
||||||
|
# we don't have that on our CI at this time.
|
||||||
|
make CC=arm-none-eabi-gcc AR=arm-none-eabi-ar CFLAGS='-Werror -Wall -Wextra -march=armv5te -O1' LDFLAGS='-march=armv5te' SHELL='sh -x' lib
|
||||||
|
}
|
||||||
|
|
||||||
component_build_arm_none_eabi_gcc_no_udbl_division () {
|
component_build_arm_none_eabi_gcc_no_udbl_division () {
|
||||||
msg "build: arm-none-eabi-gcc -DMBEDTLS_NO_UDBL_DIVISION, make" # ~ 10s
|
msg "build: arm-none-eabi-gcc -DMBEDTLS_NO_UDBL_DIVISION, make" # ~ 10s
|
||||||
scripts/config.pl baremetal
|
scripts/config.pl baremetal
|
||||||
|
Loading…
Reference in New Issue
Block a user