summaryrefslogtreecommitdiff
path: root/bsp
diff options
context:
space:
mode:
authorAndrew Waterman <andrew@sifive.com>2016-12-20 15:46:45 -0800
committerAndrew Waterman <andrew@sifive.com>2016-12-20 19:15:40 -0800
commit0f7bac0247ae4bbb6b4e51c72d4d5a25560ae2fe (patch)
tree1243cafba4c9760d9f0874ddfb7bae9a450a47f0 /bsp
parentadecf626f023ee974e502703bdd024aceb9c7678 (diff)
Separate .text.unlikely and .text.startup from .text
This improves the instruction stream's spatial locality.
Diffstat (limited to 'bsp')
-rw-r--r--bsp/env/freedom-e300-hifive1/link.lds2
1 files changed, 2 insertions, 0 deletions
diff --git a/bsp/env/freedom-e300-hifive1/link.lds b/bsp/env/freedom-e300-hifive1/link.lds
index e224273..90e5c8f 100644
--- a/bsp/env/freedom-e300-hifive1/link.lds
+++ b/bsp/env/freedom-e300-hifive1/link.lds
@@ -26,6 +26,8 @@ SECTIONS
.text :
{
+ *(.text.unlikely .text.unlikely.*)
+ *(.text.startup .text.startup.*)
*(.text .text.*)
*(.gnu.linkonce.t.*)
} >flash AT>flash :flash