summaryrefslogtreecommitdiff
path: root/compiler/systems/t_embed.pas
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/systems/t_embed.pas')
-rw-r--r--compiler/systems/t_embed.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/systems/t_embed.pas b/compiler/systems/t_embed.pas
index 7a7fd67a53..a1a2c52fb5 100644
--- a/compiler/systems/t_embed.pas
+++ b/compiler/systems/t_embed.pas
@@ -267,7 +267,7 @@ begin
Add('{');
Add(' .text :');
Add(' {');
- Add(' *(.init, .init.*)');
+ Add(' KEEP(*(.init, .init.*))');
Add(' *(.text, .text.*)');
Add(' *(.strings)');
Add(' *(.rodata, .rodata.*)');