Further iomprove alignement problems in linkerscript

This commit is contained in:
Mario Hüttel 2021-05-24 12:19:42 +02:00
parent d0fe451276
commit 63fb9c4cde

View File

@ -68,8 +68,8 @@ SECTIONS
{
__exidx_start = .;
*(.ARM.exidx*)
. = ALIGN(4);
__exidx_end = .;
. = ALIGN(4);
} >FLASH
/* Constructor/Destructor tables */
@ -101,7 +101,7 @@ SECTIONS
/* Initialized Data */
__ld_load_data = LOADADDR(.data);
.data : ALIGN(16)
.data : ALIGN(4)
{
__ld_sdata = .;
*(.data)
@ -111,7 +111,7 @@ SECTIONS
} >RAM AT> FLASH
/* Uninitialized static data */
.bss : ALIGN(16)
.bss : ALIGN(4)
{
__ld_sbss = .;
*(.bss)
@ -121,7 +121,7 @@ SECTIONS
__ld_ebss = .;
} >RAM
.heap_stack (NOLOAD) : ALIGN(16)
.heap_stack (NOLOAD) : ALIGN(4)
{
__ld_sheap = .;
. = . + __ld_heap_size;