summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bsp/env/coreplexip-e31-arty/link.lds2
-rw-r--r--bsp/env/freedom-e300-hifive1/link.lds2
2 files changed, 4 insertions, 0 deletions
diff --git a/bsp/env/coreplexip-e31-arty/link.lds b/bsp/env/coreplexip-e31-arty/link.lds
index 45a82d7..4e41577 100644
--- a/bsp/env/coreplexip-e31-arty/link.lds
+++ b/bsp/env/coreplexip-e31-arty/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.*)
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.*)