mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-16 10:19:17 +02:00
* patch by ccrause: fixes another .fpc* section problem for AVR, resolves #40162
This commit is contained in:
parent
090e4fea96
commit
586a7d30ab
@ -974,6 +974,7 @@ begin
|
|||||||
Add(' fuse (rw!x) : ORIGIN = 0x820000, LENGTH = 1K');
|
Add(' fuse (rw!x) : ORIGIN = 0x820000, LENGTH = 1K');
|
||||||
Add(' lock (rw!x) : ORIGIN = 0x830000, LENGTH = 1K');
|
Add(' lock (rw!x) : ORIGIN = 0x830000, LENGTH = 1K');
|
||||||
Add(' signature (rw!x) : ORIGIN = 0x840000, LENGTH = 1K');
|
Add(' signature (rw!x) : ORIGIN = 0x840000, LENGTH = 1K');
|
||||||
|
Add(' fpcinfo : ORIGIN = 0xFF0000, LENGTH = 1K');
|
||||||
Add('}');
|
Add('}');
|
||||||
Add('_stack_top = 0x' + IntToHex(srambase+sramsize-1,4) + ';');
|
Add('_stack_top = 0x' + IntToHex(srambase+sramsize-1,4) + ';');
|
||||||
end;
|
end;
|
||||||
@ -1197,7 +1198,7 @@ begin
|
|||||||
Add(' /* DWARF Extension. */');
|
Add(' /* DWARF Extension. */');
|
||||||
Add(' .debug_macro 0 : { *(.debug_macro) }');
|
Add(' .debug_macro 0 : { *(.debug_macro) }');
|
||||||
Add(' .debug_addr 0 : { *(.debug_addr) }');
|
Add(' .debug_addr 0 : { *(.debug_addr) }');
|
||||||
Add(' .fpc (NOLOAD) : { KEEP (*(.fpc .fpc.n_version .fpc.n_links)) }');
|
Add(' .fpc (NOLOAD) : { KEEP (*(.fpc .fpc.n_version .fpc.n_links)) } > fpcinfo');
|
||||||
Add('}');
|
Add('}');
|
||||||
end;
|
end;
|
||||||
{$endif AVR}
|
{$endif AVR}
|
||||||
|
Loading…
Reference in New Issue
Block a user