* implementation of TInternalLinkerWasi.DefaultLinkScript. Create a script that reads all the object files.

This commit is contained in:
Nikolay Nikolov 2023-12-24 12:45:18 +02:00
parent 54eb8de658
commit 34445a912a

View File

@ -289,8 +289,15 @@ end;
{ TInternalLinkerWasi }
procedure TInternalLinkerWasi.DefaultLinkScript;
var
s: TCmdStr;
begin
{TODO}
while not ObjectFiles.Empty do
begin
s:=ObjectFiles.GetFirst;
if s<>'' then
LinkScript.Concat('READOBJECT ' + maybequoted(s));
end;
end;
function TInternalLinkerWasi.GetCodeSize(aExeOutput: TExeOutput): QWord;