Add comments about gcc-5
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
parent
2f2c04956d
commit
8ae6a0193c
1 changed files with 4 additions and 1 deletions
|
@ -54,7 +54,10 @@
|
||||||
# pragma clang attribute push (__attribute__((target("crypto"))), apply_to=function)
|
# pragma clang attribute push (__attribute__((target("crypto"))), apply_to=function)
|
||||||
# define MBEDTLS_POP_TARGET_PRAGMA
|
# define MBEDTLS_POP_TARGET_PRAGMA
|
||||||
# elif defined(__GNUC__)
|
# elif defined(__GNUC__)
|
||||||
# if __GNUC__ < 6 /* TODO: check sha256 compatible for GCC */
|
/* FIXME: GCC-5 annouce crypto extension, but some intrinsic are missed.
|
||||||
|
* Known miss intrinsic can be workaround.
|
||||||
|
*/
|
||||||
|
# if __GNUC__ < 6
|
||||||
# error "A more recent GCC is required for MBEDTLS_SHA256_USE_A64_CRYPTO_*"
|
# error "A more recent GCC is required for MBEDTLS_SHA256_USE_A64_CRYPTO_*"
|
||||||
# else
|
# else
|
||||||
# pragma GCC push_options
|
# pragma GCC push_options
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue