From 49395f2b00b01e65331ba4ce11749df8291cb26f Mon Sep 17 00:00:00 2001 From: Nikolay Nikolov Date: Sat, 6 Jan 2024 23:21:37 +0200 Subject: [PATCH] + WASI internal linker: add all object sections, starting with '.bss' to the .bss section --- compiler/systems/t_wasi.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/systems/t_wasi.pas b/compiler/systems/t_wasi.pas index 68aacd8763..5b0233e425 100644 --- a/compiler/systems/t_wasi.pas +++ b/compiler/systems/t_wasi.pas @@ -313,7 +313,7 @@ begin LinkScript.Concat(' OBJSECTION .data.*'); LinkScript.Concat('ENDEXESECTION'); LinkScript.Concat('EXESECTION .bss'); - LinkScript.Concat(' OBJSECTION .bss'); + LinkScript.Concat(' OBJSECTION .bss*'); LinkScript.Concat('ENDEXESECTION'); ScriptAddGenericSections('.debug_abbrev,.debug_info,.debug_line,.debug_aranges,.debug_ranges');