mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-06 09:07:59 +02:00
+ create exe sections in the wasi internal linker script
This commit is contained in:
parent
eeae32669e
commit
605740fd0a
@ -298,6 +298,17 @@ begin
|
||||
if s<>'' then
|
||||
LinkScript.Concat('READOBJECT ' + maybequoted(s));
|
||||
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;
|
||||
|
||||
function TInternalLinkerWasi.GetCodeSize(aExeOutput: TExeOutput): QWord;
|
||||
|
Loading…
Reference in New Issue
Block a user