diff options
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/config.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h index 19ee03b4c7..49cd6d610c 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h | |||
@@ -1005,6 +1005,16 @@ Lyre prototype 1 */ | |||
1005 | #define ROCKBOX_STRICT_ALIGN 1 | 1005 | #define ROCKBOX_STRICT_ALIGN 1 |
1006 | #endif | 1006 | #endif |
1007 | 1007 | ||
1008 | /* | ||
1009 | * These macros are for switching on unified syntax in inline assembly. | ||
1010 | * Older versions of GCC emit assembly in divided syntax with no option | ||
1011 | * to enable unified syntax. | ||
1012 | * | ||
1013 | * FIXME: This needs to be looked at after the toolchain bump | ||
1014 | */ | ||
1015 | #define BEGIN_ARM_ASM_SYNTAX_UNIFIED ".syntax unified\n" | ||
1016 | #define END_ARM_ASM_SYNTAX_UNIFIED ".syntax divided\n" | ||
1017 | |||
1008 | #if defined(CPU_ARM) && defined(__ASSEMBLER__) | 1018 | #if defined(CPU_ARM) && defined(__ASSEMBLER__) |
1009 | .syntax unified | 1019 | .syntax unified |
1010 | /* ARMv4T doesn't switch the T bit when popping pc directly, we must use BX */ | 1020 | /* ARMv4T doesn't switch the T bit when popping pc directly, we must use BX */ |