Skip to content

Commit a8bb5fc

Browse files
committed
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).
1 parent cbf7e44 commit a8bb5fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

variants/_ldscripts/build-dynamic.ld

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ SECTIONS {
3636
KEEP (*(.fini))
3737

3838
__static_thread_data_list_start = .;
39-
KEEP(*(SORT_BY_NAME(.__static_thread_data.static.*)));
39+
KEEP(*(SORT_BY_NAME(.static_thread_data_area .__static_thread_data.static.*)));
4040
__static_thread_data_list_end = .;
4141
}
4242

@@ -87,4 +87,4 @@ SECTIONS {
8787
.got : {
8888
KEEP(*(.got .got.* .got.plt .got.plt*))
8989
}
90-
}
90+
}

0 commit comments

Comments
 (0)