RTX5: added explicit check for ARMCC5 in GNU mode (issue
@@ -462,7 +462,7 @@ __asm (
#endif
#if (defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)) || \
- defined (__GNUC__)
+ (defined(__GNUC__) && !defined(__CC_ARM))
extern __attribute__((weak)) uint32_t __os_thread_cb_start__;
extern __attribute__((weak)) uint32_t __os_thread_cb_end__;
