parthitce opened a new pull request, #21498: URL: https://github.com/apache/nuttx/pull/21498
## Summary GCC for v850 prefixes C symbols with "_". The asm names in the builtin and fortify wrappers did not, so RH850 (#21456) fails to link. compiler.h now builds those names with __USER_LABEL_PREFIX__ and STRINGIFY from nuttx/macro.h, as suggested in #21456. The first commit drops the local STRINGIFY of six BBSRAM/SBRAM board files, which would otherwise clash with macro.h. ## Impact No change on targets without a label prefix. Programs built with NUTTX_NO_EXTENSIONS now also see the macro.h names. ## Testing Before/after on master 1e2204ce65: sim:nsh and stm32f4discovery:nsh give the same sizes, symbols and function bodies. FORTIFY_SOURCE=2 builds. nucleo-f429zi with BBSRAM failed with "STRINGIFY redefined" without the first commit and builds with it. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
