mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-17 03:59:28 +02:00
+ wasm internal linker: count the 'fpc.resources' section towards the binary
data size
This commit is contained in:
parent
07da0058e3
commit
2828752587
@ -309,7 +309,8 @@ end;
|
||||
function TInternalLinkerWasi.GetDataSize(aExeOutput: TExeOutput): QWord;
|
||||
begin
|
||||
Result:=aExeOutput.findexesection('.rodata').size +
|
||||
aExeOutput.findexesection('.data').size;
|
||||
aExeOutput.findexesection('.data').size +
|
||||
aExeOutput.findexesection('fpc.resources').size;
|
||||
end;
|
||||
|
||||
constructor TInternalLinkerWasi.create;
|
||||
|
Loading…
Reference in New Issue
Block a user