|
@@ -298,6 +298,17 @@ begin
|
|
if s<>'' then
|
|
if s<>'' then
|
|
LinkScript.Concat('READOBJECT ' + maybequoted(s));
|
|
LinkScript.Concat('READOBJECT ' + maybequoted(s));
|
|
end;
|
|
end;
|
|
|
|
+
|
|
|
|
+ LinkScript.Concat('EXESECTION .text');
|
|
|
|
+ LinkScript.Concat(' OBJSECTION .text.*');
|
|
|
|
+ LinkScript.Concat('ENDEXESECTION');
|
|
|
|
+
|
|
|
|
+ LinkScript.Concat('EXESECTION .data');
|
|
|
|
+ LinkScript.Concat(' OBJSECTION .rodata.*');
|
|
|
|
+ LinkScript.Concat(' OBJSECTION .data.*');
|
|
|
|
+ LinkScript.Concat(' OBJSECTION .bss');
|
|
|
|
+ LinkScript.Concat('ENDEXESECTION');
|
|
|
|
+
|
|
end;
|
|
end;
|
|
|
|
|
|
function TInternalLinkerWasi.GetCodeSize(aExeOutput: TExeOutput): QWord;
|
|
function TInternalLinkerWasi.GetCodeSize(aExeOutput: TExeOutput): QWord;
|