summaryrefslogtreecommitdiff
path: root/bsp/env/freedom-e300-hifive1
diff options
context:
space:
mode:
Diffstat (limited to 'bsp/env/freedom-e300-hifive1')
-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 90e5c8f..08b196f 100644
--- a/bsp/env/freedom-e300-hifive1/link.lds
+++ b/bsp/env/freedom-e300-hifive1/link.lds
@@ -123,6 +123,7 @@ SECTIONS
} >ram AT>flash :ram_init
.srodata :
+ ALIGN(8)
{
PROVIDE( _gp = . + 0x800 );
*(.srodata.cst16)
@@ -133,6 +134,7 @@ SECTIONS
} >ram AT>flash :ram_init
.sdata :
+ ALIGN(8)
{
*(.sdata .sdata.*)
*(.gnu.linkonce.s.*)