raiden00pl commented on PR #15345:
URL: https://github.com/apache/nuttx/pull/15345#issuecomment-2906871526

   @xiaoxiang781216 you are wrong. This change is exactly to blame. 
   `nxsig_deliver()` can't be properly optimized by compiler now, even if the 
signals are not used by the system. 
   
   Here is the output from `nm` before this change, showing 4 largest symbols:
   
   ```
   00000184 T __start
   00000188 T _vectors
   000001a8 t group_leave
   0000073c t nx_start
   ```
   
   and here is the output after this change:
   
   ```
   00000184 T __start
   00000188 T _vectors
   00000578 t nxsig_deliver
   000007f0 t nx_start
   ```
   
   nxsig_deliver -> 0x578 = 1400B. The rest of wasted FLASH must come from some 
auxiliary functions which are also not optimized properly.


-- 
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