utils: Add text.hot and text.unlikely to dragon* link scripts
authorTormod Volden <debian.tormod@gmail.com>
Wed, 3 Jun 2015 17:04:30 +0000 (19:04 +0200)
committerAlan Cox <alan@linux.intel.com>
Wed, 3 Jun 2015 17:16:24 +0000 (18:16 +0100)
gcc generated these sections for init, ssh and grep, and they
were silently ignored by lwlink.

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Applications/util/dragon-nx32.link
Applications/util/dragon.link

index 088d676..493ce58 100644 (file)
@@ -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
index b3969aa..4621f40 100644 (file)
@@ -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