TLS works fine on MIPS.
Details
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
why is this no longer needed? why was it done in the first place?
The change itself looks good, but a few words towards answering either of these questions would help our future selves sort this out.
Hmmm, so __NO_TLS was first added in 82dd5016bd749d1d9e1531bd1703aebeecceab34 to support locale extensions in libc. I think it means that the compiler doesn't support TLS in the form of the _Thread keyword. Maybe this was due to GCC 4.2? The log message isn't super clear. It doesn't guard other TLS usage such as in jemalloc which was compiled with GCC 4.2. so it's hard to understand how long this has been rotted.
This is good information to include in the commit, since it gives the context for why it was there originally, and why it's no longer needed. 8 years ago is getting into the range of 'overcome by other events and not cleaned up'