Align sections in kelvin_tcm to 16-bytes
Change-Id: Iea690f2c1625df22d5dba69a752f30a56618838c
diff --git a/crt/kelvin_tcm.ld b/crt/kelvin_tcm.ld
index 68b3276..b498a59 100644
--- a/crt/kelvin_tcm.ld
+++ b/crt/kelvin_tcm.ld
@@ -15,30 +15,30 @@
SECTIONS {
/* ITCM data here */
. = ORIGIN(ITCM);
- .text : ALIGN(4) {
+ .text : ALIGN(16) {
*(._init)
*(.text)
*(.text.*)
- . = ALIGN(4);
+ . = ALIGN(16);
} > ITCM
- .init.array : ALIGN(4) {
+ .init.array : ALIGN(16) {
__init_array_start = .;
*(.init_array)
*(.init_array.*)
- . = ALIGN(4);
+ . = ALIGN(16);
__init_array_end = .;
} > ITCM
- .rodata : ALIGN(4) {
+ .rodata : ALIGN(16) {
*(.srodata)
*(.srodata.*)
*(.rodata)
*(.rodata.*)
- . = ALIGN(4);
+ . = ALIGN(16);
} > ITCM
- .data : ALIGN(4) {
+ .data : ALIGN(16) {
__data_start__ = .;
/**
* This will get loaded into `gp`, and the linker will use that register for
@@ -52,13 +52,13 @@
*(.sdata.*)
*(.data)
*(.data.*)
- . = ALIGN(4);
+ . = ALIGN(16);
__data_end__ = .;
} > DTCM
/* DTCM data here */
. = ORIGIN(DTCM);
- .bss : ALIGN(4) {
+ .bss : ALIGN(16) {
__bss_start__ = .;
*(.sbss)
*(.sbss.*)
@@ -67,13 +67,13 @@
__bss_end__ = .;
} > DTCM
- .heap : ALIGN(4) {
+ .heap : ALIGN(16) {
__heap_start__ = .;
. += HEAP_SIZE;
__heap_end__ = .;
} > DTCM
- .stack : ALIGN(4) {
+ .stack : ALIGN(16) {
__stack_start__ = .;
. += STACK_SIZE;
__stack_end__ = .;