From a8bb5fc43154e6894c6291e653bf990d22cc2df4 Mon Sep 17 00:00:00 2001 From: Luca Burelli Date: Wed, 15 Oct 2025 16:04:53 +0200 Subject: [PATCH] ldscripts: fix static thread data section name Add more name alternatives to the linker script to match the actual section names generated by GCC in some configurations (this was from a UNO Q build of the weather forecast sketch). --- variants/_ldscripts/build-dynamic.ld | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/variants/_ldscripts/build-dynamic.ld b/variants/_ldscripts/build-dynamic.ld index 47d353655..60fa92ac8 100644 --- a/variants/_ldscripts/build-dynamic.ld +++ b/variants/_ldscripts/build-dynamic.ld @@ -36,7 +36,7 @@ SECTIONS { KEEP (*(.fini)) __static_thread_data_list_start = .; - KEEP(*(SORT_BY_NAME(.__static_thread_data.static.*))); + KEEP(*(SORT_BY_NAME(.static_thread_data_area .__static_thread_data.static.*))); __static_thread_data_list_end = .; } @@ -87,4 +87,4 @@ SECTIONS { .got : { KEEP(*(.got .got.* .got.plt .got.plt*)) } -} \ No newline at end of file +}