From 2bba2ce1a1ab20d9c7a1ac8826929cf67da5659e Mon Sep 17 00:00:00 2001 From: GriffinR Date: Sun, 7 Mar 2021 17:24:30 -0500 Subject: [PATCH] Link .text.unlikely for modern --- ld_script_modern.txt | 9 +++++++++ 1 file changed, 9 insertions(+) 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) {