From: Tormod Volden Date: Wed, 3 Jun 2015 17:04:30 +0000 (+0200) Subject: utils: Add text.hot and text.unlikely to dragon* link scripts X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=c083d8335c8b6a6e985c2bdb08e0f54c5a093031;p=FUZIX.git utils: Add text.hot and text.unlikely to dragon* link scripts gcc generated these sections for init, ssh and grep, and they were silently ignored by lwlink. Signed-off-by: Tormod Volden --- diff --git a/Applications/util/dragon-nx32.link b/Applications/util/dragon-nx32.link index 088d6765..493ce582 100644 --- a/Applications/util/dragon-nx32.link +++ b/Applications/util/dragon-nx32.link @@ -2,6 +2,8 @@ define basesympat __sectionbase_%s__ define lensympat __sectionlen_%s__ section .header load 0x8000 section .text +section .text.hot +section .text.unlikely section .text.startup section .data section .bss diff --git a/Applications/util/dragon.link b/Applications/util/dragon.link index b3969aaf..4621f403 100644 --- a/Applications/util/dragon.link +++ b/Applications/util/dragon.link @@ -2,6 +2,8 @@ define basesympat __sectionbase_%s__ define lensympat __sectionlen_%s__ section .header load 0x0800 section .text +section .text.hot +section .text.unlikely section .text.startup section .data section .bss