summaryrefslogtreecommitdiff
path: root/bsp/env/coreplexip-e31-arty
diff options
context:
space:
mode:
Diffstat (limited to 'bsp/env/coreplexip-e31-arty')
-rw-r--r--bsp/env/coreplexip-e31-arty/link.lds16
1 files changed, 7 insertions, 9 deletions
diff --git a/bsp/env/coreplexip-e31-arty/link.lds b/bsp/env/coreplexip-e31-arty/link.lds
index 4e41577..739bc48 100644
--- a/bsp/env/coreplexip-e31-arty/link.lds
+++ b/bsp/env/coreplexip-e31-arty/link.lds
@@ -122,10 +122,15 @@ SECTIONS
*(.gnu.linkonce.d.*)
} >ram AT>flash :ram_init
- .srodata :
- ALIGN(8)
+ .sdata :
{
PROVIDE( _gp = . + 0x800 );
+ *(.sdata .sdata.*)
+ *(.gnu.linkonce.s.*)
+ } >ram AT>flash :ram_init
+
+ .srodata :
+ {
*(.srodata.cst16)
*(.srodata.cst8)
*(.srodata.cst4)
@@ -133,13 +138,6 @@ SECTIONS
*(.srodata .srodata.*)
} >ram AT>flash :ram_init
- .sdata :
- ALIGN(8)
- {
- *(.sdata .sdata.*)
- *(.gnu.linkonce.s.*)
- } >ram AT>flash :ram_init
-
. = ALIGN(4);
PROVIDE( _edata = . );
PROVIDE( edata = . );