* WebAssembly internal linker: add the .tbss section size to the result of GetBssSize

This commit is contained in:
Nikolay Nikolov 2024-08-11 03:29:39 +03:00
parent 8833fabb4b
commit 7b05051fc1

View File

@ -378,6 +378,7 @@ end;
function TInternalLinkerWasi.GetBssSize(aExeOutput: TExeOutput): QWord;
begin
Result:=GetExeSectionSize(aExeOutput,'.bss') +
GetExeSectionSize(aExeOutput,'.tbss') +
GetExeSectionSize(aExeOutput,'fpc.reshandles');
end;