Further iomprove alignement problems in linkerscript
This commit is contained in:
parent
d0fe451276
commit
63fb9c4cde
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user