extinguish opened a new pull request, #14825:
URL: https://github.com/apache/nuttx/pull/14825

   ## Summary
   
   In the GreenHills compiler, the predefined macros for thumb mode detection 
are different from those in the GCC compiler. The judgment needs to be made 
through __THUMB_AWARE__ and __THUMB2_AWARE__.
   If the wrong macros are used in GreenHills, it will be impossible to 
determine whether the current mode is thumb mode or not. Consequently, the 
wrong **SYS_smhcall** will be used, and then a compilation error will occur.
   
   ## Impact
   
   Has no impact on current implementation
   
   ## Testing
   
   1. has passed the ostest
   2. has tested on GHS and GCC compiler
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to