From 0f7bac0247ae4bbb6b4e51c72d4d5a25560ae2fe Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Tue, 20 Dec 2016 15:46:45 -0800 Subject: Separate .text.unlikely and .text.startup from .text This improves the instruction stream's spatial locality. --- bsp/env/freedom-e300-hifive1/link.lds | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bsp/env') 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 -- cgit v1.2.3