Updated comments.

Signed-off-by: Matthias Schulz <mschulz@hilscher.com>
This commit is contained in:
Matthias Schulz 2023-11-13 14:01:02 +01:00
parent 35842f52f2
commit e94525bd17

View File

@ -120,9 +120,9 @@ static inline mbedtls_ct_uint_t mbedtls_ct_compiler_opaque(mbedtls_ct_uint_t x)
* On Thumb 2 and Arm, both compilers are happy with the "s" suffix, * On Thumb 2 and Arm, both compilers are happy with the "s" suffix,
* although we don't actually care about setting the flags. * although we don't actually care about setting the flags.
* *
* For old versions of gcc excluding 4.8 and 4.9 (see #8516 for details), * For old versions of gcc (see #8516 for details), restore divided
* restore divided syntax afterwards - otherwise old versions of gcc * syntax afterwards - otherwise old versions of gcc seem to apply
* seem to apply unified syntax globally, which breaks other asm code. * unified syntax globally, which breaks other asm code.
*/ */
#if defined(MBEDTLS_COMPILER_IS_GCC) && defined(__thumb__) && !defined(__thumb2__) && \ #if defined(MBEDTLS_COMPILER_IS_GCC) && defined(__thumb__) && !defined(__thumb2__) && \
(__GNUC__ < 11) && !defined(__ARM_ARCH_2__) (__GNUC__ < 11) && !defined(__ARM_ARCH_2__)