mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 02:07:53 +02:00
+ wasi internal linker: also write the fpc.resources section to the file
This commit is contained in:
parent
e17b6291f5
commit
c4f046f1b8
@ -4635,11 +4635,12 @@ implementation
|
||||
var
|
||||
DataCount: Integer;
|
||||
begin
|
||||
DataCount:=2;
|
||||
DataCount:=3;
|
||||
WriteUleb(FWasmSections[wsiDataCount],DataCount);
|
||||
WriteUleb(FWasmSections[wsiData],DataCount);
|
||||
WriteExeSection(FindExeSection('.rodata'));
|
||||
WriteExeSection(FindExeSection('.data'));
|
||||
WriteExeSection(FindExeSection('fpc.resources'));
|
||||
end;
|
||||
|
||||
procedure WriteTableAndElemSections;
|
||||
|
Loading…
Reference in New Issue
Block a user