summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ld_script_modern.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/ld_script_modern.txt b/ld_script_modern.txt
index d12d99456..b69ada864 100644
--- a/ld_script_modern.txt
+++ b/ld_script_modern.txt
@@ -50,6 +50,15 @@ SECTIONS {
asm/*.o(.text);
} =0
+ .text.unlikely :
+ ALIGN(4)
+ {
+ src/crt0.o(.text.unlikely);
+ src/*.o(.text.unlikely);
+ gflib/*.o(.text.unlikely);
+ asm/*.o(.text.unlikely);
+ } =0
+
script_data :
ALIGN(4)
{