Thread local storage is broken when adding more thread variables #32015
Labels
area: Kernel
bug
The issue is a bug, or the PR is fixing a bug
priority: medium
Medium impact/importance bug
When adding a
uint64_t
to the TLS test app, the test starts to fail. This is due to bothtdata
andtbss
regions are not aligned correctly in the stack. Further testing shows that the test fails whentdata
ortbss
section in ELF is of size 1, 3, 5, 6, 7, and >9 (when not a multiple of 8).The text was updated successfully, but these errors were encountered: