Remap .data with fpc specific information to outside normal memory range.

This commit is contained in:
ccrause 2024-08-03 13:07:12 +02:00 committed by FPK
parent 801e14c33b
commit 10ec49d75b

View File

@ -857,12 +857,16 @@ begin
{$ifdef XTENSA}
with linkres do
begin
Add('MEMORY');
Add('{');
Add(' dummy : org = 0x0, len = 0x100');
Add('}');
Add('SECTIONS');
Add('{');
Add(' .data :');
Add(' {');
Add(' KEEP (*(.fpc .fpc.n_version .fpc.n_links))');
Add(' }');
Add(' } > dummy');
Add('}');
end;
{$endif XTENSA}