mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-04-18 05:42:35 +00:00
fixes invalid default choice of thumb assembler syntax.
Signed-off-by: Matthias Schulz <mschulz@hilscher.com>
This commit is contained in:
parent
4122c16abd
commit
2e068cef09
@ -123,7 +123,7 @@ static inline mbedtls_ct_uint_t mbedtls_ct_compiler_opaque(mbedtls_ct_uint_t x)
|
|||||||
* For gcc, restore divided syntax afterwards - otherwise old versions of gcc
|
* For gcc, restore divided syntax afterwards - otherwise old versions of gcc
|
||||||
* seem to apply unified syntax globally, which breaks other asm code.
|
* seem to apply unified syntax globally, which breaks other asm code.
|
||||||
*/
|
*/
|
||||||
#if !defined(__clang__)
|
#if !defined(__clang__) && !(__GNUC__ == 4 && __GNUC_MINOR__ == 9)
|
||||||
#define RESTORE_ASM_SYNTAX ".syntax divided \n\t"
|
#define RESTORE_ASM_SYNTAX ".syntax divided \n\t"
|
||||||
#else
|
#else
|
||||||
#define RESTORE_ASM_SYNTAX
|
#define RESTORE_ASM_SYNTAX
|
||||||
|
Loading…
x
Reference in New Issue
Block a user