mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 01:27:55 +02:00
+ add .text, .data and .bss exe sections and define the entry point in the ZX Spectrum internal linker script
git-svn-id: trunk@45560 -
This commit is contained in:
parent
6d3bfccbe3
commit
a91b42bd8d
@ -359,6 +359,20 @@ procedure TInternalLinkerZXSpectrum.DefaultLinkScript;
|
||||
end;
|
||||
end;
|
||||
LinkScript.Concat('ENDGROUP');
|
||||
|
||||
LinkScript.Concat('EXESECTION .text');
|
||||
LinkScript.Concat(' OBJSECTION _CODE');
|
||||
LinkScript.Concat('ENDEXESECTION');
|
||||
LinkScript.Concat('EXESECTION .data');
|
||||
LinkScript.Concat(' OBJSECTION _DATA');
|
||||
LinkScript.Concat('ENDEXESECTION');
|
||||
LinkScript.Concat('EXESECTION .bss');
|
||||
LinkScript.Concat(' OBJSECTION .bss');
|
||||
LinkScript.Concat(' OBJSECTION .heap');
|
||||
LinkScript.Concat(' OBJSECTION .stack');
|
||||
LinkScript.Concat('ENDEXESECTION');
|
||||
|
||||
LinkScript.Concat('ENTRYNAME start');
|
||||
end;
|
||||
|
||||
function TInternalLinkerZXSpectrum.GetCodeSize(aExeOutput: TExeOutput): QWord;
|
||||
|
Loading…
Reference in New Issue
Block a user