mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-02-10 15:40:30 +00:00
Enable 64-bit limbs for all Aarch64 builds.
GCC and Clang do not define __ARMCC_VERSION when building for Aarch64. Yet they should also use 64-bit limbs for Aarch64 builds.
This commit is contained in:
parent
822b8f65bd
commit
03d2daf55c
@ -140,9 +140,8 @@
|
|||||||
typedef unsigned int mbedtls_t_udbl __attribute__((mode(TI)));
|
typedef unsigned int mbedtls_t_udbl __attribute__((mode(TI)));
|
||||||
#define MBEDTLS_HAVE_UDBL
|
#define MBEDTLS_HAVE_UDBL
|
||||||
#endif /* !MBEDTLS_NO_UDBL_DIVISION */
|
#endif /* !MBEDTLS_NO_UDBL_DIVISION */
|
||||||
#elif defined(__ARMCC_VERSION) && defined(__aarch64__)
|
#elif defined(__aarch64__)
|
||||||
/*
|
/*
|
||||||
* __ARMCC_VERSION is defined for both armcc and armclang and
|
|
||||||
* __aarch64__ is only defined by armclang when compiling 64-bit code
|
* __aarch64__ is only defined by armclang when compiling 64-bit code
|
||||||
*/
|
*/
|
||||||
#if !defined(MBEDTLS_HAVE_INT64)
|
#if !defined(MBEDTLS_HAVE_INT64)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user