patacongo opened a new pull request #977: URL: https://github.com/apache/incubator-nuttx/pull/977
## Summary TLS has been NuttX for a long time, but has only been truly usable KERNEL build mode. That was due primarily large stack alignement that was required for TLS to work. This PR implements TLS using an unaligned stack. This is less efficient since it does involve a system call to get the base stack address. However, it can no be generalized to all build modes. This is an initial step in implementing an errno that supports read/write access in all build modes. ## Impact Since TLS is not currently used in any configuration, there should be no impact of this change. ## Testing The change was verified using the sim:ostest configuration. The configuration was modified to enable TLS. This enables the TLS test at apps/testing/ostest/tls.c ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org