mirror of https://github.com/ARMmbed/mbed-os.git
Freescale: Fix alignment of execute region to 8-byte boundary
--legacyalign, --no_legacyalign are deprecated from ARMC6 compiler, in order to remove deprecated flags all linker files (GCC and IAR as well to have uniformity) should strictly align to 8-byte boundarypull/8479/head
parent
0271b33d0f
commit
4395ed4de5
|
@ -46,13 +46,13 @@ SECTIONS
|
||||||
KEEP(*(.vector_table))
|
KEEP(*(.vector_table))
|
||||||
*(.text.Reset_Handler)
|
*(.text.Reset_Handler)
|
||||||
*(.text.System_Init)
|
*(.text.System_Init)
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
} > VECTORS
|
} > VECTORS
|
||||||
|
|
||||||
.flash_protect :
|
.flash_protect :
|
||||||
{
|
{
|
||||||
KEEP(*(.kinetis_flash_config_field))
|
KEEP(*(.kinetis_flash_config_field))
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
} > FLASH_PROTECTION
|
} > FLASH_PROTECTION
|
||||||
|
|
||||||
.text :
|
.text :
|
||||||
|
@ -101,13 +101,13 @@ SECTIONS
|
||||||
*(vtable)
|
*(vtable)
|
||||||
*(.data*)
|
*(.data*)
|
||||||
|
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
/* preinit data */
|
/* preinit data */
|
||||||
PROVIDE_HIDDEN (__preinit_array_start = .);
|
PROVIDE_HIDDEN (__preinit_array_start = .);
|
||||||
KEEP(*(.preinit_array))
|
KEEP(*(.preinit_array))
|
||||||
PROVIDE_HIDDEN (__preinit_array_end = .);
|
PROVIDE_HIDDEN (__preinit_array_end = .);
|
||||||
|
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
/* init data */
|
/* init data */
|
||||||
PROVIDE_HIDDEN (__init_array_start = .);
|
PROVIDE_HIDDEN (__init_array_start = .);
|
||||||
KEEP(*(SORT(.init_array.*)))
|
KEEP(*(SORT(.init_array.*)))
|
||||||
|
@ -115,14 +115,14 @@ SECTIONS
|
||||||
PROVIDE_HIDDEN (__init_array_end = .);
|
PROVIDE_HIDDEN (__init_array_end = .);
|
||||||
|
|
||||||
|
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
/* finit data */
|
/* finit data */
|
||||||
PROVIDE_HIDDEN (__fini_array_start = .);
|
PROVIDE_HIDDEN (__fini_array_start = .);
|
||||||
KEEP(*(SORT(.fini_array.*)))
|
KEEP(*(SORT(.fini_array.*)))
|
||||||
KEEP(*(.fini_array))
|
KEEP(*(.fini_array))
|
||||||
PROVIDE_HIDDEN (__fini_array_end = .);
|
PROVIDE_HIDDEN (__fini_array_end = .);
|
||||||
|
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
/* All data end */
|
/* All data end */
|
||||||
__data_end__ = .;
|
__data_end__ = .;
|
||||||
|
|
||||||
|
|
|
@ -47,13 +47,13 @@ SECTIONS
|
||||||
KEEP(*(.isr_vector))
|
KEEP(*(.isr_vector))
|
||||||
*(.text.Reset_Handler)
|
*(.text.Reset_Handler)
|
||||||
*(.text.SystemInit)
|
*(.text.SystemInit)
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
} > VECTORS
|
} > VECTORS
|
||||||
|
|
||||||
.flash_protect :
|
.flash_protect :
|
||||||
{
|
{
|
||||||
KEEP(*(.kinetis_flash_config_field))
|
KEEP(*(.kinetis_flash_config_field))
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
} > FLASH_PROTECTION
|
} > FLASH_PROTECTION
|
||||||
|
|
||||||
.text :
|
.text :
|
||||||
|
@ -102,13 +102,13 @@ SECTIONS
|
||||||
*(vtable)
|
*(vtable)
|
||||||
*(.data*)
|
*(.data*)
|
||||||
|
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
/* preinit data */
|
/* preinit data */
|
||||||
PROVIDE_HIDDEN (__preinit_array_start = .);
|
PROVIDE_HIDDEN (__preinit_array_start = .);
|
||||||
KEEP(*(.preinit_array))
|
KEEP(*(.preinit_array))
|
||||||
PROVIDE_HIDDEN (__preinit_array_end = .);
|
PROVIDE_HIDDEN (__preinit_array_end = .);
|
||||||
|
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
/* init data */
|
/* init data */
|
||||||
PROVIDE_HIDDEN (__init_array_start = .);
|
PROVIDE_HIDDEN (__init_array_start = .);
|
||||||
KEEP(*(SORT(.init_array.*)))
|
KEEP(*(SORT(.init_array.*)))
|
||||||
|
@ -116,14 +116,14 @@ SECTIONS
|
||||||
PROVIDE_HIDDEN (__init_array_end = .);
|
PROVIDE_HIDDEN (__init_array_end = .);
|
||||||
|
|
||||||
|
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
/* finit data */
|
/* finit data */
|
||||||
PROVIDE_HIDDEN (__fini_array_start = .);
|
PROVIDE_HIDDEN (__fini_array_start = .);
|
||||||
KEEP(*(SORT(.fini_array.*)))
|
KEEP(*(SORT(.fini_array.*)))
|
||||||
KEEP(*(.fini_array))
|
KEEP(*(.fini_array))
|
||||||
PROVIDE_HIDDEN (__fini_array_end = .);
|
PROVIDE_HIDDEN (__fini_array_end = .);
|
||||||
|
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
/* All data end */
|
/* All data end */
|
||||||
__data_end__ = .;
|
__data_end__ = .;
|
||||||
|
|
||||||
|
|
|
@ -43,7 +43,7 @@ SECTIONS
|
||||||
{
|
{
|
||||||
__vector_table = .;
|
__vector_table = .;
|
||||||
KEEP(*(.vector_table))
|
KEEP(*(.vector_table))
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
} > VECTORS
|
} > VECTORS
|
||||||
|
|
||||||
.text :
|
.text :
|
||||||
|
@ -92,13 +92,13 @@ SECTIONS
|
||||||
*(vtable)
|
*(vtable)
|
||||||
*(.data*)
|
*(.data*)
|
||||||
|
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
/* preinit data */
|
/* preinit data */
|
||||||
PROVIDE_HIDDEN (__preinit_array_start = .);
|
PROVIDE_HIDDEN (__preinit_array_start = .);
|
||||||
KEEP(*(.preinit_array))
|
KEEP(*(.preinit_array))
|
||||||
PROVIDE_HIDDEN (__preinit_array_end = .);
|
PROVIDE_HIDDEN (__preinit_array_end = .);
|
||||||
|
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
/* init data */
|
/* init data */
|
||||||
PROVIDE_HIDDEN (__init_array_start = .);
|
PROVIDE_HIDDEN (__init_array_start = .);
|
||||||
KEEP(*(SORT(.init_array.*)))
|
KEEP(*(SORT(.init_array.*)))
|
||||||
|
@ -106,14 +106,14 @@ SECTIONS
|
||||||
PROVIDE_HIDDEN (__init_array_end = .);
|
PROVIDE_HIDDEN (__init_array_end = .);
|
||||||
|
|
||||||
|
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
/* finit data */
|
/* finit data */
|
||||||
PROVIDE_HIDDEN (__fini_array_start = .);
|
PROVIDE_HIDDEN (__fini_array_start = .);
|
||||||
KEEP(*(SORT(.fini_array.*)))
|
KEEP(*(SORT(.fini_array.*)))
|
||||||
KEEP(*(.fini_array))
|
KEEP(*(.fini_array))
|
||||||
PROVIDE_HIDDEN (__fini_array_end = .);
|
PROVIDE_HIDDEN (__fini_array_end = .);
|
||||||
|
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
/* All data end */
|
/* All data end */
|
||||||
__data_end__ = .;
|
__data_end__ = .;
|
||||||
|
|
||||||
|
|
|
@ -46,13 +46,13 @@ SECTIONS
|
||||||
KEEP(*(.vector_table))
|
KEEP(*(.vector_table))
|
||||||
*(.text.Reset_Handler)
|
*(.text.Reset_Handler)
|
||||||
*(.text.System_Init)
|
*(.text.System_Init)
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
} > VECTORS
|
} > VECTORS
|
||||||
|
|
||||||
.flash_protect :
|
.flash_protect :
|
||||||
{
|
{
|
||||||
KEEP(*(.kinetis_flash_config_field))
|
KEEP(*(.kinetis_flash_config_field))
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
} > FLASH_PROTECTION
|
} > FLASH_PROTECTION
|
||||||
|
|
||||||
.text :
|
.text :
|
||||||
|
@ -101,13 +101,13 @@ SECTIONS
|
||||||
*(vtable)
|
*(vtable)
|
||||||
*(.data*)
|
*(.data*)
|
||||||
|
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
/* preinit data */
|
/* preinit data */
|
||||||
PROVIDE_HIDDEN (__preinit_array_start = .);
|
PROVIDE_HIDDEN (__preinit_array_start = .);
|
||||||
KEEP(*(.preinit_array))
|
KEEP(*(.preinit_array))
|
||||||
PROVIDE_HIDDEN (__preinit_array_end = .);
|
PROVIDE_HIDDEN (__preinit_array_end = .);
|
||||||
|
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
/* init data */
|
/* init data */
|
||||||
PROVIDE_HIDDEN (__init_array_start = .);
|
PROVIDE_HIDDEN (__init_array_start = .);
|
||||||
KEEP(*(SORT(.init_array.*)))
|
KEEP(*(SORT(.init_array.*)))
|
||||||
|
@ -115,14 +115,14 @@ SECTIONS
|
||||||
PROVIDE_HIDDEN (__init_array_end = .);
|
PROVIDE_HIDDEN (__init_array_end = .);
|
||||||
|
|
||||||
|
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
/* finit data */
|
/* finit data */
|
||||||
PROVIDE_HIDDEN (__fini_array_start = .);
|
PROVIDE_HIDDEN (__fini_array_start = .);
|
||||||
KEEP(*(SORT(.fini_array.*)))
|
KEEP(*(SORT(.fini_array.*)))
|
||||||
KEEP(*(.fini_array))
|
KEEP(*(.fini_array))
|
||||||
PROVIDE_HIDDEN (__fini_array_end = .);
|
PROVIDE_HIDDEN (__fini_array_end = .);
|
||||||
|
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
/* All data end */
|
/* All data end */
|
||||||
__data_end__ = .;
|
__data_end__ = .;
|
||||||
|
|
||||||
|
|
|
@ -35,22 +35,22 @@ SECTIONS
|
||||||
.interrupts :
|
.interrupts :
|
||||||
{
|
{
|
||||||
__vector_table = .;
|
__vector_table = .;
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
KEEP(*(.vectortable)) /* Startup code */
|
KEEP(*(.vectortable)) /* Startup code */
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
} > m_interrupts
|
} > m_interrupts
|
||||||
|
|
||||||
.cfmprotect :
|
.cfmprotect :
|
||||||
{
|
{
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
KEEP(*(.cfmconfig)) /* Flash Configuration Field (FCF) */
|
KEEP(*(.cfmconfig)) /* Flash Configuration Field (FCF) */
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
} > m_cfmprotrom
|
} > m_cfmprotrom
|
||||||
|
|
||||||
/* The program code and other data goes into Flash */
|
/* The program code and other data goes into Flash */
|
||||||
.text :
|
.text :
|
||||||
{
|
{
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
*(.text) /* .text sections (code) */
|
*(.text) /* .text sections (code) */
|
||||||
*(.text*) /* .text* sections (code) */
|
*(.text*) /* .text* sections (code) */
|
||||||
*(.rodata) /* .rodata sections (constants, strings, etc.) */
|
*(.rodata) /* .rodata sections (constants, strings, etc.) */
|
||||||
|
@ -62,7 +62,7 @@ SECTIONS
|
||||||
KEEP (*(.init))
|
KEEP (*(.init))
|
||||||
KEEP (*(.fini))
|
KEEP (*(.fini))
|
||||||
|
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
_etext = .; /* define a global symbols at end of code */
|
_etext = .; /* define a global symbols at end of code */
|
||||||
} > m_text
|
} > m_text
|
||||||
|
|
||||||
|
@ -141,20 +141,20 @@ SECTIONS
|
||||||
/* Initialized data sections goes into RAM, load LMA copy after code */
|
/* Initialized data sections goes into RAM, load LMA copy after code */
|
||||||
.data : AT(___ROM_AT)
|
.data : AT(___ROM_AT)
|
||||||
{
|
{
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
__sinit__ = .;
|
__sinit__ = .;
|
||||||
_sdata = .; /* create a global symbol at data start */
|
_sdata = .; /* create a global symbol at data start */
|
||||||
*(.data) /* .data sections */
|
*(.data) /* .data sections */
|
||||||
*(.data*) /* .data* sections */
|
*(.data*) /* .data* sections */
|
||||||
|
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
_edata = .; /* define a global symbol at data end */
|
_edata = .; /* define a global symbol at data end */
|
||||||
} > m_data
|
} > m_data
|
||||||
|
|
||||||
___data_size = _edata - _sdata;
|
___data_size = _edata - _sdata;
|
||||||
|
|
||||||
/* Uninitialized data section */
|
/* Uninitialized data section */
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
.bss :
|
.bss :
|
||||||
{
|
{
|
||||||
/* This is used by the startup in order to initialize the .bss section */
|
/* This is used by the startup in order to initialize the .bss section */
|
||||||
|
@ -164,7 +164,7 @@ SECTIONS
|
||||||
*(.bss*)
|
*(.bss*)
|
||||||
*(COMMON)
|
*(COMMON)
|
||||||
|
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
__END_BSS = .;
|
__END_BSS = .;
|
||||||
PROVIDE ( __bss_end__ = __END_BSS );
|
PROVIDE ( __bss_end__ = __END_BSS );
|
||||||
} > m_data
|
} > m_data
|
||||||
|
@ -184,13 +184,13 @@ SECTIONS
|
||||||
/* User_heap_stack section, used to check that there is enough RAM left */
|
/* User_heap_stack section, used to check that there is enough RAM left */
|
||||||
._user_heap_stack :
|
._user_heap_stack :
|
||||||
{
|
{
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
PROVIDE ( end = . );
|
PROVIDE ( end = . );
|
||||||
PROVIDE ( _end = . );
|
PROVIDE ( _end = . );
|
||||||
__heap_addr = .;
|
__heap_addr = .;
|
||||||
. = . + __heap_size;
|
. = . + __heap_size;
|
||||||
. = . + __stack_size;
|
. = . + __stack_size;
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
} > m_data
|
} > m_data
|
||||||
|
|
||||||
.ARM.attributes 0 : { *(.ARM.attributes) }
|
.ARM.attributes 0 : { *(.ARM.attributes) }
|
||||||
|
|
|
@ -91,13 +91,13 @@ SECTIONS
|
||||||
*(vtable)
|
*(vtable)
|
||||||
*(.data*)
|
*(.data*)
|
||||||
|
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
/* preinit data */
|
/* preinit data */
|
||||||
PROVIDE (__preinit_array_start = .);
|
PROVIDE (__preinit_array_start = .);
|
||||||
KEEP(*(.preinit_array))
|
KEEP(*(.preinit_array))
|
||||||
PROVIDE (__preinit_array_end = .);
|
PROVIDE (__preinit_array_end = .);
|
||||||
|
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
/* init data */
|
/* init data */
|
||||||
PROVIDE (__init_array_start = .);
|
PROVIDE (__init_array_start = .);
|
||||||
KEEP(*(SORT(.init_array.*)))
|
KEEP(*(SORT(.init_array.*)))
|
||||||
|
@ -105,14 +105,14 @@ SECTIONS
|
||||||
PROVIDE (__init_array_end = .);
|
PROVIDE (__init_array_end = .);
|
||||||
|
|
||||||
|
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
/* finit data */
|
/* finit data */
|
||||||
PROVIDE (__fini_array_start = .);
|
PROVIDE (__fini_array_start = .);
|
||||||
KEEP(*(SORT(.fini_array.*)))
|
KEEP(*(SORT(.fini_array.*)))
|
||||||
KEEP(*(.fini_array))
|
KEEP(*(.fini_array))
|
||||||
PROVIDE (__fini_array_end = .);
|
PROVIDE (__fini_array_end = .);
|
||||||
|
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
/* All data end */
|
/* All data end */
|
||||||
__data_end__ = .;
|
__data_end__ = .;
|
||||||
|
|
||||||
|
|
|
@ -46,13 +46,13 @@ SECTIONS
|
||||||
KEEP(*(.vector_table))
|
KEEP(*(.vector_table))
|
||||||
*(.text.Reset_Handler)
|
*(.text.Reset_Handler)
|
||||||
*(.text.System_Init)
|
*(.text.System_Init)
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
} > VECTORS
|
} > VECTORS
|
||||||
|
|
||||||
.flash_protect :
|
.flash_protect :
|
||||||
{
|
{
|
||||||
KEEP(*(.kinetis_flash_config_field))
|
KEEP(*(.kinetis_flash_config_field))
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
} > FLASH_PROTECTION
|
} > FLASH_PROTECTION
|
||||||
|
|
||||||
.text :
|
.text :
|
||||||
|
@ -101,13 +101,13 @@ SECTIONS
|
||||||
*(vtable)
|
*(vtable)
|
||||||
*(.data*)
|
*(.data*)
|
||||||
|
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
/* preinit data */
|
/* preinit data */
|
||||||
PROVIDE_HIDDEN (__preinit_array_start = .);
|
PROVIDE_HIDDEN (__preinit_array_start = .);
|
||||||
KEEP(*(.preinit_array))
|
KEEP(*(.preinit_array))
|
||||||
PROVIDE_HIDDEN (__preinit_array_end = .);
|
PROVIDE_HIDDEN (__preinit_array_end = .);
|
||||||
|
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
/* init data */
|
/* init data */
|
||||||
PROVIDE_HIDDEN (__init_array_start = .);
|
PROVIDE_HIDDEN (__init_array_start = .);
|
||||||
KEEP(*(SORT(.init_array.*)))
|
KEEP(*(SORT(.init_array.*)))
|
||||||
|
@ -115,14 +115,14 @@ SECTIONS
|
||||||
PROVIDE_HIDDEN (__init_array_end = .);
|
PROVIDE_HIDDEN (__init_array_end = .);
|
||||||
|
|
||||||
|
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
/* finit data */
|
/* finit data */
|
||||||
PROVIDE_HIDDEN (__fini_array_start = .);
|
PROVIDE_HIDDEN (__fini_array_start = .);
|
||||||
KEEP(*(SORT(.fini_array.*)))
|
KEEP(*(SORT(.fini_array.*)))
|
||||||
KEEP(*(.fini_array))
|
KEEP(*(.fini_array))
|
||||||
PROVIDE_HIDDEN (__fini_array_end = .);
|
PROVIDE_HIDDEN (__fini_array_end = .);
|
||||||
|
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
/* All data end */
|
/* All data end */
|
||||||
__data_end__ = .;
|
__data_end__ = .;
|
||||||
|
|
||||||
|
|
|
@ -46,13 +46,13 @@ SECTIONS
|
||||||
KEEP(*(.vector_table))
|
KEEP(*(.vector_table))
|
||||||
*(.text.Reset_Handler)
|
*(.text.Reset_Handler)
|
||||||
*(.text.System_Init)
|
*(.text.System_Init)
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
} > VECTORS
|
} > VECTORS
|
||||||
|
|
||||||
.flash_protect :
|
.flash_protect :
|
||||||
{
|
{
|
||||||
KEEP(*(.kinetis_flash_config_field))
|
KEEP(*(.kinetis_flash_config_field))
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
} > FLASH_PROTECTION
|
} > FLASH_PROTECTION
|
||||||
|
|
||||||
.text :
|
.text :
|
||||||
|
@ -101,13 +101,13 @@ SECTIONS
|
||||||
*(vtable)
|
*(vtable)
|
||||||
*(.data*)
|
*(.data*)
|
||||||
|
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
/* preinit data */
|
/* preinit data */
|
||||||
PROVIDE_HIDDEN (__preinit_array_start = .);
|
PROVIDE_HIDDEN (__preinit_array_start = .);
|
||||||
KEEP(*(.preinit_array))
|
KEEP(*(.preinit_array))
|
||||||
PROVIDE_HIDDEN (__preinit_array_end = .);
|
PROVIDE_HIDDEN (__preinit_array_end = .);
|
||||||
|
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
/* init data */
|
/* init data */
|
||||||
PROVIDE_HIDDEN (__init_array_start = .);
|
PROVIDE_HIDDEN (__init_array_start = .);
|
||||||
KEEP(*(SORT(.init_array.*)))
|
KEEP(*(SORT(.init_array.*)))
|
||||||
|
@ -115,14 +115,14 @@ SECTIONS
|
||||||
PROVIDE_HIDDEN (__init_array_end = .);
|
PROVIDE_HIDDEN (__init_array_end = .);
|
||||||
|
|
||||||
|
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
/* finit data */
|
/* finit data */
|
||||||
PROVIDE_HIDDEN (__fini_array_start = .);
|
PROVIDE_HIDDEN (__fini_array_start = .);
|
||||||
KEEP(*(SORT(.fini_array.*)))
|
KEEP(*(SORT(.fini_array.*)))
|
||||||
KEEP(*(.fini_array))
|
KEEP(*(.fini_array))
|
||||||
PROVIDE_HIDDEN (__fini_array_end = .);
|
PROVIDE_HIDDEN (__fini_array_end = .);
|
||||||
|
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
/* All data end */
|
/* All data end */
|
||||||
__data_end__ = .;
|
__data_end__ = .;
|
||||||
|
|
||||||
|
|
|
@ -84,22 +84,22 @@ SECTIONS
|
||||||
.interrupts :
|
.interrupts :
|
||||||
{
|
{
|
||||||
__VECTOR_TABLE = .;
|
__VECTOR_TABLE = .;
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
KEEP(*(.isr_vector)) /* Startup code */
|
KEEP(*(.isr_vector)) /* Startup code */
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
} > m_interrupts
|
} > m_interrupts
|
||||||
|
|
||||||
.flash_config :
|
.flash_config :
|
||||||
{
|
{
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
KEEP(*(.FlashConfig)) /* Flash Configuration Field (FCF) */
|
KEEP(*(.FlashConfig)) /* Flash Configuration Field (FCF) */
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
} > m_flash_config
|
} > m_flash_config
|
||||||
|
|
||||||
/* The program code and other data goes into internal flash */
|
/* The program code and other data goes into internal flash */
|
||||||
.text :
|
.text :
|
||||||
{
|
{
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
*(.text) /* .text sections (code) */
|
*(.text) /* .text sections (code) */
|
||||||
*(.text*) /* .text* sections (code) */
|
*(.text*) /* .text* sections (code) */
|
||||||
*(.rodata) /* .rodata sections (constants, strings, etc.) */
|
*(.rodata) /* .rodata sections (constants, strings, etc.) */
|
||||||
|
@ -109,7 +109,7 @@ SECTIONS
|
||||||
*(.eh_frame)
|
*(.eh_frame)
|
||||||
KEEP (*(.init))
|
KEEP (*(.init))
|
||||||
KEEP (*(.fini))
|
KEEP (*(.fini))
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
} > m_text
|
} > m_text
|
||||||
|
|
||||||
.ARM.extab :
|
.ARM.extab :
|
||||||
|
@ -187,12 +187,12 @@ SECTIONS
|
||||||
|
|
||||||
.interrupts_ram :
|
.interrupts_ram :
|
||||||
{
|
{
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
__VECTOR_RAM__ = .;
|
__VECTOR_RAM__ = .;
|
||||||
__interrupts_ram_start__ = .; /* Create a global symbol at data start */
|
__interrupts_ram_start__ = .; /* Create a global symbol at data start */
|
||||||
*(.m_interrupts_ram) /* This is a user defined section */
|
*(.m_interrupts_ram) /* This is a user defined section */
|
||||||
. += M_VECTOR_RAM_SIZE;
|
. += M_VECTOR_RAM_SIZE;
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
__interrupts_ram_end__ = .; /* Define a global symbol at data end */
|
__interrupts_ram_end__ = .; /* Define a global symbol at data end */
|
||||||
} > m_data
|
} > m_data
|
||||||
|
|
||||||
|
@ -201,13 +201,13 @@ SECTIONS
|
||||||
|
|
||||||
.data : AT(__DATA_ROM)
|
.data : AT(__DATA_ROM)
|
||||||
{
|
{
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
__DATA_RAM = .;
|
__DATA_RAM = .;
|
||||||
__data_start__ = .; /* create a global symbol at data start */
|
__data_start__ = .; /* create a global symbol at data start */
|
||||||
*(.data) /* .data sections */
|
*(.data) /* .data sections */
|
||||||
*(.data*) /* .data* sections */
|
*(.data*) /* .data* sections */
|
||||||
KEEP(*(.jcr*))
|
KEEP(*(.jcr*))
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
__data_end__ = .; /* define a global symbol at data end */
|
__data_end__ = .; /* define a global symbol at data end */
|
||||||
} > m_data
|
} > m_data
|
||||||
|
|
||||||
|
@ -219,13 +219,13 @@ SECTIONS
|
||||||
.bss :
|
.bss :
|
||||||
{
|
{
|
||||||
/* This is used by the startup in order to initialize the .bss section */
|
/* This is used by the startup in order to initialize the .bss section */
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
__START_BSS = .;
|
__START_BSS = .;
|
||||||
__bss_start__ = .;
|
__bss_start__ = .;
|
||||||
*(.bss)
|
*(.bss)
|
||||||
*(.bss*)
|
*(.bss*)
|
||||||
*(COMMON)
|
*(COMMON)
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
__bss_end__ = .;
|
__bss_end__ = .;
|
||||||
__END_BSS = .;
|
__END_BSS = .;
|
||||||
} > m_data_2
|
} > m_data_2
|
||||||
|
|
|
@ -80,29 +80,29 @@ SECTIONS
|
||||||
.interrupts :
|
.interrupts :
|
||||||
{
|
{
|
||||||
__VECTOR_TABLE = .;
|
__VECTOR_TABLE = .;
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
KEEP(*(.isr_vector)) /* Startup code */
|
KEEP(*(.isr_vector)) /* Startup code */
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
} > m_interrupts
|
} > m_interrupts
|
||||||
|
|
||||||
.bootloader_config :
|
.bootloader_config :
|
||||||
{
|
{
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
KEEP(*(.BootloaderConfig)) /* Bootloader Configuration Area (BCA) */
|
KEEP(*(.BootloaderConfig)) /* Bootloader Configuration Area (BCA) */
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
} > m_bootloader_config
|
} > m_bootloader_config
|
||||||
|
|
||||||
.flash_config :
|
.flash_config :
|
||||||
{
|
{
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
KEEP(*(.FlashConfig)) /* Flash Configuration Field (FCF) */
|
KEEP(*(.FlashConfig)) /* Flash Configuration Field (FCF) */
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
} > m_flash_config
|
} > m_flash_config
|
||||||
|
|
||||||
/* The program code and other data goes into internal flash */
|
/* The program code and other data goes into internal flash */
|
||||||
.text :
|
.text :
|
||||||
{
|
{
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
*(.text) /* .text sections (code) */
|
*(.text) /* .text sections (code) */
|
||||||
*(.text*) /* .text* sections (code) */
|
*(.text*) /* .text* sections (code) */
|
||||||
*(.rodata) /* .rodata sections (constants, strings, etc.) */
|
*(.rodata) /* .rodata sections (constants, strings, etc.) */
|
||||||
|
@ -112,7 +112,7 @@ SECTIONS
|
||||||
*(.eh_frame)
|
*(.eh_frame)
|
||||||
KEEP (*(.init))
|
KEEP (*(.init))
|
||||||
KEEP (*(.fini))
|
KEEP (*(.fini))
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
} > m_text
|
} > m_text
|
||||||
|
|
||||||
.ARM.extab :
|
.ARM.extab :
|
||||||
|
@ -190,12 +190,12 @@ SECTIONS
|
||||||
|
|
||||||
.interrupts_ram :
|
.interrupts_ram :
|
||||||
{
|
{
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
__VECTOR_RAM__ = .;
|
__VECTOR_RAM__ = .;
|
||||||
__interrupts_ram_start__ = .; /* Create a global symbol at data start */
|
__interrupts_ram_start__ = .; /* Create a global symbol at data start */
|
||||||
*(.m_interrupts_ram) /* This is a user defined section */
|
*(.m_interrupts_ram) /* This is a user defined section */
|
||||||
. += M_VECTOR_RAM_SIZE;
|
. += M_VECTOR_RAM_SIZE;
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
__interrupts_ram_end__ = .; /* Define a global symbol at data end */
|
__interrupts_ram_end__ = .; /* Define a global symbol at data end */
|
||||||
} > m_data
|
} > m_data
|
||||||
|
|
||||||
|
@ -204,13 +204,13 @@ SECTIONS
|
||||||
|
|
||||||
.data : AT(__DATA_ROM)
|
.data : AT(__DATA_ROM)
|
||||||
{
|
{
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
__DATA_RAM = .;
|
__DATA_RAM = .;
|
||||||
__data_start__ = .; /* create a global symbol at data start */
|
__data_start__ = .; /* create a global symbol at data start */
|
||||||
*(.data) /* .data sections */
|
*(.data) /* .data sections */
|
||||||
*(.data*) /* .data* sections */
|
*(.data*) /* .data* sections */
|
||||||
KEEP(*(.jcr*))
|
KEEP(*(.jcr*))
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
__data_end__ = .; /* define a global symbol at data end */
|
__data_end__ = .; /* define a global symbol at data end */
|
||||||
} > m_data
|
} > m_data
|
||||||
|
|
||||||
|
@ -223,7 +223,7 @@ SECTIONS
|
||||||
.bss :
|
.bss :
|
||||||
{
|
{
|
||||||
/* This is used by the startup in order to initialize the .bss section */
|
/* This is used by the startup in order to initialize the .bss section */
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
__START_BSS = .;
|
__START_BSS = .;
|
||||||
__bss_start__ = .;
|
__bss_start__ = .;
|
||||||
*(.bss)
|
*(.bss)
|
||||||
|
@ -232,7 +232,7 @@ SECTIONS
|
||||||
USB_RAM_START = .;
|
USB_RAM_START = .;
|
||||||
. += USB_RAM_GAP;
|
. += USB_RAM_GAP;
|
||||||
*(COMMON)
|
*(COMMON)
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
__bss_end__ = .;
|
__bss_end__ = .;
|
||||||
__END_BSS = .;
|
__END_BSS = .;
|
||||||
} > m_data
|
} > m_data
|
||||||
|
|
|
@ -79,22 +79,22 @@ SECTIONS
|
||||||
.interrupts :
|
.interrupts :
|
||||||
{
|
{
|
||||||
__VECTOR_TABLE = .;
|
__VECTOR_TABLE = .;
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
KEEP(*(.isr_vector)) /* Startup code */
|
KEEP(*(.isr_vector)) /* Startup code */
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
} > m_interrupts
|
} > m_interrupts
|
||||||
|
|
||||||
.flash_config :
|
.flash_config :
|
||||||
{
|
{
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
KEEP(*(.FlashConfig)) /* Flash Configuration Field (FCF) */
|
KEEP(*(.FlashConfig)) /* Flash Configuration Field (FCF) */
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
} > m_flash_config
|
} > m_flash_config
|
||||||
|
|
||||||
/* The program code and other data goes into internal flash */
|
/* The program code and other data goes into internal flash */
|
||||||
.text :
|
.text :
|
||||||
{
|
{
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
*(.text) /* .text sections (code) */
|
*(.text) /* .text sections (code) */
|
||||||
*(.text*) /* .text* sections (code) */
|
*(.text*) /* .text* sections (code) */
|
||||||
*(.rodata) /* .rodata sections (constants, strings, etc.) */
|
*(.rodata) /* .rodata sections (constants, strings, etc.) */
|
||||||
|
@ -104,7 +104,7 @@ SECTIONS
|
||||||
*(.eh_frame)
|
*(.eh_frame)
|
||||||
KEEP (*(.init))
|
KEEP (*(.init))
|
||||||
KEEP (*(.fini))
|
KEEP (*(.fini))
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
} > m_text
|
} > m_text
|
||||||
|
|
||||||
.ARM.extab :
|
.ARM.extab :
|
||||||
|
@ -192,12 +192,12 @@ SECTIONS
|
||||||
|
|
||||||
.interrupts_ram :
|
.interrupts_ram :
|
||||||
{
|
{
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
__VECTOR_RAM__ = .;
|
__VECTOR_RAM__ = .;
|
||||||
__interrupts_ram_start__ = .; /* Create a global symbol at data start */
|
__interrupts_ram_start__ = .; /* Create a global symbol at data start */
|
||||||
*(.m_interrupts_ram) /* This is a user defined section */
|
*(.m_interrupts_ram) /* This is a user defined section */
|
||||||
. += M_VECTOR_RAM_SIZE;
|
. += M_VECTOR_RAM_SIZE;
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
__interrupts_ram_end__ = .; /* Define a global symbol at data end */
|
__interrupts_ram_end__ = .; /* Define a global symbol at data end */
|
||||||
} > m_data
|
} > m_data
|
||||||
|
|
||||||
|
@ -206,13 +206,13 @@ SECTIONS
|
||||||
|
|
||||||
.data : AT(__DATA_ROM)
|
.data : AT(__DATA_ROM)
|
||||||
{
|
{
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
__DATA_RAM = .;
|
__DATA_RAM = .;
|
||||||
__data_start__ = .; /* create a global symbol at data start */
|
__data_start__ = .; /* create a global symbol at data start */
|
||||||
*(.data) /* .data sections */
|
*(.data) /* .data sections */
|
||||||
*(.data*) /* .data* sections */
|
*(.data*) /* .data* sections */
|
||||||
KEEP(*(.jcr*))
|
KEEP(*(.jcr*))
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
__data_end__ = .; /* define a global symbol at data end */
|
__data_end__ = .; /* define a global symbol at data end */
|
||||||
} > m_data
|
} > m_data
|
||||||
|
|
||||||
|
@ -225,7 +225,7 @@ SECTIONS
|
||||||
.bss :
|
.bss :
|
||||||
{
|
{
|
||||||
/* This is used by the startup in order to initialize the .bss section */
|
/* This is used by the startup in order to initialize the .bss section */
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
__START_BSS = .;
|
__START_BSS = .;
|
||||||
__bss_start__ = .;
|
__bss_start__ = .;
|
||||||
*(.bss)
|
*(.bss)
|
||||||
|
@ -234,7 +234,7 @@ SECTIONS
|
||||||
USB_RAM_START = .;
|
USB_RAM_START = .;
|
||||||
. += USB_RAM_GAP;
|
. += USB_RAM_GAP;
|
||||||
*(COMMON)
|
*(COMMON)
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
__bss_end__ = .;
|
__bss_end__ = .;
|
||||||
__END_BSS = .;
|
__END_BSS = .;
|
||||||
} > m_data
|
} > m_data
|
||||||
|
|
|
@ -76,22 +76,22 @@ SECTIONS
|
||||||
.interrupts :
|
.interrupts :
|
||||||
{
|
{
|
||||||
__VECTOR_TABLE = .;
|
__VECTOR_TABLE = .;
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
KEEP(*(.isr_vector)) /* Startup code */
|
KEEP(*(.isr_vector)) /* Startup code */
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
} > m_interrupts
|
} > m_interrupts
|
||||||
|
|
||||||
.flash_config :
|
.flash_config :
|
||||||
{
|
{
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
KEEP(*(.FlashConfig)) /* Flash Configuration Field (FCF) */
|
KEEP(*(.FlashConfig)) /* Flash Configuration Field (FCF) */
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
} > m_flash_config
|
} > m_flash_config
|
||||||
|
|
||||||
/* The program code and other data goes into internal flash */
|
/* The program code and other data goes into internal flash */
|
||||||
.text :
|
.text :
|
||||||
{
|
{
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
*(.text) /* .text sections (code) */
|
*(.text) /* .text sections (code) */
|
||||||
*(.text*) /* .text* sections (code) */
|
*(.text*) /* .text* sections (code) */
|
||||||
*(.rodata) /* .rodata sections (constants, strings, etc.) */
|
*(.rodata) /* .rodata sections (constants, strings, etc.) */
|
||||||
|
@ -101,7 +101,7 @@ SECTIONS
|
||||||
*(.eh_frame)
|
*(.eh_frame)
|
||||||
KEEP (*(.init))
|
KEEP (*(.init))
|
||||||
KEEP (*(.fini))
|
KEEP (*(.fini))
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
} > m_text
|
} > m_text
|
||||||
|
|
||||||
.ARM.extab :
|
.ARM.extab :
|
||||||
|
@ -189,12 +189,12 @@ SECTIONS
|
||||||
|
|
||||||
.interrupts_ram :
|
.interrupts_ram :
|
||||||
{
|
{
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
__VECTOR_RAM__ = .;
|
__VECTOR_RAM__ = .;
|
||||||
__interrupts_ram_start__ = .; /* Create a global symbol at data start */
|
__interrupts_ram_start__ = .; /* Create a global symbol at data start */
|
||||||
*(.m_interrupts_ram) /* This is a user defined section */
|
*(.m_interrupts_ram) /* This is a user defined section */
|
||||||
. += M_VECTOR_RAM_SIZE;
|
. += M_VECTOR_RAM_SIZE;
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
__interrupts_ram_end__ = .; /* Define a global symbol at data end */
|
__interrupts_ram_end__ = .; /* Define a global symbol at data end */
|
||||||
} > m_data
|
} > m_data
|
||||||
|
|
||||||
|
@ -203,13 +203,13 @@ SECTIONS
|
||||||
|
|
||||||
.data : AT(__DATA_ROM)
|
.data : AT(__DATA_ROM)
|
||||||
{
|
{
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
__DATA_RAM = .;
|
__DATA_RAM = .;
|
||||||
__data_start__ = .; /* create a global symbol at data start */
|
__data_start__ = .; /* create a global symbol at data start */
|
||||||
*(.data) /* .data sections */
|
*(.data) /* .data sections */
|
||||||
*(.data*) /* .data* sections */
|
*(.data*) /* .data* sections */
|
||||||
KEEP(*(.jcr*))
|
KEEP(*(.jcr*))
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
__data_end__ = .; /* define a global symbol at data end */
|
__data_end__ = .; /* define a global symbol at data end */
|
||||||
} > m_data
|
} > m_data
|
||||||
|
|
||||||
|
@ -222,7 +222,7 @@ SECTIONS
|
||||||
.bss :
|
.bss :
|
||||||
{
|
{
|
||||||
/* This is used by the startup in order to initialize the .bss section */
|
/* This is used by the startup in order to initialize the .bss section */
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
__START_BSS = .;
|
__START_BSS = .;
|
||||||
__bss_start__ = .;
|
__bss_start__ = .;
|
||||||
*(.bss)
|
*(.bss)
|
||||||
|
@ -231,7 +231,7 @@ SECTIONS
|
||||||
USB_RAM_START = .;
|
USB_RAM_START = .;
|
||||||
. += USB_RAM_GAP;
|
. += USB_RAM_GAP;
|
||||||
*(COMMON)
|
*(COMMON)
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
__bss_end__ = .;
|
__bss_end__ = .;
|
||||||
__END_BSS = .;
|
__END_BSS = .;
|
||||||
} > m_data
|
} > m_data
|
||||||
|
|
|
@ -81,29 +81,29 @@ SECTIONS
|
||||||
.interrupts :
|
.interrupts :
|
||||||
{
|
{
|
||||||
__VECTOR_TABLE = .;
|
__VECTOR_TABLE = .;
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
KEEP(*(.isr_vector)) /* Startup code */
|
KEEP(*(.isr_vector)) /* Startup code */
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
} > m_interrupts
|
} > m_interrupts
|
||||||
|
|
||||||
.bootloader_config :
|
.bootloader_config :
|
||||||
{
|
{
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
KEEP(*(.BootloaderConfig)) /* Bootloader Configuration Area (BCA) */
|
KEEP(*(.BootloaderConfig)) /* Bootloader Configuration Area (BCA) */
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
} > m_bootloader_config
|
} > m_bootloader_config
|
||||||
|
|
||||||
.flash_config :
|
.flash_config :
|
||||||
{
|
{
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
KEEP(*(.FlashConfig)) /* Flash Configuration Field (FCF) */
|
KEEP(*(.FlashConfig)) /* Flash Configuration Field (FCF) */
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
} > m_flash_config
|
} > m_flash_config
|
||||||
|
|
||||||
/* The program code and other data goes into internal flash */
|
/* The program code and other data goes into internal flash */
|
||||||
.text :
|
.text :
|
||||||
{
|
{
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
*(.text) /* .text sections (code) */
|
*(.text) /* .text sections (code) */
|
||||||
*(.text*) /* .text* sections (code) */
|
*(.text*) /* .text* sections (code) */
|
||||||
*(.rodata) /* .rodata sections (constants, strings, etc.) */
|
*(.rodata) /* .rodata sections (constants, strings, etc.) */
|
||||||
|
@ -113,7 +113,7 @@ SECTIONS
|
||||||
*(.eh_frame)
|
*(.eh_frame)
|
||||||
KEEP (*(.init))
|
KEEP (*(.init))
|
||||||
KEEP (*(.fini))
|
KEEP (*(.fini))
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
} > m_text
|
} > m_text
|
||||||
|
|
||||||
.ARM.extab :
|
.ARM.extab :
|
||||||
|
@ -201,12 +201,12 @@ SECTIONS
|
||||||
|
|
||||||
.interrupts_ram :
|
.interrupts_ram :
|
||||||
{
|
{
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
__VECTOR_RAM__ = .;
|
__VECTOR_RAM__ = .;
|
||||||
__interrupts_ram_start__ = .; /* Create a global symbol at data start */
|
__interrupts_ram_start__ = .; /* Create a global symbol at data start */
|
||||||
*(.m_interrupts_ram) /* This is a user defined section */
|
*(.m_interrupts_ram) /* This is a user defined section */
|
||||||
. += M_VECTOR_RAM_SIZE;
|
. += M_VECTOR_RAM_SIZE;
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
__interrupts_ram_end__ = .; /* Define a global symbol at data end */
|
__interrupts_ram_end__ = .; /* Define a global symbol at data end */
|
||||||
} > m_data
|
} > m_data
|
||||||
|
|
||||||
|
@ -215,13 +215,13 @@ SECTIONS
|
||||||
|
|
||||||
.data : AT(__DATA_ROM)
|
.data : AT(__DATA_ROM)
|
||||||
{
|
{
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
__DATA_RAM = .;
|
__DATA_RAM = .;
|
||||||
__data_start__ = .; /* create a global symbol at data start */
|
__data_start__ = .; /* create a global symbol at data start */
|
||||||
*(.data) /* .data sections */
|
*(.data) /* .data sections */
|
||||||
*(.data*) /* .data* sections */
|
*(.data*) /* .data* sections */
|
||||||
KEEP(*(.jcr*))
|
KEEP(*(.jcr*))
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
__data_end__ = .; /* define a global symbol at data end */
|
__data_end__ = .; /* define a global symbol at data end */
|
||||||
} > m_data
|
} > m_data
|
||||||
|
|
||||||
|
@ -234,7 +234,7 @@ SECTIONS
|
||||||
.bss :
|
.bss :
|
||||||
{
|
{
|
||||||
/* This is used by the startup in order to initialize the .bss section */
|
/* This is used by the startup in order to initialize the .bss section */
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
__START_BSS = .;
|
__START_BSS = .;
|
||||||
__bss_start__ = .;
|
__bss_start__ = .;
|
||||||
*(.bss)
|
*(.bss)
|
||||||
|
@ -243,7 +243,7 @@ SECTIONS
|
||||||
USB_RAM_START = .;
|
USB_RAM_START = .;
|
||||||
. += USB_RAM_GAP;
|
. += USB_RAM_GAP;
|
||||||
*(COMMON)
|
*(COMMON)
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
__bss_end__ = .;
|
__bss_end__ = .;
|
||||||
__END_BSS = .;
|
__END_BSS = .;
|
||||||
} > m_data
|
} > m_data
|
||||||
|
|
|
@ -83,22 +83,22 @@ SECTIONS
|
||||||
.interrupts :
|
.interrupts :
|
||||||
{
|
{
|
||||||
__VECTOR_TABLE = .;
|
__VECTOR_TABLE = .;
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
KEEP(*(.isr_vector)) /* Startup code */
|
KEEP(*(.isr_vector)) /* Startup code */
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
} > m_interrupts
|
} > m_interrupts
|
||||||
|
|
||||||
.flash_config :
|
.flash_config :
|
||||||
{
|
{
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
KEEP(*(.FlashConfig)) /* Flash Configuration Field (FCF) */
|
KEEP(*(.FlashConfig)) /* Flash Configuration Field (FCF) */
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
} > m_flash_config
|
} > m_flash_config
|
||||||
|
|
||||||
/* The program code and other data goes into internal flash */
|
/* The program code and other data goes into internal flash */
|
||||||
.text :
|
.text :
|
||||||
{
|
{
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
*(.text) /* .text sections (code) */
|
*(.text) /* .text sections (code) */
|
||||||
*(.text*) /* .text* sections (code) */
|
*(.text*) /* .text* sections (code) */
|
||||||
*(.rodata) /* .rodata sections (constants, strings, etc.) */
|
*(.rodata) /* .rodata sections (constants, strings, etc.) */
|
||||||
|
@ -108,7 +108,7 @@ SECTIONS
|
||||||
*(.eh_frame)
|
*(.eh_frame)
|
||||||
KEEP (*(.init))
|
KEEP (*(.init))
|
||||||
KEEP (*(.fini))
|
KEEP (*(.fini))
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
} > m_text
|
} > m_text
|
||||||
|
|
||||||
.ARM.extab :
|
.ARM.extab :
|
||||||
|
@ -186,12 +186,12 @@ SECTIONS
|
||||||
|
|
||||||
.interrupts_ram :
|
.interrupts_ram :
|
||||||
{
|
{
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
__VECTOR_RAM__ = .;
|
__VECTOR_RAM__ = .;
|
||||||
__interrupts_ram_start__ = .; /* Create a global symbol at data start */
|
__interrupts_ram_start__ = .; /* Create a global symbol at data start */
|
||||||
*(.m_interrupts_ram) /* This is a user defined section */
|
*(.m_interrupts_ram) /* This is a user defined section */
|
||||||
. += M_VECTOR_RAM_SIZE;
|
. += M_VECTOR_RAM_SIZE;
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
__interrupts_ram_end__ = .; /* Define a global symbol at data end */
|
__interrupts_ram_end__ = .; /* Define a global symbol at data end */
|
||||||
} > m_data
|
} > m_data
|
||||||
|
|
||||||
|
@ -200,13 +200,13 @@ SECTIONS
|
||||||
|
|
||||||
.data : AT(__DATA_ROM)
|
.data : AT(__DATA_ROM)
|
||||||
{
|
{
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
__DATA_RAM = .;
|
__DATA_RAM = .;
|
||||||
__data_start__ = .; /* create a global symbol at data start */
|
__data_start__ = .; /* create a global symbol at data start */
|
||||||
*(.data) /* .data sections */
|
*(.data) /* .data sections */
|
||||||
*(.data*) /* .data* sections */
|
*(.data*) /* .data* sections */
|
||||||
KEEP(*(.jcr*))
|
KEEP(*(.jcr*))
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
__data_end__ = .; /* define a global symbol at data end */
|
__data_end__ = .; /* define a global symbol at data end */
|
||||||
} > m_data
|
} > m_data
|
||||||
|
|
||||||
|
@ -219,7 +219,7 @@ SECTIONS
|
||||||
.bss :
|
.bss :
|
||||||
{
|
{
|
||||||
/* This is used by the startup in order to initialize the .bss section */
|
/* This is used by the startup in order to initialize the .bss section */
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
__START_BSS = .;
|
__START_BSS = .;
|
||||||
__bss_start__ = .;
|
__bss_start__ = .;
|
||||||
*(.bss)
|
*(.bss)
|
||||||
|
@ -228,7 +228,7 @@ SECTIONS
|
||||||
USB_RAM_START = .;
|
USB_RAM_START = .;
|
||||||
. += USB_RAM_GAP;
|
. += USB_RAM_GAP;
|
||||||
*(COMMON)
|
*(COMMON)
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
__bss_end__ = .;
|
__bss_end__ = .;
|
||||||
__END_BSS = .;
|
__END_BSS = .;
|
||||||
} > m_data
|
} > m_data
|
||||||
|
|
|
@ -74,22 +74,22 @@ SECTIONS
|
||||||
.interrupts :
|
.interrupts :
|
||||||
{
|
{
|
||||||
__VECTOR_TABLE = .;
|
__VECTOR_TABLE = .;
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
KEEP(*(.isr_vector)) /* Startup code */
|
KEEP(*(.isr_vector)) /* Startup code */
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
} > m_interrupts
|
} > m_interrupts
|
||||||
|
|
||||||
.flash_config :
|
.flash_config :
|
||||||
{
|
{
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
KEEP(*(.FlashConfig)) /* Flash Configuration Field (FCF) */
|
KEEP(*(.FlashConfig)) /* Flash Configuration Field (FCF) */
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
} > m_flash_config
|
} > m_flash_config
|
||||||
|
|
||||||
/* The program code and other data goes into internal flash */
|
/* The program code and other data goes into internal flash */
|
||||||
.text :
|
.text :
|
||||||
{
|
{
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
*(.text) /* .text sections (code) */
|
*(.text) /* .text sections (code) */
|
||||||
*(.text*) /* .text* sections (code) */
|
*(.text*) /* .text* sections (code) */
|
||||||
*(.rodata) /* .rodata sections (constants, strings, etc.) */
|
*(.rodata) /* .rodata sections (constants, strings, etc.) */
|
||||||
|
@ -99,7 +99,7 @@ SECTIONS
|
||||||
*(.eh_frame)
|
*(.eh_frame)
|
||||||
KEEP (*(.init))
|
KEEP (*(.init))
|
||||||
KEEP (*(.fini))
|
KEEP (*(.fini))
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
} > m_text
|
} > m_text
|
||||||
|
|
||||||
.ARM.extab :
|
.ARM.extab :
|
||||||
|
@ -187,12 +187,12 @@ SECTIONS
|
||||||
|
|
||||||
.interrupts_ram :
|
.interrupts_ram :
|
||||||
{
|
{
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
__VECTOR_RAM__ = .;
|
__VECTOR_RAM__ = .;
|
||||||
__interrupts_ram_start__ = .; /* Create a global symbol at data start */
|
__interrupts_ram_start__ = .; /* Create a global symbol at data start */
|
||||||
*(.m_interrupts_ram) /* This is a user defined section */
|
*(.m_interrupts_ram) /* This is a user defined section */
|
||||||
. += M_VECTOR_RAM_SIZE;
|
. += M_VECTOR_RAM_SIZE;
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
__interrupts_ram_end__ = .; /* Define a global symbol at data end */
|
__interrupts_ram_end__ = .; /* Define a global symbol at data end */
|
||||||
} > m_data
|
} > m_data
|
||||||
|
|
||||||
|
@ -201,13 +201,13 @@ SECTIONS
|
||||||
|
|
||||||
.data : AT(__DATA_ROM)
|
.data : AT(__DATA_ROM)
|
||||||
{
|
{
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
__DATA_RAM = .;
|
__DATA_RAM = .;
|
||||||
__data_start__ = .; /* create a global symbol at data start */
|
__data_start__ = .; /* create a global symbol at data start */
|
||||||
*(.data) /* .data sections */
|
*(.data) /* .data sections */
|
||||||
*(.data*) /* .data* sections */
|
*(.data*) /* .data* sections */
|
||||||
KEEP(*(.jcr*))
|
KEEP(*(.jcr*))
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
__data_end__ = .; /* define a global symbol at data end */
|
__data_end__ = .; /* define a global symbol at data end */
|
||||||
} > m_data
|
} > m_data
|
||||||
|
|
||||||
|
@ -219,13 +219,13 @@ SECTIONS
|
||||||
.bss :
|
.bss :
|
||||||
{
|
{
|
||||||
/* This is used by the startup in order to initialize the .bss section */
|
/* This is used by the startup in order to initialize the .bss section */
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
__START_BSS = .;
|
__START_BSS = .;
|
||||||
__bss_start__ = .;
|
__bss_start__ = .;
|
||||||
*(.bss)
|
*(.bss)
|
||||||
*(.bss*)
|
*(.bss*)
|
||||||
*(COMMON)
|
*(COMMON)
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
__bss_end__ = .;
|
__bss_end__ = .;
|
||||||
__END_BSS = .;
|
__END_BSS = .;
|
||||||
} > m_data
|
} > m_data
|
||||||
|
|
|
@ -78,22 +78,22 @@ SECTIONS
|
||||||
.interrupts :
|
.interrupts :
|
||||||
{
|
{
|
||||||
__VECTOR_TABLE = .;
|
__VECTOR_TABLE = .;
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
KEEP(*(.isr_vector)) /* Startup code */
|
KEEP(*(.isr_vector)) /* Startup code */
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
} > m_interrupts
|
} > m_interrupts
|
||||||
|
|
||||||
.flash_config :
|
.flash_config :
|
||||||
{
|
{
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
KEEP(*(.FlashConfig)) /* Flash Configuration Field (FCF) */
|
KEEP(*(.FlashConfig)) /* Flash Configuration Field (FCF) */
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
} > m_flash_config
|
} > m_flash_config
|
||||||
|
|
||||||
/* The program code and other data goes into internal flash */
|
/* The program code and other data goes into internal flash */
|
||||||
.text :
|
.text :
|
||||||
{
|
{
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
*(.text) /* .text sections (code) */
|
*(.text) /* .text sections (code) */
|
||||||
*(.text*) /* .text* sections (code) */
|
*(.text*) /* .text* sections (code) */
|
||||||
*(.rodata) /* .rodata sections (constants, strings, etc.) */
|
*(.rodata) /* .rodata sections (constants, strings, etc.) */
|
||||||
|
@ -103,7 +103,7 @@ SECTIONS
|
||||||
*(.eh_frame)
|
*(.eh_frame)
|
||||||
KEEP (*(.init))
|
KEEP (*(.init))
|
||||||
KEEP (*(.fini))
|
KEEP (*(.fini))
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
} > m_text
|
} > m_text
|
||||||
|
|
||||||
.ARM.extab :
|
.ARM.extab :
|
||||||
|
@ -181,12 +181,12 @@ SECTIONS
|
||||||
|
|
||||||
.interrupts_ram :
|
.interrupts_ram :
|
||||||
{
|
{
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
__VECTOR_RAM__ = .;
|
__VECTOR_RAM__ = .;
|
||||||
__interrupts_ram_start__ = .; /* Create a global symbol at data start */
|
__interrupts_ram_start__ = .; /* Create a global symbol at data start */
|
||||||
*(.m_interrupts_ram) /* This is a user defined section */
|
*(.m_interrupts_ram) /* This is a user defined section */
|
||||||
. += M_VECTOR_RAM_SIZE;
|
. += M_VECTOR_RAM_SIZE;
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
__interrupts_ram_end__ = .; /* Define a global symbol at data end */
|
__interrupts_ram_end__ = .; /* Define a global symbol at data end */
|
||||||
} > m_data
|
} > m_data
|
||||||
|
|
||||||
|
@ -195,13 +195,13 @@ SECTIONS
|
||||||
|
|
||||||
.data : AT(__DATA_ROM)
|
.data : AT(__DATA_ROM)
|
||||||
{
|
{
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
__DATA_RAM = .;
|
__DATA_RAM = .;
|
||||||
__data_start__ = .; /* create a global symbol at data start */
|
__data_start__ = .; /* create a global symbol at data start */
|
||||||
*(.data) /* .data sections */
|
*(.data) /* .data sections */
|
||||||
*(.data*) /* .data* sections */
|
*(.data*) /* .data* sections */
|
||||||
KEEP(*(.jcr*))
|
KEEP(*(.jcr*))
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
__data_end__ = .; /* define a global symbol at data end */
|
__data_end__ = .; /* define a global symbol at data end */
|
||||||
} > m_data
|
} > m_data
|
||||||
|
|
||||||
|
@ -214,7 +214,7 @@ SECTIONS
|
||||||
.bss :
|
.bss :
|
||||||
{
|
{
|
||||||
/* This is used by the startup in order to initialize the .bss section */
|
/* This is used by the startup in order to initialize the .bss section */
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
__START_BSS = .;
|
__START_BSS = .;
|
||||||
__bss_start__ = .;
|
__bss_start__ = .;
|
||||||
*(.bss)
|
*(.bss)
|
||||||
|
@ -223,7 +223,7 @@ SECTIONS
|
||||||
USB_RAM_START = .;
|
USB_RAM_START = .;
|
||||||
. += USB_RAM_GAP;
|
. += USB_RAM_GAP;
|
||||||
*(COMMON)
|
*(COMMON)
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
__bss_end__ = .;
|
__bss_end__ = .;
|
||||||
__END_BSS = .;
|
__END_BSS = .;
|
||||||
} > m_data
|
} > m_data
|
||||||
|
|
|
@ -85,22 +85,22 @@ SECTIONS
|
||||||
.interrupts :
|
.interrupts :
|
||||||
{
|
{
|
||||||
__VECTOR_TABLE = .;
|
__VECTOR_TABLE = .;
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
KEEP(*(.isr_vector)) /* Startup code */
|
KEEP(*(.isr_vector)) /* Startup code */
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
} > m_interrupts
|
} > m_interrupts
|
||||||
|
|
||||||
.flash_config :
|
.flash_config :
|
||||||
{
|
{
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
KEEP(*(.FlashConfig)) /* Flash Configuration Field (FCF) */
|
KEEP(*(.FlashConfig)) /* Flash Configuration Field (FCF) */
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
} > m_flash_config
|
} > m_flash_config
|
||||||
|
|
||||||
.text :
|
.text :
|
||||||
{
|
{
|
||||||
|
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
*(.text) /* .text sections (code) */
|
*(.text) /* .text sections (code) */
|
||||||
*(.text*) /* .text* sections (code) */
|
*(.text*) /* .text* sections (code) */
|
||||||
*(.rodata) /* .rodata sections (constants, strings, etc.) */
|
*(.rodata) /* .rodata sections (constants, strings, etc.) */
|
||||||
|
@ -110,7 +110,7 @@ SECTIONS
|
||||||
*(.eh_frame)
|
*(.eh_frame)
|
||||||
KEEP (*(.init))
|
KEEP (*(.init))
|
||||||
KEEP (*(.fini))
|
KEEP (*(.fini))
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
} > m_text
|
} > m_text
|
||||||
|
|
||||||
.ARM.extab :
|
.ARM.extab :
|
||||||
|
@ -185,12 +185,12 @@ SECTIONS
|
||||||
|
|
||||||
.interrupts_ram :
|
.interrupts_ram :
|
||||||
{
|
{
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
__VECTOR_RAM__ = .;
|
__VECTOR_RAM__ = .;
|
||||||
__interrupts_ram_start__ = .; /* Create a global symbol at data start */
|
__interrupts_ram_start__ = .; /* Create a global symbol at data start */
|
||||||
*(.m_interrupts_ram) /* This is a user defined section */
|
*(.m_interrupts_ram) /* This is a user defined section */
|
||||||
. += M_VECTOR_RAM_SIZE;
|
. += M_VECTOR_RAM_SIZE;
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
__interrupts_ram_end__ = .; /* Define a global symbol at data end */
|
__interrupts_ram_end__ = .; /* Define a global symbol at data end */
|
||||||
} > m_data
|
} > m_data
|
||||||
|
|
||||||
|
@ -202,13 +202,13 @@ SECTIONS
|
||||||
{
|
{
|
||||||
PROVIDE(__etext = LOADADDR(.data)); /* Define a global symbol at end of code, */
|
PROVIDE(__etext = LOADADDR(.data)); /* Define a global symbol at end of code, */
|
||||||
PROVIDE(__DATA_ROM = LOADADDR(.data)); /* Symbol is used by startup for data initialization. */
|
PROVIDE(__DATA_ROM = LOADADDR(.data)); /* Symbol is used by startup for data initialization. */
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
__DATA_RAM = .;
|
__DATA_RAM = .;
|
||||||
__data_start__ = .; /* create a global symbol at data start */
|
__data_start__ = .; /* create a global symbol at data start */
|
||||||
*(.data) /* .data sections */
|
*(.data) /* .data sections */
|
||||||
*(.data*) /* .data* sections */
|
*(.data*) /* .data* sections */
|
||||||
KEEP(*(.jcr*))
|
KEEP(*(.jcr*))
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
__data_end__ = .; /* define a global symbol at data end */
|
__data_end__ = .; /* define a global symbol at data end */
|
||||||
} > m_data_2 AT > m_text
|
} > m_data_2 AT > m_text
|
||||||
|
|
||||||
|
@ -235,7 +235,7 @@ SECTIONS
|
||||||
.bss :
|
.bss :
|
||||||
{
|
{
|
||||||
/* This is used by the startup in order to initialize the .bss section */
|
/* This is used by the startup in order to initialize the .bss section */
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
__START_BSS = .;
|
__START_BSS = .;
|
||||||
__bss_start__ = .;
|
__bss_start__ = .;
|
||||||
*(.bss)
|
*(.bss)
|
||||||
|
@ -244,7 +244,7 @@ SECTIONS
|
||||||
USB_RAM_START = .;
|
USB_RAM_START = .;
|
||||||
. += USB_RAM_GAP;
|
. += USB_RAM_GAP;
|
||||||
*(COMMON)
|
*(COMMON)
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
__bss_end__ = .;
|
__bss_end__ = .;
|
||||||
__END_BSS = .;
|
__END_BSS = .;
|
||||||
} > m_data_2
|
} > m_data_2
|
||||||
|
|
|
@ -88,22 +88,22 @@ SECTIONS
|
||||||
.interrupts :
|
.interrupts :
|
||||||
{
|
{
|
||||||
__VECTOR_TABLE = .;
|
__VECTOR_TABLE = .;
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
KEEP(*(.isr_vector)) /* Startup code */
|
KEEP(*(.isr_vector)) /* Startup code */
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
} > m_interrupts
|
} > m_interrupts
|
||||||
|
|
||||||
.flash_config :
|
.flash_config :
|
||||||
{
|
{
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
KEEP(*(.FlashConfig)) /* Flash Configuration Field (FCF) */
|
KEEP(*(.FlashConfig)) /* Flash Configuration Field (FCF) */
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
} > m_flash_config
|
} > m_flash_config
|
||||||
|
|
||||||
.text :
|
.text :
|
||||||
{
|
{
|
||||||
|
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
*(.text) /* .text sections (code) */
|
*(.text) /* .text sections (code) */
|
||||||
*(.text*) /* .text* sections (code) */
|
*(.text*) /* .text* sections (code) */
|
||||||
*(.rodata) /* .rodata sections (constants, strings, etc.) */
|
*(.rodata) /* .rodata sections (constants, strings, etc.) */
|
||||||
|
@ -113,7 +113,7 @@ SECTIONS
|
||||||
*(.eh_frame)
|
*(.eh_frame)
|
||||||
KEEP (*(.init))
|
KEEP (*(.init))
|
||||||
KEEP (*(.fini))
|
KEEP (*(.fini))
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
} > m_text
|
} > m_text
|
||||||
|
|
||||||
.ARM.extab :
|
.ARM.extab :
|
||||||
|
@ -188,12 +188,12 @@ SECTIONS
|
||||||
|
|
||||||
.interrupts_ram :
|
.interrupts_ram :
|
||||||
{
|
{
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
__VECTOR_RAM__ = .;
|
__VECTOR_RAM__ = .;
|
||||||
__interrupts_ram_start__ = .; /* Create a global symbol at data start */
|
__interrupts_ram_start__ = .; /* Create a global symbol at data start */
|
||||||
*(.m_interrupts_ram) /* This is a user defined section */
|
*(.m_interrupts_ram) /* This is a user defined section */
|
||||||
. += M_VECTOR_RAM_SIZE;
|
. += M_VECTOR_RAM_SIZE;
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
__interrupts_ram_end__ = .; /* Define a global symbol at data end */
|
__interrupts_ram_end__ = .; /* Define a global symbol at data end */
|
||||||
} > m_data
|
} > m_data
|
||||||
|
|
||||||
|
@ -205,13 +205,13 @@ SECTIONS
|
||||||
{
|
{
|
||||||
PROVIDE(__etext = LOADADDR(.data)); /* Define a global symbol at end of code, */
|
PROVIDE(__etext = LOADADDR(.data)); /* Define a global symbol at end of code, */
|
||||||
PROVIDE(__DATA_ROM = LOADADDR(.data)); /* Symbol is used by startup for data initialization. */
|
PROVIDE(__DATA_ROM = LOADADDR(.data)); /* Symbol is used by startup for data initialization. */
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
__DATA_RAM = .;
|
__DATA_RAM = .;
|
||||||
__data_start__ = .; /* create a global symbol at data start */
|
__data_start__ = .; /* create a global symbol at data start */
|
||||||
*(.data) /* .data sections */
|
*(.data) /* .data sections */
|
||||||
*(.data*) /* .data* sections */
|
*(.data*) /* .data* sections */
|
||||||
KEEP(*(.jcr*))
|
KEEP(*(.jcr*))
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
__data_end__ = .; /* define a global symbol at data end */
|
__data_end__ = .; /* define a global symbol at data end */
|
||||||
} > m_data_2 AT > m_text
|
} > m_data_2 AT > m_text
|
||||||
|
|
||||||
|
@ -239,7 +239,7 @@ SECTIONS
|
||||||
.bss :
|
.bss :
|
||||||
{
|
{
|
||||||
/* This is used by the startup in order to initialize the .bss section */
|
/* This is used by the startup in order to initialize the .bss section */
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
__START_BSS = .;
|
__START_BSS = .;
|
||||||
__bss_start__ = .;
|
__bss_start__ = .;
|
||||||
*(.bss)
|
*(.bss)
|
||||||
|
@ -248,7 +248,7 @@ SECTIONS
|
||||||
USB_RAM_START = .;
|
USB_RAM_START = .;
|
||||||
. += USB_RAM_GAP;
|
. += USB_RAM_GAP;
|
||||||
*(COMMON)
|
*(COMMON)
|
||||||
. = ALIGN(4);
|
. = ALIGN(8);
|
||||||
__bss_end__ = .;
|
__bss_end__ = .;
|
||||||
__END_BSS = .;
|
__END_BSS = .;
|
||||||
} > m_data_2
|
} > m_data_2
|
||||||
|
|
Loading…
Reference in New Issue