MLECO-3608: Fix memory regions for gcc linker.
Move `text` to .text.at_bram. We have to do it explicitly when linking
with gcc (ld).
Signed-off-by: Maksims Svecovs <maksims.svecovs@arm.com>
Change-Id: Ib3c377227790568046c9495792d186e45ab06c15
diff --git a/scripts/cmake/platforms/mps3/sse-310/mps3-sse-310.ld b/scripts/cmake/platforms/mps3/sse-310/mps3-sse-310.ld
index a631aaa..724b72e 100644
--- a/scripts/cmake/platforms/mps3/sse-310/mps3-sse-310.ld
+++ b/scripts/cmake/platforms/mps3/sse-310/mps3-sse-310.ld
@@ -72,6 +72,7 @@
.text.at_bram :
{
KEEP(*(.vectors))
+ *(.text*)
KEEP(*(.init))
KEEP(*(.fini))
@@ -91,7 +92,7 @@
*(.dtors)
KEEP(*(.eh_frame*))
-
+
*(vtable)
*(.data)
*(.data.*)
@@ -166,7 +167,7 @@
__zero_table_end__ = .;
} > BRAM
-
+
.heap (COPY) :
{
. = ALIGN(8);