mirror of
https://github.com/apache/nuttx.git
synced 2026-08-01 20:28:58 +00:00
boards/qemu-intel64: align _etbss to fix TLS block size mismatch
Align _etbss in the linker script so (_etbss - _stdata) matches the compiler's aligned TLS block size. Fix ostest failure for CONFIG_SCHED_THREAD_LOCAL=y Signed-off-by: raiden00pl <raiden00@railab.me>
This commit is contained in:
parent
a9e9607d95
commit
7141f487c0
1 changed files with 1 additions and 0 deletions
|
|
@ -113,6 +113,7 @@ SECTIONS
|
|||
_etdata = ABSOLUTE(.);
|
||||
_stbss = ABSOLUTE(.);
|
||||
*(.tbss .tbss.* .gnu.linkonce.tb.* .tcommon);
|
||||
. = ALIGN(16);
|
||||
_etbss = ABSOLUTE(.);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue