This is an automated email from the ASF dual-hosted git repository.

xiaoxiang781216 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 7141f487c0fafd757703c0a52604b6f35ed31e94
Author: raiden00pl <[email protected]>
AuthorDate: Tue Apr 21 11:31:59 2026 +0200

    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 <[email protected]>
---
 boards/x86_64/qemu/qemu-intel64/scripts/qemu.ld | 1 +
 1 file changed, 1 insertion(+)

diff --git a/boards/x86_64/qemu/qemu-intel64/scripts/qemu.ld 
b/boards/x86_64/qemu/qemu-intel64/scripts/qemu.ld
index bbdb75c6a9b..ebeae91dd52 100644
--- a/boards/x86_64/qemu/qemu-intel64/scripts/qemu.ld
+++ b/boards/x86_64/qemu/qemu-intel64/scripts/qemu.ld
@@ -113,6 +113,7 @@ SECTIONS
         _etdata = ABSOLUTE(.);
         _stbss = ABSOLUTE(.);
         *(.tbss .tbss.* .gnu.linkonce.tb.* .tcommon);
+        . = ALIGN(16);
         _etbss = ABSOLUTE(.);
     }
 

Reply via email to