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

This commit is contained in:
ccrause 2024-05-19 14:14:03 +02:00 committed by FPK
parent ceb4d6fe8f
commit 8f106b616b

View File

@ -835,12 +835,16 @@ begin
{$ifdef RISCV32}
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 RISCV32}