Merge pull request #8186 from deepikabhavnani/freescale_align_fix

Freescale/NXP: Fix alignment of execute region to 8byte boundary
pull/8364/merge
Cruz Monrreal 2018-10-10 08:43:51 -05:00 committed by GitHub
commit 73f1d4cabd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
59 changed files with 604 additions and 604 deletions

View File

@ -46,13 +46,13 @@ SECTIONS
KEEP(*(.vector_table))
*(.text.Reset_Handler)
*(.text.System_Init)
. = ALIGN(4);
. = ALIGN(8);
} > VECTORS
.flash_protect :
{
KEEP(*(.kinetis_flash_config_field))
. = ALIGN(4);
. = ALIGN(8);
} > FLASH_PROTECTION
.text :
@ -101,13 +101,13 @@ SECTIONS
*(vtable)
*(.data*)
. = ALIGN(4);
. = ALIGN(8);
/* preinit data */
PROVIDE_HIDDEN (__preinit_array_start = .);
KEEP(*(.preinit_array))
PROVIDE_HIDDEN (__preinit_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* init data */
PROVIDE_HIDDEN (__init_array_start = .);
KEEP(*(SORT(.init_array.*)))
@ -115,14 +115,14 @@ SECTIONS
PROVIDE_HIDDEN (__init_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* finit data */
PROVIDE_HIDDEN (__fini_array_start = .);
KEEP(*(SORT(.fini_array.*)))
KEEP(*(.fini_array))
PROVIDE_HIDDEN (__fini_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* All data end */
__data_end__ = .;

View File

@ -47,13 +47,13 @@ SECTIONS
KEEP(*(.isr_vector))
*(.text.Reset_Handler)
*(.text.SystemInit)
. = ALIGN(4);
. = ALIGN(8);
} > VECTORS
.flash_protect :
{
KEEP(*(.kinetis_flash_config_field))
. = ALIGN(4);
. = ALIGN(8);
} > FLASH_PROTECTION
.text :
@ -102,13 +102,13 @@ SECTIONS
*(vtable)
*(.data*)
. = ALIGN(4);
. = ALIGN(8);
/* preinit data */
PROVIDE_HIDDEN (__preinit_array_start = .);
KEEP(*(.preinit_array))
PROVIDE_HIDDEN (__preinit_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* init data */
PROVIDE_HIDDEN (__init_array_start = .);
KEEP(*(SORT(.init_array.*)))
@ -116,14 +116,14 @@ SECTIONS
PROVIDE_HIDDEN (__init_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* finit data */
PROVIDE_HIDDEN (__fini_array_start = .);
KEEP(*(SORT(.fini_array.*)))
KEEP(*(.fini_array))
PROVIDE_HIDDEN (__fini_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* All data end */
__data_end__ = .;

View File

@ -43,7 +43,7 @@ SECTIONS
{
__vector_table = .;
KEEP(*(.vector_table))
. = ALIGN(4);
. = ALIGN(8);
} > VECTORS
.text :
@ -92,13 +92,13 @@ SECTIONS
*(vtable)
*(.data*)
. = ALIGN(4);
. = ALIGN(8);
/* preinit data */
PROVIDE_HIDDEN (__preinit_array_start = .);
KEEP(*(.preinit_array))
PROVIDE_HIDDEN (__preinit_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* init data */
PROVIDE_HIDDEN (__init_array_start = .);
KEEP(*(SORT(.init_array.*)))
@ -106,14 +106,14 @@ SECTIONS
PROVIDE_HIDDEN (__init_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* finit data */
PROVIDE_HIDDEN (__fini_array_start = .);
KEEP(*(SORT(.fini_array.*)))
KEEP(*(.fini_array))
PROVIDE_HIDDEN (__fini_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* All data end */
__data_end__ = .;

View File

@ -46,13 +46,13 @@ SECTIONS
KEEP(*(.vector_table))
*(.text.Reset_Handler)
*(.text.System_Init)
. = ALIGN(4);
. = ALIGN(8);
} > VECTORS
.flash_protect :
{
KEEP(*(.kinetis_flash_config_field))
. = ALIGN(4);
. = ALIGN(8);
} > FLASH_PROTECTION
.text :
@ -101,13 +101,13 @@ SECTIONS
*(vtable)
*(.data*)
. = ALIGN(4);
. = ALIGN(8);
/* preinit data */
PROVIDE_HIDDEN (__preinit_array_start = .);
KEEP(*(.preinit_array))
PROVIDE_HIDDEN (__preinit_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* init data */
PROVIDE_HIDDEN (__init_array_start = .);
KEEP(*(SORT(.init_array.*)))
@ -115,14 +115,14 @@ SECTIONS
PROVIDE_HIDDEN (__init_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* finit data */
PROVIDE_HIDDEN (__fini_array_start = .);
KEEP(*(SORT(.fini_array.*)))
KEEP(*(.fini_array))
PROVIDE_HIDDEN (__fini_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* All data end */
__data_end__ = .;

View File

@ -35,22 +35,22 @@ SECTIONS
.interrupts :
{
__vector_table = .;
. = ALIGN(4);
. = ALIGN(8);
KEEP(*(.vectortable)) /* Startup code */
. = ALIGN(4);
. = ALIGN(8);
} > m_interrupts
.cfmprotect :
{
. = ALIGN(4);
. = ALIGN(8);
KEEP(*(.cfmconfig)) /* Flash Configuration Field (FCF) */
. = ALIGN(4);
. = ALIGN(8);
} > m_cfmprotrom
/* The program code and other data goes into Flash */
.text :
{
. = ALIGN(4);
. = ALIGN(8);
*(.text) /* .text sections (code) */
*(.text*) /* .text* sections (code) */
*(.rodata) /* .rodata sections (constants, strings, etc.) */
@ -62,7 +62,7 @@ SECTIONS
KEEP (*(.init))
KEEP (*(.fini))
. = ALIGN(4);
. = ALIGN(8);
_etext = .; /* define a global symbols at end of code */
} > m_text
@ -141,20 +141,20 @@ SECTIONS
/* Initialized data sections goes into RAM, load LMA copy after code */
.data : AT(___ROM_AT)
{
. = ALIGN(4);
. = ALIGN(8);
__sinit__ = .;
_sdata = .; /* create a global symbol at data start */
*(.data) /* .data sections */
*(.data*) /* .data* sections */
. = ALIGN(4);
. = ALIGN(8);
_edata = .; /* define a global symbol at data end */
} > m_data
___data_size = _edata - _sdata;
/* Uninitialized data section */
. = ALIGN(4);
. = ALIGN(8);
.bss :
{
/* This is used by the startup in order to initialize the .bss section */
@ -164,7 +164,7 @@ SECTIONS
*(.bss*)
*(COMMON)
. = ALIGN(4);
. = ALIGN(8);
__END_BSS = .;
PROVIDE ( __bss_end__ = __END_BSS );
} > m_data
@ -184,13 +184,13 @@ SECTIONS
/* User_heap_stack section, used to check that there is enough RAM left */
._user_heap_stack :
{
. = ALIGN(4);
. = ALIGN(8);
PROVIDE ( end = . );
PROVIDE ( _end = . );
__heap_addr = .;
. = . + __heap_size;
. = . + __stack_size;
. = ALIGN(4);
. = ALIGN(8);
} > m_data
.ARM.attributes 0 : { *(.ARM.attributes) }

View File

@ -91,13 +91,13 @@ SECTIONS
*(vtable)
*(.data*)
. = ALIGN(4);
. = ALIGN(8);
/* preinit data */
PROVIDE (__preinit_array_start = .);
KEEP(*(.preinit_array))
PROVIDE (__preinit_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* init data */
PROVIDE (__init_array_start = .);
KEEP(*(SORT(.init_array.*)))
@ -105,14 +105,14 @@ SECTIONS
PROVIDE (__init_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* finit data */
PROVIDE (__fini_array_start = .);
KEEP(*(SORT(.fini_array.*)))
KEEP(*(.fini_array))
PROVIDE (__fini_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* All data end */
__data_end__ = .;

View File

@ -46,13 +46,13 @@ SECTIONS
KEEP(*(.vector_table))
*(.text.Reset_Handler)
*(.text.System_Init)
. = ALIGN(4);
. = ALIGN(8);
} > VECTORS
.flash_protect :
{
KEEP(*(.kinetis_flash_config_field))
. = ALIGN(4);
. = ALIGN(8);
} > FLASH_PROTECTION
.text :
@ -101,13 +101,13 @@ SECTIONS
*(vtable)
*(.data*)
. = ALIGN(4);
. = ALIGN(8);
/* preinit data */
PROVIDE_HIDDEN (__preinit_array_start = .);
KEEP(*(.preinit_array))
PROVIDE_HIDDEN (__preinit_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* init data */
PROVIDE_HIDDEN (__init_array_start = .);
KEEP(*(SORT(.init_array.*)))
@ -115,14 +115,14 @@ SECTIONS
PROVIDE_HIDDEN (__init_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* finit data */
PROVIDE_HIDDEN (__fini_array_start = .);
KEEP(*(SORT(.fini_array.*)))
KEEP(*(.fini_array))
PROVIDE_HIDDEN (__fini_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* All data end */
__data_end__ = .;

View File

@ -46,13 +46,13 @@ SECTIONS
KEEP(*(.vector_table))
*(.text.Reset_Handler)
*(.text.System_Init)
. = ALIGN(4);
. = ALIGN(8);
} > VECTORS
.flash_protect :
{
KEEP(*(.kinetis_flash_config_field))
. = ALIGN(4);
. = ALIGN(8);
} > FLASH_PROTECTION
.text :
@ -101,13 +101,13 @@ SECTIONS
*(vtable)
*(.data*)
. = ALIGN(4);
. = ALIGN(8);
/* preinit data */
PROVIDE_HIDDEN (__preinit_array_start = .);
KEEP(*(.preinit_array))
PROVIDE_HIDDEN (__preinit_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* init data */
PROVIDE_HIDDEN (__init_array_start = .);
KEEP(*(SORT(.init_array.*)))
@ -115,14 +115,14 @@ SECTIONS
PROVIDE_HIDDEN (__init_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* finit data */
PROVIDE_HIDDEN (__fini_array_start = .);
KEEP(*(SORT(.fini_array.*)))
KEEP(*(.fini_array))
PROVIDE_HIDDEN (__fini_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* All data end */
__data_end__ = .;

View File

@ -84,22 +84,22 @@ SECTIONS
.interrupts :
{
__VECTOR_TABLE = .;
. = ALIGN(4);
. = ALIGN(8);
KEEP(*(.isr_vector)) /* Startup code */
. = ALIGN(4);
. = ALIGN(8);
} > m_interrupts
.flash_config :
{
. = ALIGN(4);
. = ALIGN(8);
KEEP(*(.FlashConfig)) /* Flash Configuration Field (FCF) */
. = ALIGN(4);
. = ALIGN(8);
} > m_flash_config
/* The program code and other data goes into internal flash */
.text :
{
. = ALIGN(4);
. = ALIGN(8);
*(.text) /* .text sections (code) */
*(.text*) /* .text* sections (code) */
*(.rodata) /* .rodata sections (constants, strings, etc.) */
@ -109,7 +109,7 @@ SECTIONS
*(.eh_frame)
KEEP (*(.init))
KEEP (*(.fini))
. = ALIGN(4);
. = ALIGN(8);
} > m_text
.ARM.extab :
@ -187,12 +187,12 @@ SECTIONS
.interrupts_ram :
{
. = ALIGN(4);
. = ALIGN(8);
__VECTOR_RAM__ = .;
__interrupts_ram_start__ = .; /* Create a global symbol at data start */
*(.m_interrupts_ram) /* This is a user defined section */
. += M_VECTOR_RAM_SIZE;
. = ALIGN(4);
. = ALIGN(8);
__interrupts_ram_end__ = .; /* Define a global symbol at data end */
} > m_data
@ -201,13 +201,13 @@ SECTIONS
.data : AT(__DATA_ROM)
{
. = ALIGN(4);
. = ALIGN(8);
__DATA_RAM = .;
__data_start__ = .; /* create a global symbol at data start */
*(.data) /* .data sections */
*(.data*) /* .data* sections */
KEEP(*(.jcr*))
. = ALIGN(4);
. = ALIGN(8);
__data_end__ = .; /* define a global symbol at data end */
} > m_data
@ -219,13 +219,13 @@ SECTIONS
.bss :
{
/* This is used by the startup in order to initialize the .bss section */
. = ALIGN(4);
. = ALIGN(8);
__START_BSS = .;
__bss_start__ = .;
*(.bss)
*(.bss*)
*(COMMON)
. = ALIGN(4);
. = ALIGN(8);
__bss_end__ = .;
__END_BSS = .;
} > m_data_2

View File

@ -80,29 +80,29 @@ SECTIONS
.interrupts :
{
__VECTOR_TABLE = .;
. = ALIGN(4);
. = ALIGN(8);
KEEP(*(.isr_vector)) /* Startup code */
. = ALIGN(4);
. = ALIGN(8);
} > m_interrupts
.bootloader_config :
{
. = ALIGN(4);
. = ALIGN(8);
KEEP(*(.BootloaderConfig)) /* Bootloader Configuration Area (BCA) */
. = ALIGN(4);
. = ALIGN(8);
} > m_bootloader_config
.flash_config :
{
. = ALIGN(4);
. = ALIGN(8);
KEEP(*(.FlashConfig)) /* Flash Configuration Field (FCF) */
. = ALIGN(4);
. = ALIGN(8);
} > m_flash_config
/* The program code and other data goes into internal flash */
.text :
{
. = ALIGN(4);
. = ALIGN(8);
*(.text) /* .text sections (code) */
*(.text*) /* .text* sections (code) */
*(.rodata) /* .rodata sections (constants, strings, etc.) */
@ -112,7 +112,7 @@ SECTIONS
*(.eh_frame)
KEEP (*(.init))
KEEP (*(.fini))
. = ALIGN(4);
. = ALIGN(8);
} > m_text
.ARM.extab :
@ -190,12 +190,12 @@ SECTIONS
.interrupts_ram :
{
. = ALIGN(4);
. = ALIGN(8);
__VECTOR_RAM__ = .;
__interrupts_ram_start__ = .; /* Create a global symbol at data start */
*(.m_interrupts_ram) /* This is a user defined section */
. += M_VECTOR_RAM_SIZE;
. = ALIGN(4);
. = ALIGN(8);
__interrupts_ram_end__ = .; /* Define a global symbol at data end */
} > m_data
@ -204,13 +204,13 @@ SECTIONS
.data : AT(__DATA_ROM)
{
. = ALIGN(4);
. = ALIGN(8);
__DATA_RAM = .;
__data_start__ = .; /* create a global symbol at data start */
*(.data) /* .data sections */
*(.data*) /* .data* sections */
KEEP(*(.jcr*))
. = ALIGN(4);
. = ALIGN(8);
__data_end__ = .; /* define a global symbol at data end */
} > m_data
@ -223,7 +223,7 @@ SECTIONS
.bss :
{
/* This is used by the startup in order to initialize the .bss section */
. = ALIGN(4);
. = ALIGN(8);
__START_BSS = .;
__bss_start__ = .;
*(.bss)
@ -232,7 +232,7 @@ SECTIONS
USB_RAM_START = .;
. += USB_RAM_GAP;
*(COMMON)
. = ALIGN(4);
. = ALIGN(8);
__bss_end__ = .;
__END_BSS = .;
} > m_data

View File

@ -79,22 +79,22 @@ SECTIONS
.interrupts :
{
__VECTOR_TABLE = .;
. = ALIGN(4);
. = ALIGN(8);
KEEP(*(.isr_vector)) /* Startup code */
. = ALIGN(4);
. = ALIGN(8);
} > m_interrupts
.flash_config :
{
. = ALIGN(4);
. = ALIGN(8);
KEEP(*(.FlashConfig)) /* Flash Configuration Field (FCF) */
. = ALIGN(4);
. = ALIGN(8);
} > m_flash_config
/* The program code and other data goes into internal flash */
.text :
{
. = ALIGN(4);
. = ALIGN(8);
*(.text) /* .text sections (code) */
*(.text*) /* .text* sections (code) */
*(.rodata) /* .rodata sections (constants, strings, etc.) */
@ -104,7 +104,7 @@ SECTIONS
*(.eh_frame)
KEEP (*(.init))
KEEP (*(.fini))
. = ALIGN(4);
. = ALIGN(8);
} > m_text
.ARM.extab :
@ -192,12 +192,12 @@ SECTIONS
.interrupts_ram :
{
. = ALIGN(4);
. = ALIGN(8);
__VECTOR_RAM__ = .;
__interrupts_ram_start__ = .; /* Create a global symbol at data start */
*(.m_interrupts_ram) /* This is a user defined section */
. += M_VECTOR_RAM_SIZE;
. = ALIGN(4);
. = ALIGN(8);
__interrupts_ram_end__ = .; /* Define a global symbol at data end */
} > m_data
@ -206,13 +206,13 @@ SECTIONS
.data : AT(__DATA_ROM)
{
. = ALIGN(4);
. = ALIGN(8);
__DATA_RAM = .;
__data_start__ = .; /* create a global symbol at data start */
*(.data) /* .data sections */
*(.data*) /* .data* sections */
KEEP(*(.jcr*))
. = ALIGN(4);
. = ALIGN(8);
__data_end__ = .; /* define a global symbol at data end */
} > m_data
@ -225,7 +225,7 @@ SECTIONS
.bss :
{
/* This is used by the startup in order to initialize the .bss section */
. = ALIGN(4);
. = ALIGN(8);
__START_BSS = .;
__bss_start__ = .;
*(.bss)
@ -234,7 +234,7 @@ SECTIONS
USB_RAM_START = .;
. += USB_RAM_GAP;
*(COMMON)
. = ALIGN(4);
. = ALIGN(8);
__bss_end__ = .;
__END_BSS = .;
} > m_data

View File

@ -76,22 +76,22 @@ SECTIONS
.interrupts :
{
__VECTOR_TABLE = .;
. = ALIGN(4);
. = ALIGN(8);
KEEP(*(.isr_vector)) /* Startup code */
. = ALIGN(4);
. = ALIGN(8);
} > m_interrupts
.flash_config :
{
. = ALIGN(4);
. = ALIGN(8);
KEEP(*(.FlashConfig)) /* Flash Configuration Field (FCF) */
. = ALIGN(4);
. = ALIGN(8);
} > m_flash_config
/* The program code and other data goes into internal flash */
.text :
{
. = ALIGN(4);
. = ALIGN(8);
*(.text) /* .text sections (code) */
*(.text*) /* .text* sections (code) */
*(.rodata) /* .rodata sections (constants, strings, etc.) */
@ -101,7 +101,7 @@ SECTIONS
*(.eh_frame)
KEEP (*(.init))
KEEP (*(.fini))
. = ALIGN(4);
. = ALIGN(8);
} > m_text
.ARM.extab :
@ -189,12 +189,12 @@ SECTIONS
.interrupts_ram :
{
. = ALIGN(4);
. = ALIGN(8);
__VECTOR_RAM__ = .;
__interrupts_ram_start__ = .; /* Create a global symbol at data start */
*(.m_interrupts_ram) /* This is a user defined section */
. += M_VECTOR_RAM_SIZE;
. = ALIGN(4);
. = ALIGN(8);
__interrupts_ram_end__ = .; /* Define a global symbol at data end */
} > m_data
@ -203,13 +203,13 @@ SECTIONS
.data : AT(__DATA_ROM)
{
. = ALIGN(4);
. = ALIGN(8);
__DATA_RAM = .;
__data_start__ = .; /* create a global symbol at data start */
*(.data) /* .data sections */
*(.data*) /* .data* sections */
KEEP(*(.jcr*))
. = ALIGN(4);
. = ALIGN(8);
__data_end__ = .; /* define a global symbol at data end */
} > m_data
@ -222,7 +222,7 @@ SECTIONS
.bss :
{
/* This is used by the startup in order to initialize the .bss section */
. = ALIGN(4);
. = ALIGN(8);
__START_BSS = .;
__bss_start__ = .;
*(.bss)
@ -231,7 +231,7 @@ SECTIONS
USB_RAM_START = .;
. += USB_RAM_GAP;
*(COMMON)
. = ALIGN(4);
. = ALIGN(8);
__bss_end__ = .;
__END_BSS = .;
} > m_data

View File

@ -81,29 +81,29 @@ SECTIONS
.interrupts :
{
__VECTOR_TABLE = .;
. = ALIGN(4);
. = ALIGN(8);
KEEP(*(.isr_vector)) /* Startup code */
. = ALIGN(4);
. = ALIGN(8);
} > m_interrupts
.bootloader_config :
{
. = ALIGN(4);
. = ALIGN(8);
KEEP(*(.BootloaderConfig)) /* Bootloader Configuration Area (BCA) */
. = ALIGN(4);
. = ALIGN(8);
} > m_bootloader_config
.flash_config :
{
. = ALIGN(4);
. = ALIGN(8);
KEEP(*(.FlashConfig)) /* Flash Configuration Field (FCF) */
. = ALIGN(4);
. = ALIGN(8);
} > m_flash_config
/* The program code and other data goes into internal flash */
.text :
{
. = ALIGN(4);
. = ALIGN(8);
*(.text) /* .text sections (code) */
*(.text*) /* .text* sections (code) */
*(.rodata) /* .rodata sections (constants, strings, etc.) */
@ -113,7 +113,7 @@ SECTIONS
*(.eh_frame)
KEEP (*(.init))
KEEP (*(.fini))
. = ALIGN(4);
. = ALIGN(8);
} > m_text
.ARM.extab :
@ -201,12 +201,12 @@ SECTIONS
.interrupts_ram :
{
. = ALIGN(4);
. = ALIGN(8);
__VECTOR_RAM__ = .;
__interrupts_ram_start__ = .; /* Create a global symbol at data start */
*(.m_interrupts_ram) /* This is a user defined section */
. += M_VECTOR_RAM_SIZE;
. = ALIGN(4);
. = ALIGN(8);
__interrupts_ram_end__ = .; /* Define a global symbol at data end */
} > m_data
@ -215,13 +215,13 @@ SECTIONS
.data : AT(__DATA_ROM)
{
. = ALIGN(4);
. = ALIGN(8);
__DATA_RAM = .;
__data_start__ = .; /* create a global symbol at data start */
*(.data) /* .data sections */
*(.data*) /* .data* sections */
KEEP(*(.jcr*))
. = ALIGN(4);
. = ALIGN(8);
__data_end__ = .; /* define a global symbol at data end */
} > m_data
@ -234,7 +234,7 @@ SECTIONS
.bss :
{
/* This is used by the startup in order to initialize the .bss section */
. = ALIGN(4);
. = ALIGN(8);
__START_BSS = .;
__bss_start__ = .;
*(.bss)
@ -243,7 +243,7 @@ SECTIONS
USB_RAM_START = .;
. += USB_RAM_GAP;
*(COMMON)
. = ALIGN(4);
. = ALIGN(8);
__bss_end__ = .;
__END_BSS = .;
} > m_data

View File

@ -83,22 +83,22 @@ SECTIONS
.interrupts :
{
__VECTOR_TABLE = .;
. = ALIGN(4);
. = ALIGN(8);
KEEP(*(.isr_vector)) /* Startup code */
. = ALIGN(4);
. = ALIGN(8);
} > m_interrupts
.flash_config :
{
. = ALIGN(4);
. = ALIGN(8);
KEEP(*(.FlashConfig)) /* Flash Configuration Field (FCF) */
. = ALIGN(4);
. = ALIGN(8);
} > m_flash_config
/* The program code and other data goes into internal flash */
.text :
{
. = ALIGN(4);
. = ALIGN(8);
*(.text) /* .text sections (code) */
*(.text*) /* .text* sections (code) */
*(.rodata) /* .rodata sections (constants, strings, etc.) */
@ -108,7 +108,7 @@ SECTIONS
*(.eh_frame)
KEEP (*(.init))
KEEP (*(.fini))
. = ALIGN(4);
. = ALIGN(8);
} > m_text
.ARM.extab :
@ -186,12 +186,12 @@ SECTIONS
.interrupts_ram :
{
. = ALIGN(4);
. = ALIGN(8);
__VECTOR_RAM__ = .;
__interrupts_ram_start__ = .; /* Create a global symbol at data start */
*(.m_interrupts_ram) /* This is a user defined section */
. += M_VECTOR_RAM_SIZE;
. = ALIGN(4);
. = ALIGN(8);
__interrupts_ram_end__ = .; /* Define a global symbol at data end */
} > m_data
@ -200,13 +200,13 @@ SECTIONS
.data : AT(__DATA_ROM)
{
. = ALIGN(4);
. = ALIGN(8);
__DATA_RAM = .;
__data_start__ = .; /* create a global symbol at data start */
*(.data) /* .data sections */
*(.data*) /* .data* sections */
KEEP(*(.jcr*))
. = ALIGN(4);
. = ALIGN(8);
__data_end__ = .; /* define a global symbol at data end */
} > m_data
@ -219,7 +219,7 @@ SECTIONS
.bss :
{
/* This is used by the startup in order to initialize the .bss section */
. = ALIGN(4);
. = ALIGN(8);
__START_BSS = .;
__bss_start__ = .;
*(.bss)
@ -228,7 +228,7 @@ SECTIONS
USB_RAM_START = .;
. += USB_RAM_GAP;
*(COMMON)
. = ALIGN(4);
. = ALIGN(8);
__bss_end__ = .;
__END_BSS = .;
} > m_data

View File

@ -74,22 +74,22 @@ SECTIONS
.interrupts :
{
__VECTOR_TABLE = .;
. = ALIGN(4);
. = ALIGN(8);
KEEP(*(.isr_vector)) /* Startup code */
. = ALIGN(4);
. = ALIGN(8);
} > m_interrupts
.flash_config :
{
. = ALIGN(4);
. = ALIGN(8);
KEEP(*(.FlashConfig)) /* Flash Configuration Field (FCF) */
. = ALIGN(4);
. = ALIGN(8);
} > m_flash_config
/* The program code and other data goes into internal flash */
.text :
{
. = ALIGN(4);
. = ALIGN(8);
*(.text) /* .text sections (code) */
*(.text*) /* .text* sections (code) */
*(.rodata) /* .rodata sections (constants, strings, etc.) */
@ -99,7 +99,7 @@ SECTIONS
*(.eh_frame)
KEEP (*(.init))
KEEP (*(.fini))
. = ALIGN(4);
. = ALIGN(8);
} > m_text
.ARM.extab :
@ -187,12 +187,12 @@ SECTIONS
.interrupts_ram :
{
. = ALIGN(4);
. = ALIGN(8);
__VECTOR_RAM__ = .;
__interrupts_ram_start__ = .; /* Create a global symbol at data start */
*(.m_interrupts_ram) /* This is a user defined section */
. += M_VECTOR_RAM_SIZE;
. = ALIGN(4);
. = ALIGN(8);
__interrupts_ram_end__ = .; /* Define a global symbol at data end */
} > m_data
@ -201,13 +201,13 @@ SECTIONS
.data : AT(__DATA_ROM)
{
. = ALIGN(4);
. = ALIGN(8);
__DATA_RAM = .;
__data_start__ = .; /* create a global symbol at data start */
*(.data) /* .data sections */
*(.data*) /* .data* sections */
KEEP(*(.jcr*))
. = ALIGN(4);
. = ALIGN(8);
__data_end__ = .; /* define a global symbol at data end */
} > m_data
@ -219,13 +219,13 @@ SECTIONS
.bss :
{
/* This is used by the startup in order to initialize the .bss section */
. = ALIGN(4);
. = ALIGN(8);
__START_BSS = .;
__bss_start__ = .;
*(.bss)
*(.bss*)
*(COMMON)
. = ALIGN(4);
. = ALIGN(8);
__bss_end__ = .;
__END_BSS = .;
} > m_data

View File

@ -78,22 +78,22 @@ SECTIONS
.interrupts :
{
__VECTOR_TABLE = .;
. = ALIGN(4);
. = ALIGN(8);
KEEP(*(.isr_vector)) /* Startup code */
. = ALIGN(4);
. = ALIGN(8);
} > m_interrupts
.flash_config :
{
. = ALIGN(4);
. = ALIGN(8);
KEEP(*(.FlashConfig)) /* Flash Configuration Field (FCF) */
. = ALIGN(4);
. = ALIGN(8);
} > m_flash_config
/* The program code and other data goes into internal flash */
.text :
{
. = ALIGN(4);
. = ALIGN(8);
*(.text) /* .text sections (code) */
*(.text*) /* .text* sections (code) */
*(.rodata) /* .rodata sections (constants, strings, etc.) */
@ -103,7 +103,7 @@ SECTIONS
*(.eh_frame)
KEEP (*(.init))
KEEP (*(.fini))
. = ALIGN(4);
. = ALIGN(8);
} > m_text
.ARM.extab :
@ -181,12 +181,12 @@ SECTIONS
.interrupts_ram :
{
. = ALIGN(4);
. = ALIGN(8);
__VECTOR_RAM__ = .;
__interrupts_ram_start__ = .; /* Create a global symbol at data start */
*(.m_interrupts_ram) /* This is a user defined section */
. += M_VECTOR_RAM_SIZE;
. = ALIGN(4);
. = ALIGN(8);
__interrupts_ram_end__ = .; /* Define a global symbol at data end */
} > m_data
@ -195,13 +195,13 @@ SECTIONS
.data : AT(__DATA_ROM)
{
. = ALIGN(4);
. = ALIGN(8);
__DATA_RAM = .;
__data_start__ = .; /* create a global symbol at data start */
*(.data) /* .data sections */
*(.data*) /* .data* sections */
KEEP(*(.jcr*))
. = ALIGN(4);
. = ALIGN(8);
__data_end__ = .; /* define a global symbol at data end */
} > m_data
@ -214,7 +214,7 @@ SECTIONS
.bss :
{
/* This is used by the startup in order to initialize the .bss section */
. = ALIGN(4);
. = ALIGN(8);
__START_BSS = .;
__bss_start__ = .;
*(.bss)
@ -223,7 +223,7 @@ SECTIONS
USB_RAM_START = .;
. += USB_RAM_GAP;
*(COMMON)
. = ALIGN(4);
. = ALIGN(8);
__bss_end__ = .;
__END_BSS = .;
} > m_data

View File

@ -85,22 +85,22 @@ SECTIONS
.interrupts :
{
__VECTOR_TABLE = .;
. = ALIGN(4);
. = ALIGN(8);
KEEP(*(.isr_vector)) /* Startup code */
. = ALIGN(4);
. = ALIGN(8);
} > m_interrupts
.flash_config :
{
. = ALIGN(4);
. = ALIGN(8);
KEEP(*(.FlashConfig)) /* Flash Configuration Field (FCF) */
. = ALIGN(4);
. = ALIGN(8);
} > m_flash_config
.text :
{
. = ALIGN(4);
. = ALIGN(8);
*(.text) /* .text sections (code) */
*(.text*) /* .text* sections (code) */
*(.rodata) /* .rodata sections (constants, strings, etc.) */
@ -110,7 +110,7 @@ SECTIONS
*(.eh_frame)
KEEP (*(.init))
KEEP (*(.fini))
. = ALIGN(4);
. = ALIGN(8);
} > m_text
.ARM.extab :
@ -185,12 +185,12 @@ SECTIONS
.interrupts_ram :
{
. = ALIGN(4);
. = ALIGN(8);
__VECTOR_RAM__ = .;
__interrupts_ram_start__ = .; /* Create a global symbol at data start */
*(.m_interrupts_ram) /* This is a user defined section */
. += M_VECTOR_RAM_SIZE;
. = ALIGN(4);
. = ALIGN(8);
__interrupts_ram_end__ = .; /* Define a global symbol at data end */
} > m_data
@ -202,13 +202,13 @@ SECTIONS
{
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. */
. = ALIGN(4);
. = ALIGN(8);
__DATA_RAM = .;
__data_start__ = .; /* create a global symbol at data start */
*(.data) /* .data sections */
*(.data*) /* .data* sections */
KEEP(*(.jcr*))
. = ALIGN(4);
. = ALIGN(8);
__data_end__ = .; /* define a global symbol at data end */
} > m_data_2 AT > m_text
@ -235,7 +235,7 @@ SECTIONS
.bss :
{
/* This is used by the startup in order to initialize the .bss section */
. = ALIGN(4);
. = ALIGN(8);
__START_BSS = .;
__bss_start__ = .;
*(.bss)
@ -244,7 +244,7 @@ SECTIONS
USB_RAM_START = .;
. += USB_RAM_GAP;
*(COMMON)
. = ALIGN(4);
. = ALIGN(8);
__bss_end__ = .;
__END_BSS = .;
} > m_data_2

View File

@ -92,22 +92,22 @@ SECTIONS
.interrupts :
{
__VECTOR_TABLE = .;
. = ALIGN(4);
. = ALIGN(8);
KEEP(*(.isr_vector)) /* Startup code */
. = ALIGN(4);
. = ALIGN(8);
} > m_interrupts
.flash_config :
{
. = ALIGN(4);
. = ALIGN(8);
KEEP(*(.FlashConfig)) /* Flash Configuration Field (FCF) */
. = ALIGN(4);
. = ALIGN(8);
} > m_flash_config
.text :
{
. = ALIGN(4);
. = ALIGN(8);
*(.text) /* .text sections (code) */
*(.text*) /* .text* sections (code) */
*(.rodata) /* .rodata sections (constants, strings, etc.) */
@ -117,7 +117,7 @@ SECTIONS
*(.eh_frame)
KEEP (*(.init))
KEEP (*(.fini))
. = ALIGN(4);
. = ALIGN(8);
} > m_text
.ARM.extab :
@ -192,12 +192,12 @@ SECTIONS
.interrupts_ram :
{
. = ALIGN(4);
. = ALIGN(8);
__VECTOR_RAM__ = .;
__interrupts_ram_start__ = .; /* Create a global symbol at data start */
*(.m_interrupts_ram) /* This is a user defined section */
. += M_VECTOR_RAM_SIZE;
. = ALIGN(4);
. = ALIGN(8);
__interrupts_ram_end__ = .; /* Define a global symbol at data end */
} > m_data
@ -209,13 +209,13 @@ SECTIONS
{
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. */
. = ALIGN(4);
. = ALIGN(8);
__DATA_RAM = .;
__data_start__ = .; /* create a global symbol at data start */
*(.data) /* .data sections */
*(.data*) /* .data* sections */
KEEP(*(.jcr*))
. = ALIGN(4);
. = ALIGN(8);
__data_end__ = .; /* define a global symbol at data end */
} > m_data_2 AT > m_text
@ -243,7 +243,7 @@ SECTIONS
.bss :
{
/* This is used by the startup in order to initialize the .bss section */
. = ALIGN(4);
. = ALIGN(8);
__START_BSS = .;
__bss_start__ = .;
*(.bss)
@ -252,7 +252,7 @@ SECTIONS
USB_RAM_START = .;
. += USB_RAM_GAP;
*(COMMON)
. = ALIGN(4);
. = ALIGN(8);
__bss_end__ = .;
__END_BSS = .;
} > m_data_2

View File

@ -30,14 +30,14 @@ SECTIONS
{
/* MAIN TEXT SECTION */
.text : ALIGN(4)
.text : ALIGN(8)
{
FILL(0xff)
__vectors_start__ = ABSOLUTE(.) ;
KEEP(*(.isr_vector))
/* Global Section Table */
. = ALIGN(4) ;
. = ALIGN(8) ;
__section_table_start = .;
__data_section_table = .;
LONG(LOADADDR(.data));
@ -66,18 +66,18 @@ SECTIONS
*(.text*)
*(.rodata .rodata.*)
. = ALIGN(4);
. = ALIGN(8);
/* C++ constructors etc */
. = ALIGN(4);
. = ALIGN(8);
KEEP(*(.init))
. = ALIGN(4);
. = ALIGN(8);
__preinit_array_start = .;
KEEP (*(.preinit_array))
__preinit_array_end = .;
. = ALIGN(4);
. = ALIGN(8);
__init_array_start = .;
KEEP (*(SORT(.init_array.*)))
KEEP (*(.init_array))
@ -102,13 +102,13 @@ SECTIONS
* for exception handling/unwind - some Newlib functions (in common
* with C++ and STDC++) use this.
*/
.ARM.extab : ALIGN(4)
.ARM.extab : ALIGN(8)
{
*(.ARM.extab* .gnu.linkonce.armextab.*)
} > MFlash256
__exidx_start = .;
.ARM.exidx : ALIGN(4)
.ARM.exidx : ALIGN(8)
{
*(.ARM.exidx* .gnu.linkonce.armexidx.*)
} > MFlash256
@ -124,14 +124,14 @@ SECTIONS
} > Ram1_2
/* DATA section for Ram1_2 */
.data_RAM2 : ALIGN(4)
.data_RAM2 : ALIGN(8)
{
FILL(0xff)
*(.ramfunc.$RAM2)
*(.ramfunc.$Ram1_2)
*(.data.$RAM2*)
*(.data.$Ram1_2*)
. = ALIGN(4) ;
. = ALIGN(8) ;
} > Ram1_2 AT>MFlash256
/* possible MTB section for Ram2USB_2 */
.mtb_buffer_RAM3 (NOLOAD) :
@ -141,14 +141,14 @@ SECTIONS
} > Ram2USB_2
/* DATA section for Ram2USB_2 */
.data_RAM3 : ALIGN(4)
.data_RAM3 : ALIGN(8)
{
FILL(0xff)
*(.ramfunc.$RAM3)
*(.ramfunc.$Ram2USB_2)
*(.data.$RAM3*)
*(.data.$Ram2USB_2*)
. = ALIGN(4) ;
. = ALIGN(8) ;
} > Ram2USB_2 AT>MFlash256
/* MAIN DATA SECTION */
@ -159,74 +159,74 @@ SECTIONS
KEEP(*(.mtb*))
} > Ram0_32
.uninit_RESERVED : ALIGN(4)
.uninit_RESERVED : ALIGN(8)
{
KEEP(*(.bss.$RESERVED*))
. = ALIGN(4) ;
. = ALIGN(8) ;
_end_uninit_RESERVED = .;
} > Ram0_32
/* Main DATA section (Ram0_32) */
.data : ALIGN(4)
.data : ALIGN(8)
{
FILL(0xff)
_data = . ;
*(vtable)
*(.ramfunc*)
*(.data*)
. = ALIGN(4) ;
. = ALIGN(8) ;
_edata = . ;
} > Ram0_32 AT>MFlash256
/* BSS section for Ram1_2 */
.bss_RAM2 : ALIGN(4)
.bss_RAM2 : ALIGN(8)
{
*(.bss.$RAM2*)
*(.bss.$Ram1_2*)
. = ALIGN(4) ;
. = ALIGN(8) ;
} > Ram1_2
/* BSS section for Ram2USB_2 */
.bss_RAM3 : ALIGN(4)
.bss_RAM3 : ALIGN(8)
{
*(.bss.$RAM3*)
*(.bss.$Ram2USB_2*)
. = ALIGN(4) ;
. = ALIGN(8) ;
} > Ram2USB_2
/* MAIN BSS SECTION */
.bss : ALIGN(4)
.bss : ALIGN(8)
{
_bss = .;
*(.bss*)
*(COMMON)
. = ALIGN(4) ;
. = ALIGN(8) ;
_ebss = .;
PROVIDE(end = .);
__end__ = .;
} > Ram0_32
/* NOINIT section for Ram1_2 */
.noinit_RAM2 (NOLOAD) : ALIGN(4)
.noinit_RAM2 (NOLOAD) : ALIGN(8)
{
*(.noinit.$RAM2*)
*(.noinit.$Ram1_2*)
. = ALIGN(4) ;
. = ALIGN(8) ;
} > Ram1_2
/* NOINIT section for Ram2USB_2 */
.noinit_RAM3 (NOLOAD) : ALIGN(4)
.noinit_RAM3 (NOLOAD) : ALIGN(8)
{
*(.noinit.$RAM3*)
*(.noinit.$Ram2USB_2*)
. = ALIGN(4) ;
. = ALIGN(8) ;
} > Ram2USB_2
/* DEFAULT NOINIT SECTION */
.noinit (NOLOAD): ALIGN(4)
.noinit (NOLOAD): ALIGN(8)
{
_noinit = .;
*(.noinit*)
. = ALIGN(4) ;
. = ALIGN(8) ;
_end_noinit = .;
} > Ram0_32

View File

@ -31,7 +31,7 @@ SECTIONS
{
/* MAIN TEXT SECTION */
.text : ALIGN(4)
.text : ALIGN(8)
{
FILL(0xff)
KEEP(*(.isr_vector))
@ -39,7 +39,7 @@ SECTIONS
*(.text.SystemInit)
/* Global Section Table */
. = ALIGN(4) ;
. = ALIGN(8) ;
__section_table_start = .;
__data_section_table = .;
LONG(LOADADDR(.data));
@ -68,18 +68,18 @@ SECTIONS
*(.text*)
*(.rodata .rodata.*)
. = ALIGN(4);
. = ALIGN(8);
/* C++ constructors etc */
. = ALIGN(4);
. = ALIGN(8);
KEEP(*(.init))
. = ALIGN(4);
. = ALIGN(8);
__preinit_array_start = .;
KEEP (*(.preinit_array))
__preinit_array_end = .;
. = ALIGN(4);
. = ALIGN(8);
__init_array_start = .;
KEEP (*(SORT(.init_array.*)))
KEEP (*(.init_array))
@ -104,13 +104,13 @@ SECTIONS
* for exception handling/unwind - some Newlib functions (in common
* with C++ and STDC++) use this.
*/
.ARM.extab : ALIGN(4)
.ARM.extab : ALIGN(8)
{
*(.ARM.extab* .gnu.linkonce.armextab.*)
} > MFlash256
__exidx_start = .;
.ARM.exidx : ALIGN(4)
.ARM.exidx : ALIGN(8)
{
*(.ARM.exidx* .gnu.linkonce.armexidx.*)
} > MFlash256
@ -126,14 +126,14 @@ SECTIONS
} > Ram1_2
/* DATA section for Ram1_2 */
.data_RAM2 : ALIGN(4)
.data_RAM2 : ALIGN(8)
{
FILL(0xff)
*(.ramfunc.$RAM2)
*(.ramfunc.$Ram1_2)
*(.data.$RAM2*)
*(.data.$Ram1_2*)
. = ALIGN(4) ;
. = ALIGN(8) ;
} > Ram1_2 AT>MFlash256
/* possible MTB section for Ram2USB_2 */
.mtb_buffer_RAM3 (NOLOAD) :
@ -143,14 +143,14 @@ SECTIONS
} > Ram2USB_2
/* DATA section for Ram2USB_2 */
.data_RAM3 : ALIGN(4)
.data_RAM3 : ALIGN(8)
{
FILL(0xff)
*(.ramfunc.$RAM3)
*(.ramfunc.$Ram2USB_2)
*(.data.$RAM3*)
*(.data.$Ram2USB_2*)
. = ALIGN(4) ;
. = ALIGN(8) ;
} > Ram2USB_2 AT>MFlash256
/* MAIN DATA SECTION */
@ -161,74 +161,74 @@ SECTIONS
KEEP(*(.mtb*))
} > Ram0_32
.uninit_RESERVED : ALIGN(4)
.uninit_RESERVED : ALIGN(8)
{
KEEP(*(.bss.$RESERVED*))
. = ALIGN(4) ;
. = ALIGN(8) ;
_end_uninit_RESERVED = .;
} > Ram0_32
/* Main DATA section (Ram0_32) */
.data : ALIGN(4)
.data : ALIGN(8)
{
FILL(0xff)
_data = . ;
*(vtable)
*(.ramfunc*)
*(.data*)
. = ALIGN(4) ;
. = ALIGN(8) ;
_edata = . ;
} > Ram0_32 AT>MFlash256
/* BSS section for Ram1_2 */
.bss_RAM2 : ALIGN(4)
.bss_RAM2 : ALIGN(8)
{
*(.bss.$RAM2*)
*(.bss.$Ram1_2*)
. = ALIGN(4) ;
. = ALIGN(8) ;
} > Ram1_2
/* BSS section for Ram2USB_2 */
.bss_RAM3 : ALIGN(4)
.bss_RAM3 : ALIGN(8)
{
*(.bss.$RAM3*)
*(.bss.$Ram2USB_2*)
. = ALIGN(4) ;
. = ALIGN(8) ;
} > Ram2USB_2
/* MAIN BSS SECTION */
.bss : ALIGN(4)
.bss : ALIGN(8)
{
_bss = .;
*(.bss*)
*(COMMON)
. = ALIGN(4) ;
. = ALIGN(8) ;
_ebss = .;
PROVIDE(end = .);
__end__ = .;
} > Ram0_32
/* NOINIT section for Ram1_2 */
.noinit_RAM2 (NOLOAD) : ALIGN(4)
.noinit_RAM2 (NOLOAD) : ALIGN(8)
{
*(.noinit.$RAM2*)
*(.noinit.$Ram1_2*)
. = ALIGN(4) ;
. = ALIGN(8) ;
} > Ram1_2
/* NOINIT section for Ram2USB_2 */
.noinit_RAM3 (NOLOAD) : ALIGN(4)
.noinit_RAM3 (NOLOAD) : ALIGN(8)
{
*(.noinit.$RAM3*)
*(.noinit.$Ram2USB_2*)
. = ALIGN(4) ;
. = ALIGN(8) ;
} > Ram2USB_2
/* DEFAULT NOINIT SECTION */
.noinit (NOLOAD): ALIGN(4)
.noinit (NOLOAD): ALIGN(8)
{
_noinit = .;
*(.noinit*)
. = ALIGN(4) ;
. = ALIGN(8) ;
_end_noinit = .;
} > Ram0_32

View File

@ -92,13 +92,13 @@ SECTIONS
*(vtable)
*(.data*)
. = ALIGN(4);
. = ALIGN(8);
/* preinit data */
PROVIDE (__preinit_array_start = .);
KEEP(*(.preinit_array))
PROVIDE (__preinit_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* init data */
PROVIDE (__init_array_start = .);
KEEP(*(SORT(.init_array.*)))
@ -106,14 +106,14 @@ SECTIONS
PROVIDE (__init_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* finit data */
PROVIDE (__fini_array_start = .);
KEEP(*(SORT(.fini_array.*)))
KEEP(*(.fini_array))
PROVIDE (__fini_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* All data end */
__data_end__ = .;

View File

@ -92,13 +92,13 @@ SECTIONS
*(vtable)
*(.data*)
. = ALIGN(4);
. = ALIGN(8);
/* preinit data */
PROVIDE (__preinit_array_start = .);
KEEP(*(.preinit_array))
PROVIDE (__preinit_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* init data */
PROVIDE (__init_array_start = .);
KEEP(*(SORT(.init_array.*)))
@ -106,14 +106,14 @@ SECTIONS
PROVIDE (__init_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* finit data */
PROVIDE (__fini_array_start = .);
KEEP(*(SORT(.fini_array.*)))
KEEP(*(.fini_array))
PROVIDE (__fini_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* All data end */
__data_end__ = .;

View File

@ -89,13 +89,13 @@ SECTIONS
*(vtable)
*(.data*)
. = ALIGN(4);
. = ALIGN(8);
/* preinit data */
PROVIDE (__preinit_array_start = .);
KEEP(*(.preinit_array))
PROVIDE (__preinit_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* init data */
PROVIDE (__init_array_start = .);
KEEP(*(SORT(.init_array.*)))
@ -103,14 +103,14 @@ SECTIONS
PROVIDE (__init_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* finit data */
PROVIDE (__fini_array_start = .);
KEEP(*(SORT(.fini_array.*)))
KEEP(*(.fini_array))
PROVIDE (__fini_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* All data end */
__data_end__ = .;

View File

@ -89,13 +89,13 @@ SECTIONS
*(vtable)
*(.data*)
. = ALIGN(4);
. = ALIGN(8);
/* preinit data */
PROVIDE (__preinit_array_start = .);
KEEP(*(.preinit_array))
PROVIDE (__preinit_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* init data */
PROVIDE (__init_array_start = .);
KEEP(*(SORT(.init_array.*)))
@ -103,14 +103,14 @@ SECTIONS
PROVIDE (__init_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* finit data */
PROVIDE (__fini_array_start = .);
KEEP(*(SORT(.fini_array.*)))
KEEP(*(.fini_array))
PROVIDE (__fini_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* All data end */
__data_end__ = .;

View File

@ -89,13 +89,13 @@ SECTIONS
*(vtable)
*(.data*)
. = ALIGN(4);
. = ALIGN(8);
/* preinit data */
PROVIDE (__preinit_array_start = .);
KEEP(*(.preinit_array))
PROVIDE (__preinit_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* init data */
PROVIDE (__init_array_start = .);
KEEP(*(SORT(.init_array.*)))
@ -103,14 +103,14 @@ SECTIONS
PROVIDE (__init_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* finit data */
PROVIDE (__fini_array_start = .);
KEEP(*(SORT(.fini_array.*)))
KEEP(*(.fini_array))
PROVIDE (__fini_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* All data end */
__data_end__ = .;

View File

@ -89,13 +89,13 @@ SECTIONS
*(vtable)
*(.data*)
. = ALIGN(4);
. = ALIGN(8);
/* preinit data */
PROVIDE (__preinit_array_start = .);
KEEP(*(.preinit_array))
PROVIDE (__preinit_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* init data */
PROVIDE (__init_array_start = .);
KEEP(*(SORT(.init_array.*)))
@ -103,14 +103,14 @@ SECTIONS
PROVIDE (__init_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* finit data */
PROVIDE (__fini_array_start = .);
KEEP(*(SORT(.fini_array.*)))
KEEP(*(.fini_array))
PROVIDE (__fini_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* All data end */
__data_end__ = .;

View File

@ -90,13 +90,13 @@ SECTIONS
*(vtable)
*(.data*)
. = ALIGN(4);
. = ALIGN(8);
/* preinit data */
PROVIDE (__preinit_array_start = .);
KEEP(*(.preinit_array))
PROVIDE (__preinit_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* init data */
PROVIDE (__init_array_start = .);
KEEP(*(SORT(.init_array.*)))
@ -104,14 +104,14 @@ SECTIONS
PROVIDE (__init_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* finit data */
PROVIDE (__fini_array_start = .);
KEEP(*(SORT(.fini_array.*)))
KEEP(*(.fini_array))
PROVIDE (__fini_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* All data end */
__data_end__ = .;

View File

@ -89,13 +89,13 @@ SECTIONS
*(vtable)
*(.data*)
. = ALIGN(4);
. = ALIGN(8);
/* preinit data */
PROVIDE (__preinit_array_start = .);
KEEP(*(.preinit_array))
PROVIDE (__preinit_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* init data */
PROVIDE (__init_array_start = .);
KEEP(*(SORT(.init_array.*)))
@ -103,14 +103,14 @@ SECTIONS
PROVIDE (__init_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* finit data */
PROVIDE (__fini_array_start = .);
KEEP(*(SORT(.fini_array.*)))
KEEP(*(.fini_array))
PROVIDE (__fini_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* All data end */
__data_end__ = .;

View File

@ -89,13 +89,13 @@ SECTIONS
*(vtable)
*(.data*)
. = ALIGN(4);
. = ALIGN(8);
/* preinit data */
PROVIDE (__preinit_array_start = .);
KEEP(*(.preinit_array))
PROVIDE (__preinit_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* init data */
PROVIDE (__init_array_start = .);
KEEP(*(SORT(.init_array.*)))
@ -103,14 +103,14 @@ SECTIONS
PROVIDE (__init_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* finit data */
PROVIDE (__fini_array_start = .);
KEEP(*(SORT(.fini_array.*)))
KEEP(*(.fini_array))
PROVIDE (__fini_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* All data end */
__data_end__ = .;

View File

@ -92,13 +92,13 @@ SECTIONS
*(vtable)
*(.data*)
. = ALIGN(4);
. = ALIGN(8);
/* preinit data */
PROVIDE (__preinit_array_start = .);
KEEP(*(.preinit_array))
PROVIDE (__preinit_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* init data */
PROVIDE (__init_array_start = .);
KEEP(*(SORT(.init_array.*)))
@ -106,14 +106,14 @@ SECTIONS
PROVIDE (__init_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* finit data */
PROVIDE (__fini_array_start = .);
KEEP(*(SORT(.fini_array.*)))
KEEP(*(.fini_array))
PROVIDE (__fini_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* All data end */
__data_end__ = .;

View File

@ -21,13 +21,13 @@ SECTIONS
{
/* MAIN TEXT SECTION */
.text : ALIGN(4)
.text : ALIGN(8)
{
FILL(0xff)
KEEP(*(.isr_vector))
/* Global Section Table */
. = ALIGN(4) ;
. = ALIGN(8) ;
__section_table_start = .;
__data_section_table = .;
LONG(LOADADDR(.data));
@ -51,18 +51,18 @@ SECTIONS
*(.text*)
*(.rodata .rodata.*)
. = ALIGN(4);
. = ALIGN(8);
/* C++ constructors etc */
. = ALIGN(4);
. = ALIGN(8);
KEEP(*(.init))
. = ALIGN(4);
. = ALIGN(8);
__preinit_array_start = .;
KEEP (*(.preinit_array))
__preinit_array_end = .;
. = ALIGN(4);
. = ALIGN(8);
__init_array_start = .;
KEEP (*(SORT(.init_array.*)))
KEEP (*(.init_array))
@ -88,13 +88,13 @@ SECTIONS
* for exception handling/unwind - some Newlib functions (in common
* with C++ and STDC++) use this.
*/
.ARM.extab : ALIGN(4)
.ARM.extab : ALIGN(8)
{
*(.ARM.extab* .gnu.linkonce.armextab.*)
} > MFlash32
__exidx_start = .;
.ARM.exidx : ALIGN(4)
.ARM.exidx : ALIGN(8)
{
*(.ARM.exidx* .gnu.linkonce.armexidx.*)
} > MFlash32
@ -103,46 +103,46 @@ SECTIONS
_etext = .;
.data_RAM2 : ALIGN(4)
.data_RAM2 : ALIGN(8)
{
FILL(0xff)
*(.data.$RAM2*)
*(.data.$RamUsb2*)
. = ALIGN(4) ;
. = ALIGN(8) ;
} > RamUsb2 AT>MFlash32
/* MAIN DATA SECTION */
.uninit_RESERVED : ALIGN(4)
.uninit_RESERVED : ALIGN(8)
{
KEEP(*(.bss.$RESERVED*))
} > RamLoc8
.data : ALIGN(4)
.data : ALIGN(8)
{
FILL(0xff)
_data = .;
*(vtable)
*(.data*)
. = ALIGN(4) ;
. = ALIGN(8) ;
_edata = .;
} > RamLoc8 AT>MFlash32
.bss_RAM2 : ALIGN(4)
.bss_RAM2 : ALIGN(8)
{
*(.bss.$RAM2*)
*(.bss.$RamUsb2*)
. = ALIGN(4) ;
. = ALIGN(8) ;
} > RamUsb2
/* MAIN BSS SECTION */
.bss : ALIGN(4)
.bss : ALIGN(8)
{
_bss = .;
*(.bss*)
*(COMMON)
. = ALIGN(4) ;
. = ALIGN(8) ;
_ebss = .;
PROVIDE(end = .);
__end__ = .;

View File

@ -21,7 +21,7 @@ SECTIONS
{
/* MAIN TEXT SECTION */
.text : ALIGN(4)
.text : ALIGN(8)
{
FILL(0xff)
KEEP(*(.isr_vector))
@ -29,7 +29,7 @@ SECTIONS
. = 0x200;
/* Global Section Table */
. = ALIGN(4) ;
. = ALIGN(8) ;
__section_table_start = .;
__data_section_table = .;
LONG(LOADADDR(.data));
@ -53,18 +53,18 @@ SECTIONS
*(.text*)
*(.rodata .rodata.*)
. = ALIGN(4);
. = ALIGN(8);
/* C++ constructors etc */
. = ALIGN(4);
. = ALIGN(8);
KEEP(*(.init))
. = ALIGN(4);
. = ALIGN(8);
__preinit_array_start = .;
KEEP (*(.preinit_array))
__preinit_array_end = .;
. = ALIGN(4);
. = ALIGN(8);
__init_array_start = .;
KEEP (*(SORT(.init_array.*)))
KEEP (*(.init_array))
@ -90,13 +90,13 @@ SECTIONS
* for exception handling/unwind - some Newlib functions (in common
* with C++ and STDC++) use this.
*/
.ARM.extab : ALIGN(4)
.ARM.extab : ALIGN(8)
{
*(.ARM.extab* .gnu.linkonce.armextab.*)
} > MFlash32
__exidx_start = .;
.ARM.exidx : ALIGN(4)
.ARM.exidx : ALIGN(8)
{
*(.ARM.exidx* .gnu.linkonce.armexidx.*)
} > MFlash32
@ -105,46 +105,46 @@ SECTIONS
_etext = .;
.data_RAM2 : ALIGN(4)
.data_RAM2 : ALIGN(8)
{
FILL(0xff)
*(.data.$RAM2*)
*(.data.$RamUsb2*)
. = ALIGN(4) ;
. = ALIGN(8) ;
} > RamUsb2 AT>MFlash32
/* MAIN DATA SECTION */
.uninit_RESERVED : ALIGN(4)
.uninit_RESERVED : ALIGN(8)
{
KEEP(*(.bss.$RESERVED*))
} > RamLoc8
.data : ALIGN(4)
.data : ALIGN(8)
{
FILL(0xff)
_data = .;
*(vtable)
*(.data*)
. = ALIGN(4) ;
. = ALIGN(8) ;
_edata = .;
} > RamLoc8 AT>MFlash32
.bss_RAM2 : ALIGN(4)
.bss_RAM2 : ALIGN(8)
{
*(.bss.$RAM2*)
*(.bss.$RamUsb2*)
. = ALIGN(4) ;
. = ALIGN(8) ;
} > RamUsb2
/* MAIN BSS SECTION */
.bss : ALIGN(4)
.bss : ALIGN(8)
{
_bss = .;
*(.bss*)
*(COMMON)
. = ALIGN(4) ;
. = ALIGN(8) ;
_ebss = .;
PROVIDE(end = .);
__end__ = .;

View File

@ -21,7 +21,7 @@ SECTIONS
{
/* MAIN TEXT SECTION */
.text : ALIGN(4)
.text : ALIGN(8)
{
FILL(0xff)
KEEP(*(.isr_vector))
@ -29,7 +29,7 @@ SECTIONS
. = 0x200;
/* Global Section Table */
. = ALIGN(4) ;
. = ALIGN(8) ;
__section_table_start = .;
__data_section_table = .;
LONG(LOADADDR(.data));
@ -53,18 +53,18 @@ SECTIONS
*(.text*)
*(.rodata .rodata.*)
. = ALIGN(4);
. = ALIGN(8);
/* C++ constructors etc */
. = ALIGN(4);
. = ALIGN(8);
KEEP(*(.init))
. = ALIGN(4);
. = ALIGN(8);
__preinit_array_start = .;
KEEP (*(.preinit_array))
__preinit_array_end = .;
. = ALIGN(4);
. = ALIGN(8);
__init_array_start = .;
KEEP (*(SORT(.init_array.*)))
KEEP (*(.init_array))
@ -90,13 +90,13 @@ SECTIONS
* for exception handling/unwind - some Newlib functions (in common
* with C++ and STDC++) use this.
*/
.ARM.extab : ALIGN(4)
.ARM.extab : ALIGN(8)
{
*(.ARM.extab* .gnu.linkonce.armextab.*)
} > MFlash32
__exidx_start = .;
.ARM.exidx : ALIGN(4)
.ARM.exidx : ALIGN(8)
{
*(.ARM.exidx* .gnu.linkonce.armexidx.*)
} > MFlash32
@ -105,46 +105,46 @@ SECTIONS
_etext = .;
.data_RAM2 : ALIGN(4)
.data_RAM2 : ALIGN(8)
{
FILL(0xff)
*(.data.$RAM2*)
*(.data.$RamUsb2*)
. = ALIGN(4) ;
. = ALIGN(8) ;
} > RamUsb2 AT>MFlash32
/* MAIN DATA SECTION */
.uninit_RESERVED : ALIGN(4)
.uninit_RESERVED : ALIGN(8)
{
KEEP(*(.bss.$RESERVED*))
} > RamLoc8
.data : ALIGN(4)
.data : ALIGN(8)
{
FILL(0xff)
_data = .;
*(vtable)
*(.data*)
. = ALIGN(4) ;
. = ALIGN(8) ;
_edata = .;
} > RamLoc8 AT>MFlash32
.bss_RAM2 : ALIGN(4)
.bss_RAM2 : ALIGN(8)
{
*(.bss.$RAM2*)
*(.bss.$RamUsb2*)
. = ALIGN(4) ;
. = ALIGN(8) ;
} > RamUsb2
/* MAIN BSS SECTION */
.bss : ALIGN(4)
.bss : ALIGN(8)
{
_bss = .;
*(.bss*)
*(COMMON)
. = ALIGN(4) ;
. = ALIGN(8) ;
_ebss = .;
PROVIDE(end = .);
__end__ = .;

View File

@ -23,7 +23,7 @@ SECTIONS
{
/* MAIN TEXT SECTION */
.text : ALIGN(4)
.text : ALIGN(8)
{
FILL(0xff)
KEEP(*(.isr_vector))
@ -31,7 +31,7 @@ SECTIONS
. = 0x200;
/* Global Section Table */
. = ALIGN(4) ;
. = ALIGN(8) ;
__section_table_start = .;
__data_section_table = .;
LONG(LOADADDR(.data));
@ -55,18 +55,18 @@ SECTIONS
*(.text*)
*(.rodata .rodata.*)
. = ALIGN(4);
. = ALIGN(8);
/* C++ constructors etc */
. = ALIGN(4);
. = ALIGN(8);
KEEP(*(.init))
. = ALIGN(4);
. = ALIGN(8);
__preinit_array_start = .;
KEEP (*(.preinit_array))
__preinit_array_end = .;
. = ALIGN(4);
. = ALIGN(8);
__init_array_start = .;
KEEP (*(SORT(.init_array.*)))
KEEP (*(.init_array))
@ -92,13 +92,13 @@ SECTIONS
* for exception handling/unwind - some Newlib functions (in common
* with C++ and STDC++) use this.
*/
.ARM.extab : ALIGN(4)
.ARM.extab : ALIGN(8)
{
*(.ARM.extab* .gnu.linkonce.armextab.*)
} > MFlash32
__exidx_start = .;
.ARM.exidx : ALIGN(4)
.ARM.exidx : ALIGN(8)
{
*(.ARM.exidx* .gnu.linkonce.armexidx.*)
} > MFlash32
@ -107,46 +107,46 @@ SECTIONS
_etext = .;
.data_RAM2 : ALIGN(4)
.data_RAM2 : ALIGN(8)
{
FILL(0xff)
*(.data.$RAM2*)
*(.data.$RamUsb2*)
. = ALIGN(4) ;
. = ALIGN(8) ;
} > RamUsb2 AT>MFlash32
/* MAIN DATA SECTION */
.uninit_RESERVED : ALIGN(4)
.uninit_RESERVED : ALIGN(8)
{
KEEP(*(.bss.$RESERVED*))
} > RamLoc8
.data : ALIGN(4)
.data : ALIGN(8)
{
FILL(0xff)
_data = .;
*(vtable)
*(.data*)
. = ALIGN(4) ;
. = ALIGN(8) ;
_edata = .;
} > RamLoc8 AT>MFlash32
.bss_RAM2 : ALIGN(4)
.bss_RAM2 : ALIGN(8)
{
*(.bss.$RAM2*)
*(.bss.$RamUsb2*)
. = ALIGN(4) ;
. = ALIGN(8) ;
} > RamUsb2
/* MAIN BSS SECTION */
.bss : ALIGN(4)
.bss : ALIGN(8)
{
_bss = .;
*(.bss*)
*(COMMON)
. = ALIGN(4) ;
. = ALIGN(8) ;
_ebss = .;
PROVIDE(end = .);
__end__ = .;

View File

@ -21,7 +21,7 @@ SECTIONS
{
/* MAIN TEXT SECTION */
.text : ALIGN(4)
.text : ALIGN(8)
{
FILL(0xff)
KEEP(*(.isr_vector))
@ -29,7 +29,7 @@ SECTIONS
. = 0x200;
/* Global Section Table */
. = ALIGN(4) ;
. = ALIGN(8) ;
__section_table_start = .;
__data_section_table = .;
LONG(LOADADDR(.data));
@ -53,18 +53,18 @@ SECTIONS
*(.text*)
*(.rodata .rodata.*)
. = ALIGN(4);
. = ALIGN(8);
/* C++ constructors etc */
. = ALIGN(4);
. = ALIGN(8);
KEEP(*(.init))
. = ALIGN(4);
. = ALIGN(8);
__preinit_array_start = .;
KEEP (*(.preinit_array))
__preinit_array_end = .;
. = ALIGN(4);
. = ALIGN(8);
__init_array_start = .;
KEEP (*(SORT(.init_array.*)))
KEEP (*(.init_array))
@ -90,13 +90,13 @@ SECTIONS
* for exception handling/unwind - some Newlib functions (in common
* with C++ and STDC++) use this.
*/
.ARM.extab : ALIGN(4)
.ARM.extab : ALIGN(8)
{
*(.ARM.extab* .gnu.linkonce.armextab.*)
} > MFlash32
__exidx_start = .;
.ARM.exidx : ALIGN(4)
.ARM.exidx : ALIGN(8)
{
*(.ARM.exidx* .gnu.linkonce.armexidx.*)
} > MFlash32
@ -105,46 +105,46 @@ SECTIONS
_etext = .;
.data_RAM2 : ALIGN(4)
.data_RAM2 : ALIGN(8)
{
FILL(0xff)
*(.data.$RAM2*)
*(.data.$RamUsb2*)
. = ALIGN(4) ;
. = ALIGN(8) ;
} > RamUsb2 AT>MFlash32
/* MAIN DATA SECTION */
.uninit_RESERVED : ALIGN(4)
.uninit_RESERVED : ALIGN(8)
{
KEEP(*(.bss.$RESERVED*))
} > RamLoc8
.data : ALIGN(4)
.data : ALIGN(8)
{
FILL(0xff)
_data = .;
*(vtable)
*(.data*)
. = ALIGN(4) ;
. = ALIGN(8) ;
_edata = .;
} > RamLoc8 AT>MFlash32
.bss_RAM2 : ALIGN(4)
.bss_RAM2 : ALIGN(8)
{
*(.bss.$RAM2*)
*(.bss.$RamUsb2*)
. = ALIGN(4) ;
. = ALIGN(8) ;
} > RamUsb2
/* MAIN BSS SECTION */
.bss : ALIGN(4)
.bss : ALIGN(8)
{
_bss = .;
*(.bss*)
*(COMMON)
. = ALIGN(4) ;
. = ALIGN(8) ;
_ebss = .;
PROVIDE(end = .);
__end__ = .;

View File

@ -75,15 +75,15 @@ SECTIONS
*(.eh_frame_hdr)
*(.eh_frame)
. = ALIGN(4);
. = ALIGN(8);
KEEP(*(.init))
. = ALIGN(4);
. = ALIGN(8);
__preinit_array_start = .;
KEEP (*(.preinit_array))
__preinit_array_end = .;
. = ALIGN(4);
. = ALIGN(8);
__init_array_start = .;
KEEP (*(SORT(.init_array.*)))
KEEP (*(.init_array))
@ -95,10 +95,10 @@ SECTIONS
KEEP (*(SORT(.ctors.*)))
KEEP (*crtend.o(.ctors))
. = ALIGN(4);
. = ALIGN(8);
KEEP(*(.fini))
. = ALIGN(4);
. = ALIGN(8);
__fini_array_start = .;
KEEP (*(.fini_array))
KEEP (*(SORT(.fini_array.*)))
@ -109,7 +109,7 @@ SECTIONS
KEEP (*(SORT(.dtors.*)))
KEEP (*crtend.o(.dtors))
. = ALIGN(4);
. = ALIGN(8);
__cs3_regions = .;
LONG (0)
LONG (__cs3_region_init_ram)

View File

@ -87,13 +87,13 @@ SECTIONS
*(vtable)
*(.data*)
. = ALIGN(4);
. = ALIGN(8);
/* preinit data */
PROVIDE (__preinit_array_start = .);
KEEP(*(.preinit_array))
PROVIDE (__preinit_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* init data */
PROVIDE (__init_array_start = .);
KEEP(*(SORT(.init_array.*)))
@ -101,14 +101,14 @@ SECTIONS
PROVIDE (__init_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* finit data */
PROVIDE (__fini_array_start = .);
KEEP(*(SORT(.fini_array.*)))
KEEP(*(.fini_array))
PROVIDE (__fini_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* All data end */
__data_end__ = .;

View File

@ -87,13 +87,13 @@ SECTIONS
*(vtable)
*(.data*)
. = ALIGN(4);
. = ALIGN(8);
/* preinit data */
PROVIDE (__preinit_array_start = .);
KEEP(*(.preinit_array))
PROVIDE (__preinit_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* init data */
PROVIDE (__init_array_start = .);
KEEP(*(SORT(.init_array.*)))
@ -101,14 +101,14 @@ SECTIONS
PROVIDE (__init_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* finit data */
PROVIDE (__fini_array_start = .);
KEEP(*(SORT(.fini_array.*)))
KEEP(*(.fini_array))
PROVIDE (__fini_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* All data end */
__data_end__ = .;

View File

@ -19,7 +19,7 @@ SECTIONS
{
/* MAIN TEXT SECTION */
.text : ALIGN(4)
.text : ALIGN(8)
{
FILL(0xff)
KEEP(*(.isr_vector))
@ -28,7 +28,7 @@ SECTIONS
. = 0x200;
/* Global Section Table */
. = ALIGN(4) ;
. = ALIGN(8) ;
__section_table_start = .;
__data_section_table = .;
LONG(LOADADDR(.data));
@ -47,18 +47,18 @@ SECTIONS
*(.text*)
*(.rodata .rodata.*)
. = ALIGN(4);
. = ALIGN(8);
/* C++ constructors etc */
. = ALIGN(4);
. = ALIGN(8);
KEEP(*(.init))
. = ALIGN(4);
. = ALIGN(8);
__preinit_array_start = .;
KEEP (*(.preinit_array))
__preinit_array_end = .;
. = ALIGN(4);
. = ALIGN(8);
__init_array_start = .;
KEEP (*(SORT(.init_array.*)))
KEEP (*(.init_array))
@ -84,13 +84,13 @@ SECTIONS
* for exception handling/unwind - some Newlib functions (in common
* with C++ and STDC++) use this.
*/
.ARM.extab : ALIGN(4)
.ARM.extab : ALIGN(8)
{
*(.ARM.extab* .gnu.linkonce.armextab.*)
} > MFlash32
__exidx_start = .;
.ARM.exidx : ALIGN(4)
.ARM.exidx : ALIGN(8)
{
*(.ARM.exidx* .gnu.linkonce.armexidx.*)
} > MFlash32
@ -102,30 +102,30 @@ SECTIONS
/* MAIN DATA SECTION */
.uninit_RESERVED : ALIGN(4)
.uninit_RESERVED : ALIGN(8)
{
KEEP(*(.bss.$RESERVED*))
} > RamLoc8
.data : ALIGN(4)
.data : ALIGN(8)
{
FILL(0xff)
_data = .;
*(vtable)
*(.data*)
. = ALIGN(4) ;
. = ALIGN(8) ;
_edata = .;
} > RamLoc8 AT>MFlash32
/* MAIN BSS SECTION */
.bss : ALIGN(4)
.bss : ALIGN(8)
{
_bss = .;
*(.bss*)
*(COMMON)
. = ALIGN(4) ;
. = ALIGN(8) ;
_ebss = .;
PROVIDE(end = .);
__end__ = .;

View File

@ -87,13 +87,13 @@ SECTIONS
*(vtable)
*(.data*)
. = ALIGN(4);
. = ALIGN(8);
/* preinit data */
PROVIDE (__preinit_array_start = .);
KEEP(*(.preinit_array))
PROVIDE (__preinit_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* init data */
PROVIDE (__init_array_start = .);
KEEP(*(SORT(.init_array.*)))
@ -101,14 +101,14 @@ SECTIONS
PROVIDE (__init_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* finit data */
PROVIDE (__fini_array_start = .);
KEEP(*(SORT(.fini_array.*)))
KEEP(*(.fini_array))
PROVIDE (__fini_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* All data end */
__data_end__ = .;

View File

@ -89,13 +89,13 @@ SECTIONS
*(vtable)
*(.data*)
. = ALIGN(4);
. = ALIGN(8);
/* preinit data */
PROVIDE (__preinit_array_start = .);
KEEP(*(.preinit_array))
PROVIDE (__preinit_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* init data */
PROVIDE (__init_array_start = .);
KEEP(*(SORT(.init_array.*)))
@ -103,14 +103,14 @@ SECTIONS
PROVIDE (__init_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* finit data */
PROVIDE (__fini_array_start = .);
KEEP(*(SORT(.fini_array.*)))
KEEP(*(.fini_array))
PROVIDE (__fini_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* All data end */
__data_end__ = .;

View File

@ -31,13 +31,13 @@ SECTIONS
{
/* MAIN TEXT SECTION */
.text : ALIGN(4)
.text : ALIGN(8)
{
FILL(0xff)
KEEP(*(.isr_vector))
/* Global Section Table */
. = ALIGN(4) ;
. = ALIGN(8) ;
__section_table_start = .;
__data_section_table = .;
LONG(LOADADDR(.data));
@ -66,18 +66,18 @@ SECTIONS
*(.text*)
*(.rodata .rodata.*)
. = ALIGN(4);
. = ALIGN(8);
/* C++ constructors etc */
. = ALIGN(4);
. = ALIGN(8);
KEEP(*(.init))
. = ALIGN(4);
. = ALIGN(8);
__preinit_array_start = .;
KEEP (*(.preinit_array))
__preinit_array_end = .;
. = ALIGN(4);
. = ALIGN(8);
__init_array_start = .;
KEEP (*(SORT(.init_array.*)))
KEEP (*(.init_array))
@ -102,13 +102,13 @@ SECTIONS
* for exception handling/unwind - some Newlib functions (in common
* with C++ and STDC++) use this.
*/
.ARM.extab : ALIGN(4)
.ARM.extab : ALIGN(8)
{
*(.ARM.extab* .gnu.linkonce.armextab.*)
} > MFlash256
__exidx_start = .;
.ARM.exidx : ALIGN(4)
.ARM.exidx : ALIGN(8)
{
*(.ARM.exidx* .gnu.linkonce.armexidx.*)
} > MFlash256
@ -117,95 +117,95 @@ SECTIONS
_etext = .;
/* DATA section for Ram1_16 */
.data_RAM2 : ALIGN(4)
.data_RAM2 : ALIGN(8)
{
FILL(0xff)
*(.ramfunc.$RAM2)
*(.ramfunc.$Ram1_16)
*(.data.$RAM2*)
*(.data.$Ram1_16*)
. = ALIGN(4) ;
. = ALIGN(8) ;
} > Ram1_16 AT>MFlash256
/* DATA section for Ram2_4 */
.data_RAM3 : ALIGN(4)
.data_RAM3 : ALIGN(8)
{
FILL(0xff)
*(.ramfunc.$RAM3)
*(.ramfunc.$Ram2_4)
*(.data.$RAM3*)
*(.data.$Ram2_4*)
. = ALIGN(4) ;
. = ALIGN(8) ;
} > Ram2_4 AT>MFlash256
/* MAIN DATA SECTION */
.uninit_RESERVED : ALIGN(4)
.uninit_RESERVED : ALIGN(8)
{
KEEP(*(.bss.$RESERVED*))
. = ALIGN(4) ;
. = ALIGN(8) ;
_end_uninit_RESERVED = .;
} > Ram0_16
/* Main DATA section (Ram0_16) */
.data : ALIGN(4)
.data : ALIGN(8)
{
FILL(0xff)
_data = . ;
*(vtable)
*(.ramfunc*)
*(.data*)
. = ALIGN(4) ;
. = ALIGN(8) ;
_edata = . ;
} > Ram0_16 AT>MFlash256
/* BSS section for Ram1_16 */
.bss_RAM2 : ALIGN(4)
.bss_RAM2 : ALIGN(8)
{
*(.bss.$RAM2*)
*(.bss.$Ram1_16*)
. = ALIGN(4) ;
. = ALIGN(8) ;
} > Ram1_16
/* BSS section for Ram2_4 */
.bss_RAM3 : ALIGN(4)
.bss_RAM3 : ALIGN(8)
{
*(.bss.$RAM3*)
*(.bss.$Ram2_4*)
. = ALIGN(4) ;
. = ALIGN(8) ;
} > Ram2_4
/* MAIN BSS SECTION */
.bss : ALIGN(4)
.bss : ALIGN(8)
{
_bss = .;
*(.bss*)
*(COMMON)
. = ALIGN(4) ;
. = ALIGN(8) ;
_ebss = .;
PROVIDE(end = .);
__end__ = .;
} > Ram0_16
/* NOINIT section for Ram1_16 */
.noinit_RAM2 (NOLOAD) : ALIGN(4)
.noinit_RAM2 (NOLOAD) : ALIGN(8)
{
*(.noinit.$RAM2*)
*(.noinit.$Ram1_16*)
. = ALIGN(4) ;
. = ALIGN(8) ;
} > Ram1_16
/* NOINIT section for Ram2_4 */
.noinit_RAM3 (NOLOAD) : ALIGN(4)
.noinit_RAM3 (NOLOAD) : ALIGN(8)
{
*(.noinit.$RAM3*)
*(.noinit.$Ram2_4*)
. = ALIGN(4) ;
. = ALIGN(8) ;
} > Ram2_4
/* DEFAULT NOINIT SECTION */
.noinit (NOLOAD): ALIGN(4)
.noinit (NOLOAD): ALIGN(8)
{
_noinit = .;
*(.noinit*)
. = ALIGN(4) ;
. = ALIGN(8) ;
_end_noinit = .;
} > Ram0_16

View File

@ -100,13 +100,13 @@ SECTIONS
*(vtable)
*(.data*)
. = ALIGN(4);
. = ALIGN(8);
/* preinit data */
PROVIDE (__preinit_array_start = .);
KEEP(*(.preinit_array))
PROVIDE (__preinit_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* init data */
PROVIDE (__init_array_start = .);
KEEP(*(SORT(.init_array.*)))
@ -114,14 +114,14 @@ SECTIONS
PROVIDE (__init_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* finit data */
PROVIDE (__fini_array_start = .);
KEEP(*(SORT(.fini_array.*)))
KEEP(*(.fini_array))
PROVIDE (__fini_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* All data end */
__data_end__ = .;

View File

@ -88,13 +88,13 @@ SECTIONS
*(vtable)
*(.data*)
. = ALIGN(4);
. = ALIGN(8);
/* preinit data */
PROVIDE (__preinit_array_start = .);
KEEP(*(.preinit_array))
PROVIDE (__preinit_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* init data */
PROVIDE (__init_array_start = .);
KEEP(*(SORT(.init_array.*)))
@ -102,14 +102,14 @@ SECTIONS
PROVIDE (__init_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* finit data */
PROVIDE (__fini_array_start = .);
KEEP(*(SORT(.fini_array.*)))
KEEP(*(.fini_array))
PROVIDE (__fini_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* All data end */
__data_end__ = .;

View File

@ -23,13 +23,13 @@ SECTIONS
{
/* MAIN TEXT SECTION */
.text : ALIGN(4)
.text : ALIGN(8)
{
FILL(0xff)
KEEP(*(.isr_vector))
/* Global Section Table */
. = ALIGN(4) ;
. = ALIGN(8) ;
__section_table_start = .;
__data_section_table = .;
LONG(LOADADDR(.data));
@ -53,18 +53,18 @@ SECTIONS
*(.text*)
*(.rodata .rodata.*)
. = ALIGN(4);
. = ALIGN(8);
/* C++ constructors etc */
. = ALIGN(4);
. = ALIGN(8);
KEEP(*(.init))
. = ALIGN(4);
. = ALIGN(8);
__preinit_array_start = .;
KEEP (*(.preinit_array))
__preinit_array_end = .;
. = ALIGN(4);
. = ALIGN(8);
__init_array_start = .;
KEEP (*(SORT(.init_array.*)))
KEEP (*(.init_array))
@ -90,13 +90,13 @@ SECTIONS
* for exception handling/unwind - some Newlib functions (in common
* with C++ and STDC++) use this.
*/
.ARM.extab : ALIGN(4)
.ARM.extab : ALIGN(8)
{
*(.ARM.extab* .gnu.linkonce.armextab.*)
} > MFlash512
__exidx_start = .;
.ARM.exidx : ALIGN(4)
.ARM.exidx : ALIGN(8)
{
*(.ARM.exidx* .gnu.linkonce.armexidx.*)
} > MFlash512
@ -105,52 +105,52 @@ SECTIONS
_etext = .;
.data_RAM2 : ALIGN(4)
.data_RAM2 : ALIGN(8)
{
FILL(0xff)
*(.data.$RAM2*)
*(.data.$RamAHB32*)
. = ALIGN(4) ;
. = ALIGN(8) ;
} > RamAHB_USB AT>MFlash512
/* MAIN DATA SECTION */
.uninit_RESERVED(NOLOAD) : ALIGN(4)
.uninit_RESERVED(NOLOAD) : ALIGN(8)
{
KEEP(*(.bss.$RESERVED*))
} > RamLoc32
.data : ALIGN(4)
.data : ALIGN(8)
{
FILL(0xff)
_data = .;
*(vtable)
*(.data*)
. = ALIGN(4) ;
. = ALIGN(8) ;
_edata = .;
} > RamLoc32 AT>MFlash512
.bss_RAM2(NOLOAD) : ALIGN(4)
.bss_RAM2(NOLOAD) : ALIGN(8)
{
*(.bss.$RAM2*)
*(.bss.$RamAHB32*)
*(AHBSRAM0)
. = ALIGN(4) ;
. = ALIGN(8) ;
} > RamAHB_USB
.bss_RAM3(NOLOAD) : ALIGN(4)
.bss_RAM3(NOLOAD) : ALIGN(8)
{
*(AHBSRAM1)
. = ALIGN(4) ;
. = ALIGN(8) ;
} > RamAHB_Eth
/* MAIN BSS SECTION */
.bss(NOLOAD) : ALIGN(4)
.bss(NOLOAD) : ALIGN(8)
{
_bss = .;
*(.bss*)
*(COMMON)
. = ALIGN(4) ;
. = ALIGN(8) ;
_ebss = .;
PROVIDE(end = .);
__end__ = .;

View File

@ -76,15 +76,15 @@ SECTIONS
*(.eh_frame_hdr)
*(.eh_frame)
. = ALIGN(4);
. = ALIGN(8);
KEEP(*(.init))
. = ALIGN(4);
. = ALIGN(8);
__preinit_array_start = .;
KEEP (*(.preinit_array))
__preinit_array_end = .;
. = ALIGN(4);
. = ALIGN(8);
__init_array_start = .;
KEEP (*(SORT(.init_array.*)))
KEEP (*(.init_array))
@ -96,10 +96,10 @@ SECTIONS
KEEP (*(SORT(.ctors.*)))
KEEP (*crtend.o(.ctors))
. = ALIGN(4);
. = ALIGN(8);
KEEP(*(.fini))
. = ALIGN(4);
. = ALIGN(8);
__fini_array_start = .;
KEEP (*(.fini_array))
KEEP (*(SORT(.fini_array.*)))
@ -110,7 +110,7 @@ SECTIONS
KEEP (*(SORT(.dtors.*)))
KEEP (*crtend.o(.dtors))
. = ALIGN(4);
. = ALIGN(8);
__cs3_regions = .;
LONG (0)
LONG (__cs3_region_init_ram)

View File

@ -88,13 +88,13 @@ SECTIONS
*(vtable)
*(.data*)
. = ALIGN(4);
. = ALIGN(8);
/* preinit data */
PROVIDE (__preinit_array_start = .);
KEEP(*(.preinit_array))
PROVIDE (__preinit_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* init data */
PROVIDE (__init_array_start = .);
KEEP(*(SORT(.init_array.*)))
@ -102,14 +102,14 @@ SECTIONS
PROVIDE (__init_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* finit data */
PROVIDE (__fini_array_start = .);
KEEP(*(SORT(.fini_array.*)))
KEEP(*(.fini_array))
PROVIDE (__fini_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* All data end */
__data_end__ = .;

View File

@ -28,13 +28,13 @@ SECTIONS
{
/* MAIN TEXT SECTION */
.text : ALIGN(4)
.text : ALIGN(8)
{
FILL(0xff)
KEEP(*(.isr_vector))
/* Global Section Table */
. = ALIGN(4) ;
. = ALIGN(8) ;
__section_table_start = .;
__data_section_table = .;
LONG(LOADADDR(.data));
@ -58,18 +58,18 @@ SECTIONS
*(.text*)
*(.rodata .rodata.*)
. = ALIGN(4);
. = ALIGN(8);
/* C++ constructors etc */
. = ALIGN(4);
. = ALIGN(8);
KEEP(*(.init))
. = ALIGN(4);
. = ALIGN(8);
__preinit_array_start = .;
KEEP (*(.preinit_array))
__preinit_array_end = .;
. = ALIGN(4);
. = ALIGN(8);
__init_array_start = .;
KEEP (*(SORT(.init_array.*)))
KEEP (*(.init_array))
@ -77,13 +77,13 @@ SECTIONS
KEEP(*(.fini));
. = ALIGN(4);
. = ALIGN(8);
KEEP (*crtbegin.o(.ctors))
KEEP (*(EXCLUDE_FILE (*crtend.o) .ctors))
KEEP (*(SORT(.ctors.*)))
KEEP (*crtend.o(.ctors))
. = ALIGN(4);
. = ALIGN(8);
KEEP (*crtbegin.o(.dtors))
KEEP (*(EXCLUDE_FILE (*crtend.o) .dtors))
KEEP (*(SORT(.dtors.*)))
@ -95,13 +95,13 @@ SECTIONS
* for exception handling/unwind - some Newlib functions (in common
* with C++ and STDC++) use this.
*/
.ARM.extab : ALIGN(4)
.ARM.extab : ALIGN(8)
{
*(.ARM.extab* .gnu.linkonce.armextab.*)
} > MFlash512
__exidx_start = .;
.ARM.exidx : ALIGN(4)
.ARM.exidx : ALIGN(8)
{
*(.ARM.exidx* .gnu.linkonce.armexidx.*)
} > MFlash512
@ -111,68 +111,68 @@ SECTIONS
/* DATA section for RamPeriph32 */
.data_RAM2 : ALIGN(4)
.data_RAM2 : ALIGN(8)
{
FILL(0xff)
*(.data.$RAM2*)
*(.data.$RamPeriph32*)
. = ALIGN(4) ;
. = ALIGN(8) ;
} > RamPeriph32 AT>MFlash512
/* MAIN DATA SECTION */
.uninit_RESERVED : ALIGN(4)
.uninit_RESERVED : ALIGN(8)
{
KEEP(*(.bss.$RESERVED*))
. = ALIGN(4) ;
. = ALIGN(8) ;
_end_uninit_RESERVED = .;
} > RamLoc64
.data : ALIGN(4)
.data : ALIGN(8)
{
FILL(0xff)
_data = .;
*(vtable)
*(.data*)
. = ALIGN(4) ;
. = ALIGN(8) ;
_edata = .;
} > RamLoc64 AT>MFlash512
/* BSS section for RamPeriph32 */
.bss_RAM2 : ALIGN(4)
.bss_RAM2 : ALIGN(8)
{
*(.bss.$RAM2*)
*(.bss.$RamPeriph32*)
. = ALIGN(4) ;
. = ALIGN(8) ;
} > RamPeriph32
/* MAIN BSS SECTION */
.bss : ALIGN(4)
.bss : ALIGN(8)
{
_bss = .;
*(.bss*)
*(COMMON)
. = ALIGN(4) ;
. = ALIGN(8) ;
_ebss = .;
PROVIDE(end = .);
__end__ = .;
} > RamLoc64
/* NOINIT section for RamPeriph32 */
.noinit_RAM2 (NOLOAD) : ALIGN(4)
.noinit_RAM2 (NOLOAD) : ALIGN(8)
{
*(.noinit.$RAM2*)
*(.noinit.$RamPeriph32*)
. = ALIGN(4) ;
. = ALIGN(8) ;
} > RamPeriph32
/* DEFAULT NOINIT SECTION */
.noinit (NOLOAD): ALIGN(4)
.noinit (NOLOAD): ALIGN(8)
{
_noinit = .;
*(.noinit*)
. = ALIGN(4) ;
. = ALIGN(8) ;
_end_noinit = .;
} > RamLoc64

View File

@ -90,13 +90,13 @@ SECTIONS
*(vtable)
*(.data*)
. = ALIGN(4);
. = ALIGN(8);
/* preinit data */
PROVIDE (__preinit_array_start = .);
KEEP(*(.preinit_array))
PROVIDE (__preinit_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* init data */
PROVIDE (__init_array_start = .);
KEEP(*(SORT(.init_array.*)))
@ -104,14 +104,14 @@ SECTIONS
PROVIDE (__init_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* finit data */
PROVIDE (__fini_array_start = .);
KEEP(*(SORT(.fini_array.*)))
KEEP(*(.fini_array))
PROVIDE (__fini_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* All data end */
__data_end__ = .;

View File

@ -29,14 +29,14 @@ SECTIONS
{
/* MAIN TEXT SECTION */
.text : ALIGN(4)
.text : ALIGN(8)
{
FILL(0xff)
__vectors_start__ = ABSOLUTE(.) ;
KEEP(*(.isr_vector))
/* Global Section Table */
. = ALIGN(4) ;
. = ALIGN(8) ;
__section_table_start = .;
__data_section_table = .;
LONG(LOADADDR(.data));
@ -75,22 +75,22 @@ SECTIONS
} >SPIFI
.text : ALIGN(4)
.text : ALIGN(8)
{
*(.text*)
*(.rodata .rodata.* .constdata .constdata.*)
. = ALIGN(4);
. = ALIGN(8);
/* C++ constructors etc */
. = ALIGN(4);
. = ALIGN(8);
KEEP(*(.init))
. = ALIGN(4);
. = ALIGN(8);
__preinit_array_start = .;
KEEP (*(.preinit_array))
__preinit_array_end = .;
. = ALIGN(4);
. = ALIGN(8);
__init_array_start = .;
KEEP (*(SORT(.init_array.*)))
KEEP (*(.init_array))
@ -98,13 +98,13 @@ SECTIONS
KEEP(*(.fini));
. = ALIGN(4);
. = ALIGN(8);
KEEP (*crtbegin.o(.ctors))
KEEP (*(EXCLUDE_FILE (*crtend.o) .ctors))
KEEP (*(SORT(.ctors.*)))
KEEP (*crtend.o(.ctors))
. = ALIGN(4);
. = ALIGN(8);
KEEP (*crtbegin.o(.dtors))
KEEP (*(EXCLUDE_FILE (*crtend.o) .dtors))
KEEP (*(SORT(.dtors.*)))
@ -116,13 +116,13 @@ SECTIONS
* for exception handling/unwind - some Newlib functions (in common
* with C++ and STDC++) use this.
*/
.ARM.extab : ALIGN(4)
.ARM.extab : ALIGN(8)
{
*(.ARM.extab* .gnu.linkonce.armextab.*)
} > SPIFI
__exidx_start = .;
.ARM.exidx : ALIGN(4)
.ARM.exidx : ALIGN(8)
{
*(.ARM.exidx* .gnu.linkonce.armexidx.*)
} > SPIFI
@ -132,147 +132,147 @@ SECTIONS
/* DATA section for RamLoc72 */
.data_RAM2 : ALIGN(4)
.data_RAM2 : ALIGN(8)
{
FILL(0xff)
*(.ramfunc.$RAM2)
*(.ramfunc.$RamLoc72)
*(.data.$RAM2*)
*(.data.$RamLoc72*)
. = ALIGN(4) ;
. = ALIGN(8) ;
} > RamLoc72 AT>SPIFI
/* DATA section for RamAHB32 */
.data_RAM3 : ALIGN(4)
.data_RAM3 : ALIGN(8)
{
FILL(0xff)
*(.ramfunc.$RAM3)
*(.ramfunc.$RamAHB32)
*(.data.$RAM3*)
*(.data.$RamAHB32*)
. = ALIGN(4) ;
. = ALIGN(8) ;
} > RamAHB32 AT>SPIFI
/* DATA section for RamAHB16 */
.data_RAM4 : ALIGN(4)
.data_RAM4 : ALIGN(8)
{
FILL(0xff)
*(.ramfunc.$RAM4)
*(.ramfunc.$RamAHB16)
*(.data.$RAM4*)
*(.data.$RamAHB16*)
. = ALIGN(4) ;
. = ALIGN(8) ;
} > RamAHB16 AT>SPIFI
/* DATA section for RamAHB_ETB16 */
.data_RAM5 : ALIGN(4)
.data_RAM5 : ALIGN(8)
{
FILL(0xff)
*(.ramfunc.$RAM5)
*(.ramfunc.$RamAHB_ETB16)
*(.data.$RAM5*)
*(.data.$RamAHB_ETB16*)
. = ALIGN(4) ;
. = ALIGN(8) ;
} > RamAHB_ETB16 AT>SPIFI
/* MAIN DATA SECTION */
.uninit_RESERVED : ALIGN(4)
.uninit_RESERVED : ALIGN(8)
{
KEEP(*(.bss.$RESERVED*))
. = ALIGN(4) ;
. = ALIGN(8) ;
_end_uninit_RESERVED = .;
} > RamLoc128
/* Main DATA section (RamLoc128) */
.data : ALIGN(4)
.data : ALIGN(8)
{
FILL(0xff)
_data = . ;
*(vtable)
*(.ramfunc*)
*(.data*)
. = ALIGN(4) ;
. = ALIGN(8) ;
_edata = . ;
} > RamLoc128 AT>SPIFI
/* BSS section for RamLoc72 */
.bss_RAM2 : ALIGN(4)
.bss_RAM2 : ALIGN(8)
{
*(.bss.$RAM2*)
*(.bss.$RamLoc72*)
. = ALIGN(4) ;
. = ALIGN(8) ;
} > RamLoc72
/* BSS section for RamAHB32 */
.bss_RAM3 : ALIGN(4)
.bss_RAM3 : ALIGN(8)
{
*(.bss.$RAM3*)
*(.bss.$RamAHB32*)
. = ALIGN(4) ;
. = ALIGN(8) ;
} > RamAHB32
/* BSS section for RamAHB16 */
.bss_RAM4 : ALIGN(4)
.bss_RAM4 : ALIGN(8)
{
*(.bss.$RAM4*)
*(.bss.$RamAHB16*)
. = ALIGN(4) ;
. = ALIGN(8) ;
} > RamAHB16
/* BSS section for RamAHB_ETB16 */
.bss_RAM5 : ALIGN(4)
.bss_RAM5 : ALIGN(8)
{
*(.bss.$RAM5*)
*(.bss.$RamAHB_ETB16*)
. = ALIGN(4) ;
. = ALIGN(8) ;
} > RamAHB_ETB16
/* MAIN BSS SECTION */
.bss : ALIGN(4)
.bss : ALIGN(8)
{
_bss = .;
*(.bss*)
*(COMMON)
. = ALIGN(4) ;
. = ALIGN(8) ;
_ebss = .;
PROVIDE(end = .);
} > RamLoc128
/* NOINIT section for RamLoc72 */
.noinit_RAM2 (NOLOAD) : ALIGN(4)
.noinit_RAM2 (NOLOAD) : ALIGN(8)
{
*(.noinit.$RAM2*)
*(.noinit.$RamLoc72*)
. = ALIGN(4) ;
. = ALIGN(8) ;
} > RamLoc72
/* NOINIT section for RamAHB32 */
.noinit_RAM3 (NOLOAD) : ALIGN(4)
.noinit_RAM3 (NOLOAD) : ALIGN(8)
{
*(.noinit.$RAM3*)
*(.noinit.$RamAHB32*)
. = ALIGN(4) ;
. = ALIGN(8) ;
} > RamAHB32
/* NOINIT section for RamAHB16 */
.noinit_RAM4 (NOLOAD) : ALIGN(4)
.noinit_RAM4 (NOLOAD) : ALIGN(8)
{
*(.noinit.$RAM4*)
*(.noinit.$RamAHB16*)
. = ALIGN(4) ;
. = ALIGN(8) ;
} > RamAHB16
/* NOINIT section for RamAHB_ETB16 */
.noinit_RAM5 (NOLOAD) : ALIGN(4)
.noinit_RAM5 (NOLOAD) : ALIGN(8)
{
*(.noinit.$RAM5*)
*(.noinit.$RamAHB_ETB16*)
. = ALIGN(4) ;
. = ALIGN(8) ;
} > RamAHB_ETB16
/* DEFAULT NOINIT SECTION */
.noinit (NOLOAD): ALIGN(4)
.noinit (NOLOAD): ALIGN(8)
{
_noinit = .;
*(.noinit*)
. = ALIGN(4) ;
. = ALIGN(8) ;
_end_noinit = .;
} > RamLoc128

View File

@ -89,13 +89,13 @@ SECTIONS
*(vtable)
*(.data*)
. = ALIGN(4);
. = ALIGN(8);
/* preinit data */
PROVIDE (__preinit_array_start = .);
KEEP(*(.preinit_array))
PROVIDE (__preinit_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* init data */
PROVIDE (__init_array_start = .);
KEEP(*(SORT(.init_array.*)))
@ -103,14 +103,14 @@ SECTIONS
PROVIDE (__init_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* finit data */
PROVIDE (__fini_array_start = .);
KEEP(*(SORT(.fini_array.*)))
KEEP(*(.fini_array))
PROVIDE (__fini_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* All data end */
__data_end__ = .;

View File

@ -89,13 +89,13 @@ SECTIONS
*(vtable)
*(.data*)
. = ALIGN(4);
. = ALIGN(8);
/* preinit data */
PROVIDE (__preinit_array_start = .);
KEEP(*(.preinit_array))
PROVIDE (__preinit_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* init data */
PROVIDE (__init_array_start = .);
KEEP(*(SORT(.init_array.*)))
@ -103,14 +103,14 @@ SECTIONS
PROVIDE (__init_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* finit data */
PROVIDE (__fini_array_start = .);
KEEP(*(SORT(.fini_array.*)))
KEEP(*(.fini_array))
PROVIDE (__fini_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* All data end */
__data_end__ = .;

View File

@ -89,13 +89,13 @@ SECTIONS
*(vtable)
*(.data*)
. = ALIGN(4);
. = ALIGN(8);
/* preinit data */
PROVIDE (__preinit_array_start = .);
KEEP(*(.preinit_array))
PROVIDE (__preinit_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* init data */
PROVIDE (__init_array_start = .);
KEEP(*(SORT(.init_array.*)))
@ -103,14 +103,14 @@ SECTIONS
PROVIDE (__init_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* finit data */
PROVIDE (__fini_array_start = .);
KEEP(*(SORT(.fini_array.*)))
KEEP(*(.fini_array))
PROVIDE (__fini_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* All data end */
__data_end__ = .;

View File

@ -89,13 +89,13 @@ SECTIONS
*(vtable)
*(.data*)
. = ALIGN(4);
. = ALIGN(8);
/* preinit data */
PROVIDE (__preinit_array_start = .);
KEEP(*(.preinit_array))
PROVIDE (__preinit_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* init data */
PROVIDE (__init_array_start = .);
KEEP(*(SORT(.init_array.*)))
@ -103,14 +103,14 @@ SECTIONS
PROVIDE (__init_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* finit data */
PROVIDE (__fini_array_start = .);
KEEP(*(SORT(.fini_array.*)))
KEEP(*(.fini_array))
PROVIDE (__fini_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* All data end */
__data_end__ = .;

View File

@ -54,14 +54,14 @@ SECTIONS
{
/* MAIN TEXT SECTION */
.text : ALIGN(4)
.text : ALIGN(8)
{
FILL(0xff)
__vectors_start__ = ABSOLUTE(.) ;
KEEP(*(.isr_vector))
/* Global Section Table */
. = ALIGN(4) ;
. = ALIGN(8) ;
__section_table_start = .;
__data_section_table = .;
LONG(LOADADDR(.data));
@ -79,23 +79,23 @@ SECTIONS
*(.after_vectors*)
} >MFlash32
.text : ALIGN(4)
.text : ALIGN(8)
{
*(.text*)
*(.rodata .rodata.* .constdata .constdata.*)
. = ALIGN(4);
. = ALIGN(8);
/* C++ constructors etc */
. = ALIGN(4);
. = ALIGN(8);
KEEP(*(.init))
. = ALIGN(4);
. = ALIGN(8);
__preinit_array_start = .;
KEEP (*(.preinit_array))
__preinit_array_end = .;
. = ALIGN(4);
. = ALIGN(8);
__init_array_start = .;
KEEP (*(SORT(.init_array.*)))
KEEP (*(.init_array))
@ -129,13 +129,13 @@ SECTIONS
* for exception handling/unwind - some Newlib functions (in common
* with C++ and STDC++) use this.
*/
.ARM.extab : ALIGN(4)
.ARM.extab : ALIGN(8)
{
*(.ARM.extab* .gnu.linkonce.armextab.*)
} > MFlash32
__exidx_start = .;
.ARM.exidx : ALIGN(4)
.ARM.exidx : ALIGN(8)
{
*(.ARM.exidx* .gnu.linkonce.armexidx.*)
} > MFlash32
@ -152,45 +152,45 @@ SECTIONS
KEEP(*(.mtb*))
} > RamLoc8
.uninit_RESERVED : ALIGN(4)
.uninit_RESERVED : ALIGN(8)
{
KEEP(*(.bss.$RESERVED*))
. = ALIGN(4) ;
. = ALIGN(8) ;
_end_uninit_RESERVED = .;
} > RamLoc8
/* Main DATA section (RamLoc8) */
.data : ALIGN(4)
.data : ALIGN(8)
{
FILL(0xff)
_data = . ;
*(vtable)
*(.ramfunc*)
*(.data*)
. = ALIGN(4) ;
. = ALIGN(8) ;
_edata = . ;
} > RamLoc8 AT>MFlash32
/* MAIN BSS SECTION */
.bss : ALIGN(4)
.bss : ALIGN(8)
{
_bss = .;
*(.bss*)
*(COMMON)
. = ALIGN(4) ;
. = ALIGN(8) ;
_ebss = .;
PROVIDE(end = .);
} > RamLoc8
/* DEFAULT NOINIT SECTION */
.noinit (NOLOAD): ALIGN(4)
.noinit (NOLOAD): ALIGN(8)
{
_noinit = .;
*(.noinit*)
. = ALIGN(4) ;
. = ALIGN(8) ;
_end_noinit = .;
} > RamLoc8

View File

@ -90,13 +90,13 @@ SECTIONS
*(vtable)
*(.data*)
. = ALIGN(4);
. = ALIGN(8);
/* preinit data */
PROVIDE (__preinit_array_start = .);
KEEP(*(.preinit_array))
PROVIDE (__preinit_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* init data */
PROVIDE (__init_array_start = .);
KEEP(*(SORT(.init_array.*)))
@ -104,14 +104,14 @@ SECTIONS
PROVIDE (__init_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* finit data */
PROVIDE (__fini_array_start = .);
KEEP(*(SORT(.fini_array.*)))
KEEP(*(.fini_array))
PROVIDE (__fini_array_end = .);
. = ALIGN(4);
. = ALIGN(8);
/* All data end */
__data_end__ = .;

View File

@ -106,32 +106,32 @@ SECTIONS
/* section for storing the secondary core image */
.m0code :
{
. = ALIGN(4) ;
. = ALIGN(8) ;
KEEP (*(.m0code))
*(.m0code*)
. = ALIGN(4) ;
. = ALIGN(8) ;
} > m_core1_image
/* NOINIT section for rpmsg_sh_mem */
.noinit_rpmsg_sh_mem (NOLOAD) : ALIGN(4)
.noinit_rpmsg_sh_mem (NOLOAD) : ALIGN(8)
{
*(.noinit.$rpmsg_sh_mem*)
. = ALIGN(4) ;
. = ALIGN(8) ;
} > rpmsg_sh_mem
/* The startup code goes first into internal flash */
.interrupts :
{
__VECTOR_TABLE = .;
. = ALIGN(4);
. = ALIGN(8);
KEEP(*(.isr_vector)) /* Startup code */
. = ALIGN(4);
. = ALIGN(8);
} > m_interrupts
/* The program code and other data goes into internal flash */
.text :
{
. = ALIGN(4);
. = ALIGN(8);
*(.text) /* .text sections (code) */
*(.text*) /* .text* sections (code) */
*(.rodata) /* .rodata sections (constants, strings, etc.) */
@ -141,7 +141,7 @@ SECTIONS
*(.eh_frame)
KEEP (*(.init))
KEEP (*(.fini))
. = ALIGN(4);
. = ALIGN(8);
} > m_text
.ARM.extab :
@ -219,12 +219,12 @@ SECTIONS
.interrupts_ram :
{
. = ALIGN(4);
. = ALIGN(8);
__VECTOR_RAM__ = .;
__interrupts_ram_start__ = .; /* Create a global symbol at data start */
*(.m_interrupts_ram) /* This is a user defined section */
. += M_VECTOR_RAM_SIZE;
. = ALIGN(4);
. = ALIGN(8);
__interrupts_ram_end__ = .; /* Define a global symbol at data end */
} > m_data
@ -233,14 +233,14 @@ SECTIONS
.data : AT(__DATA_ROM)
{
. = ALIGN(4);
. = ALIGN(8);
__DATA_RAM = .;
__data_start__ = .; /* create a global symbol at data start */
*(.ramfunc*) /* for functions in ram */
*(.data) /* .data sections */
*(.data*) /* .data* sections */
KEEP(*(.jcr*))
. = ALIGN(4);
. = ALIGN(8);
__data_end__ = .; /* define a global symbol at data end */
} > m_data
@ -252,13 +252,13 @@ SECTIONS
.bss :
{
/* This is used by the startup in order to initialize the .bss section */
. = ALIGN(4);
. = ALIGN(8);
__START_BSS = .;
__bss_start__ = .;
*(.bss)
*(.bss*)
*(COMMON)
. = ALIGN(4);
. = ALIGN(8);
__bss_end__ = .;
__END_BSS = .;
} > m_data

View File

@ -73,15 +73,15 @@ SECTIONS
.interrupts :
{
__VECTOR_TABLE = .;
. = ALIGN(4);
. = ALIGN(8);
KEEP(*(.isr_vector)) /* Startup code */
. = ALIGN(4);
. = ALIGN(8);
} > m_interrupts
/* The program code and other data goes into internal flash */
.text :
{
. = ALIGN(4);
. = ALIGN(8);
*(.text) /* .text sections (code) */
*(.text*) /* .text* sections (code) */
*(.rodata) /* .rodata sections (constants, strings, etc.) */
@ -91,7 +91,7 @@ SECTIONS
*(.eh_frame)
KEEP (*(.init))
KEEP (*(.fini))
. = ALIGN(4);
. = ALIGN(8);
} > m_text
.ARM.extab :
@ -169,12 +169,12 @@ SECTIONS
.interrupts_ram :
{
. = ALIGN(4);
. = ALIGN(8);
__VECTOR_RAM__ = .;
__interrupts_ram_start__ = .; /* Create a global symbol at data start */
*(.m_interrupts_ram) /* This is a user defined section */
. += M_VECTOR_RAM_SIZE;
. = ALIGN(4);
. = ALIGN(8);
__interrupts_ram_end__ = .; /* Define a global symbol at data end */
} > m_data
@ -183,14 +183,14 @@ SECTIONS
.data : AT(__DATA_ROM)
{
. = ALIGN(4);
. = ALIGN(8);
__DATA_RAM = .;
__data_start__ = .; /* create a global symbol at data start */
*(.ramfunc*) /* for functions in ram */
*(.data) /* .data sections */
*(.data*) /* .data* sections */
KEEP(*(.jcr*))
. = ALIGN(4);
. = ALIGN(8);
__data_end__ = .; /* define a global symbol at data end */
} > m_data
@ -202,13 +202,13 @@ SECTIONS
.bss :
{
/* This is used by the startup in order to initialize the .bss section */
. = ALIGN(4);
. = ALIGN(8);
__START_BSS = .;
__bss_start__ = .;
*(.bss)
*(.bss*)
*(COMMON)
. = ALIGN(4);
. = ALIGN(8);
__bss_end__ = .;
__END_BSS = .;
} > m_data

View File

@ -84,36 +84,36 @@ SECTIONS
{
.flash_config :
{
. = ALIGN(4);
. = ALIGN(8);
__FLASH_BASE = .;
KEEP(* (.boot_hdr.conf)) /* flash config section */
. = ALIGN(4);
. = ALIGN(8);
} > m_flash_config
ivt_begin= ORIGIN(m_flash_config) + LENGTH(m_flash_config);
.ivt : AT(ivt_begin)
{
. = ALIGN(4);
. = ALIGN(8);
KEEP(* (.boot_hdr.ivt)) /* ivt section */
KEEP(* (.boot_hdr.boot_data)) /* boot section */
KEEP(* (.boot_hdr.dcd_data)) /* dcd section */
. = ALIGN(4);
. = ALIGN(8);
} > m_ivt
/* The startup code goes first into internal RAM */
.interrupts :
{
__VECTOR_TABLE = .;
. = ALIGN(4);
. = ALIGN(8);
KEEP(*(.isr_vector)) /* Startup code */
. = ALIGN(4);
. = ALIGN(8);
} > m_interrupts
/* The program code and other data goes into internal RAM */
.text :
{
. = ALIGN(4);
. = ALIGN(8);
*(.text) /* .text sections (code) */
*(.text*) /* .text* sections (code) */
*(.rodata) /* .rodata sections (constants, strings, etc.) */
@ -123,7 +123,7 @@ SECTIONS
*(.eh_frame)
KEEP (*(.init))
KEEP (*(.fini))
. = ALIGN(4);
. = ALIGN(8);
} > m_text
.ARM.extab :
@ -201,12 +201,12 @@ SECTIONS
.interrupts_ram :
{
. = ALIGN(4);
. = ALIGN(8);
__VECTOR_RAM__ = .;
__interrupts_ram_start__ = .; /* Create a global symbol at data start */
*(.m_interrupts_ram) /* This is a user defined section */
. += M_VECTOR_RAM_SIZE;
. = ALIGN(4);
. = ALIGN(8);
__interrupts_ram_end__ = .; /* Define a global symbol at data end */
} > m_data2
@ -215,14 +215,14 @@ SECTIONS
.data : AT(__DATA_ROM)
{
. = ALIGN(4);
. = ALIGN(8);
__DATA_RAM = .;
__data_start__ = .; /* create a global symbol at data start */
*(m_usb_dma_init_data)
*(.data) /* .data sections */
*(.data*) /* .data* sections */
KEEP(*(.jcr*))
. = ALIGN(4);
. = ALIGN(8);
__data_end__ = .; /* define a global symbol at data end */
} > m_data
@ -245,14 +245,14 @@ SECTIONS
{
__noncachedata_start__ = .; /* create a global symbol at ncache data start */
*(NonCacheable.init)
. = ALIGN(4);
. = ALIGN(8);
__noncachedata_init_end__ = .; /* create a global symbol at initialized ncache data end */
} > m_ncache
. = __noncachedata_init_end__;
.ncache :
{
*(NonCacheable)
. = ALIGN(4);
. = ALIGN(8);
__noncachedata_end__ = .; /* define a global symbol at ncache data end */
} > m_ncache
@ -264,14 +264,14 @@ SECTIONS
.bss :
{
/* This is used by the startup in order to initialize the .bss section */
. = ALIGN(4);
. = ALIGN(8);
__START_BSS = .;
__bss_start__ = .;
*(m_usb_dma_noninit_data)
*(.bss)
*(.bss*)
*(COMMON)
. = ALIGN(4);
. = ALIGN(8);
__bss_end__ = .;
__END_BSS = .;
} > m_data