diff --git a/compiler/systems/t_wasi.pas b/compiler/systems/t_wasi.pas index 1d389c7f75..2ea216d186 100644 --- a/compiler/systems/t_wasi.pas +++ b/compiler/systems/t_wasi.pas @@ -378,6 +378,7 @@ end; function TInternalLinkerWasi.GetBssSize(aExeOutput: TExeOutput): QWord; begin Result:=GetExeSectionSize(aExeOutput,'.bss') + + GetExeSectionSize(aExeOutput,'.tbss') + GetExeSectionSize(aExeOutput,'fpc.reshandles'); end;