mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 16:49:20 +02:00
+ avr-embedded: keep fpc.* sections, should resolve #39825
This commit is contained in:
parent
bcb5365cca
commit
776c39dc0a
@ -1120,6 +1120,7 @@ begin
|
|||||||
Add(' *(.rodata) /* We need to include .rodata here if gcc is used */');
|
Add(' *(.rodata) /* We need to include .rodata here if gcc is used */');
|
||||||
Add(' *(.rodata*) /* with -fdata-sections. */');
|
Add(' *(.rodata*) /* with -fdata-sections. */');
|
||||||
Add(' *(.gnu.linkonce.d*)');
|
Add(' *(.gnu.linkonce.d*)');
|
||||||
|
add(' KEEP (*(.fpc .fpc.n_version .fpc.n_links))');
|
||||||
Add(' . = ALIGN(2);');
|
Add(' . = ALIGN(2);');
|
||||||
Add(' _edata = . ;');
|
Add(' _edata = . ;');
|
||||||
Add(' PROVIDE (__data_end = .) ;');
|
Add(' PROVIDE (__data_end = .) ;');
|
||||||
|
Loading…
Reference in New Issue
Block a user