From 4395ed4de572c2db62c240eacde62dedd585873b Mon Sep 17 00:00:00 2001 From: Deepika Date: Wed, 19 Sep 2018 09:34:47 -0500 Subject: [PATCH] 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 boundary --- .../device/TOOLCHAIN_GCC_ARM/MK20D5.ld | 12 ++++---- .../device/TOOLCHAIN_GCC_ARM/MK20DX256.ld | 12 ++++---- .../device/TOOLCHAIN_GCC_ARM/MKL05Z4.ld | 10 +++---- .../device/TOOLCHAIN_GCC_ARM/MKL25Z4.ld | 12 ++++---- .../device/TOOLCHAIN_GCC_CW_EWL/MKL25Z4.ld | 24 ++++++++-------- .../device/TOOLCHAIN_GCC_CW_NEWLIB/MKL25Z4.ld | 8 +++--- .../device/TOOLCHAIN_GCC_ARM/MKL26Z4.ld | 12 ++++---- .../device/TOOLCHAIN_GCC_ARM/MKL46Z4.ld | 12 ++++---- .../TOOLCHAIN_GCC_ARM/MK66FN2M0xxx18.ld | 24 ++++++++-------- .../TOOLCHAIN_GCC_ARM/MK82FN256xxx15.ld | 28 +++++++++---------- .../device/TOOLCHAIN_GCC_ARM/MKL27Z64xxx4.ld | 24 ++++++++-------- .../device/TOOLCHAIN_GCC_ARM/MKL43Z256xxx4.ld | 24 ++++++++-------- .../device/TOOLCHAIN_GCC_ARM/MKL82Z128xxx7.ld | 28 +++++++++---------- .../device/TOOLCHAIN_GCC_ARM/MKW24D512xxx5.ld | 24 ++++++++-------- .../device/TOOLCHAIN_GCC_ARM/MKW41Z512xxx4.ld | 24 ++++++++-------- .../TOOLCHAIN_GCC_ARM/MK22FN512xxx12.ld | 24 ++++++++-------- .../TOOLCHAIN_GCC_ARM/MK24FN1M0xxx12.ld | 24 ++++++++-------- .../TOOLCHAIN_GCC_ARM/MK64FN1M0xxx12.ld | 24 ++++++++-------- 18 files changed, 175 insertions(+), 175 deletions(-) diff --git a/targets/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/device/TOOLCHAIN_GCC_ARM/MK20D5.ld b/targets/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/device/TOOLCHAIN_GCC_ARM/MK20D5.ld index 600751ca06..36fdf5b23c 100644 --- a/targets/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/device/TOOLCHAIN_GCC_ARM/MK20D5.ld +++ b/targets/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/device/TOOLCHAIN_GCC_ARM/MK20D5.ld @@ -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__ = .; diff --git a/targets/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/device/TOOLCHAIN_GCC_ARM/MK20DX256.ld b/targets/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/device/TOOLCHAIN_GCC_ARM/MK20DX256.ld index 3a40be8642..c950a5d679 100644 --- a/targets/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/device/TOOLCHAIN_GCC_ARM/MK20DX256.ld +++ b/targets/TARGET_Freescale/TARGET_K20XX/TARGET_TEENSY3_1/device/TOOLCHAIN_GCC_ARM/MK20DX256.ld @@ -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__ = .; diff --git a/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/device/TOOLCHAIN_GCC_ARM/MKL05Z4.ld b/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/device/TOOLCHAIN_GCC_ARM/MKL05Z4.ld index 65eba85be1..92505fac8b 100644 --- a/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/device/TOOLCHAIN_GCC_ARM/MKL05Z4.ld +++ b/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL05Z/device/TOOLCHAIN_GCC_ARM/MKL05Z4.ld @@ -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__ = .; diff --git a/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/device/TOOLCHAIN_GCC_ARM/MKL25Z4.ld b/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/device/TOOLCHAIN_GCC_ARM/MKL25Z4.ld index 6c8da015b9..2c9c6ec029 100644 --- a/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/device/TOOLCHAIN_GCC_ARM/MKL25Z4.ld +++ b/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/device/TOOLCHAIN_GCC_ARM/MKL25Z4.ld @@ -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__ = .; diff --git a/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/device/TOOLCHAIN_GCC_CW_EWL/MKL25Z4.ld b/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/device/TOOLCHAIN_GCC_CW_EWL/MKL25Z4.ld index dc26b23e48..3ba122952d 100644 --- a/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/device/TOOLCHAIN_GCC_CW_EWL/MKL25Z4.ld +++ b/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/device/TOOLCHAIN_GCC_CW_EWL/MKL25Z4.ld @@ -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) } diff --git a/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/device/TOOLCHAIN_GCC_CW_NEWLIB/MKL25Z4.ld b/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/device/TOOLCHAIN_GCC_CW_NEWLIB/MKL25Z4.ld index 3ea44c046c..6a0920ade8 100644 --- a/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/device/TOOLCHAIN_GCC_CW_NEWLIB/MKL25Z4.ld +++ b/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/device/TOOLCHAIN_GCC_CW_NEWLIB/MKL25Z4.ld @@ -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__ = .; diff --git a/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/device/TOOLCHAIN_GCC_ARM/MKL26Z4.ld b/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/device/TOOLCHAIN_GCC_ARM/MKL26Z4.ld index 6c8da015b9..2c9c6ec029 100644 --- a/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/device/TOOLCHAIN_GCC_ARM/MKL26Z4.ld +++ b/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL26Z/device/TOOLCHAIN_GCC_ARM/MKL26Z4.ld @@ -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__ = .; diff --git a/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/device/TOOLCHAIN_GCC_ARM/MKL46Z4.ld b/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/device/TOOLCHAIN_GCC_ARM/MKL46Z4.ld index 6f20f32126..9131dfc02b 100644 --- a/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/device/TOOLCHAIN_GCC_ARM/MKL46Z4.ld +++ b/targets/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/device/TOOLCHAIN_GCC_ARM/MKL46Z4.ld @@ -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__ = .; diff --git a/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_K66F/device/TOOLCHAIN_GCC_ARM/MK66FN2M0xxx18.ld b/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_K66F/device/TOOLCHAIN_GCC_ARM/MK66FN2M0xxx18.ld index 4f569d5dd0..31e359ba35 100644 --- a/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_K66F/device/TOOLCHAIN_GCC_ARM/MK66FN2M0xxx18.ld +++ b/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_K66F/device/TOOLCHAIN_GCC_ARM/MK66FN2M0xxx18.ld @@ -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 diff --git a/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_K82F/device/TOOLCHAIN_GCC_ARM/MK82FN256xxx15.ld b/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_K82F/device/TOOLCHAIN_GCC_ARM/MK82FN256xxx15.ld index 8d5a2e9ffa..33c6bc8ffb 100644 --- a/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_K82F/device/TOOLCHAIN_GCC_ARM/MK82FN256xxx15.ld +++ b/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_K82F/device/TOOLCHAIN_GCC_ARM/MK82FN256xxx15.ld @@ -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 diff --git a/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_KL27Z/device/TOOLCHAIN_GCC_ARM/MKL27Z64xxx4.ld b/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_KL27Z/device/TOOLCHAIN_GCC_ARM/MKL27Z64xxx4.ld index d07efd1a04..9e27cf9a8b 100644 --- a/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_KL27Z/device/TOOLCHAIN_GCC_ARM/MKL27Z64xxx4.ld +++ b/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_KL27Z/device/TOOLCHAIN_GCC_ARM/MKL27Z64xxx4.ld @@ -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 diff --git a/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_KL43Z/device/TOOLCHAIN_GCC_ARM/MKL43Z256xxx4.ld b/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_KL43Z/device/TOOLCHAIN_GCC_ARM/MKL43Z256xxx4.ld index 71eff59eee..19329969f4 100644 --- a/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_KL43Z/device/TOOLCHAIN_GCC_ARM/MKL43Z256xxx4.ld +++ b/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_KL43Z/device/TOOLCHAIN_GCC_ARM/MKL43Z256xxx4.ld @@ -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 diff --git a/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_KL82Z/device/TOOLCHAIN_GCC_ARM/MKL82Z128xxx7.ld b/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_KL82Z/device/TOOLCHAIN_GCC_ARM/MKL82Z128xxx7.ld index c7dbc06eae..b46708160e 100644 --- a/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_KL82Z/device/TOOLCHAIN_GCC_ARM/MKL82Z128xxx7.ld +++ b/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_KL82Z/device/TOOLCHAIN_GCC_ARM/MKL82Z128xxx7.ld @@ -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 diff --git a/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_KW24D/device/TOOLCHAIN_GCC_ARM/MKW24D512xxx5.ld b/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_KW24D/device/TOOLCHAIN_GCC_ARM/MKW24D512xxx5.ld index cdbc3d8fe7..1f54167cb3 100644 --- a/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_KW24D/device/TOOLCHAIN_GCC_ARM/MKW24D512xxx5.ld +++ b/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_KW24D/device/TOOLCHAIN_GCC_ARM/MKW24D512xxx5.ld @@ -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 diff --git a/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_KW41Z/device/TOOLCHAIN_GCC_ARM/MKW41Z512xxx4.ld b/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_KW41Z/device/TOOLCHAIN_GCC_ARM/MKW41Z512xxx4.ld index ef807de9e7..227cbbb097 100644 --- a/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_KW41Z/device/TOOLCHAIN_GCC_ARM/MKW41Z512xxx4.ld +++ b/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_KW41Z/device/TOOLCHAIN_GCC_ARM/MKW41Z512xxx4.ld @@ -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 diff --git a/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_MCU_K22F/TARGET_MCU_K22F512/device/TOOLCHAIN_GCC_ARM/MK22FN512xxx12.ld b/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_MCU_K22F/TARGET_MCU_K22F512/device/TOOLCHAIN_GCC_ARM/MK22FN512xxx12.ld index 410b3552e2..433f8d8291 100644 --- a/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_MCU_K22F/TARGET_MCU_K22F512/device/TOOLCHAIN_GCC_ARM/MK22FN512xxx12.ld +++ b/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_MCU_K22F/TARGET_MCU_K22F512/device/TOOLCHAIN_GCC_ARM/MK22FN512xxx12.ld @@ -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 diff --git a/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_MCU_K24F/TARGET_MCU_K24F1M/device/TOOLCHAIN_GCC_ARM/MK24FN1M0xxx12.ld b/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_MCU_K24F/TARGET_MCU_K24F1M/device/TOOLCHAIN_GCC_ARM/MK24FN1M0xxx12.ld index 2ac1c6c677..e227aa037e 100644 --- a/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_MCU_K24F/TARGET_MCU_K24F1M/device/TOOLCHAIN_GCC_ARM/MK24FN1M0xxx12.ld +++ b/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_MCU_K24F/TARGET_MCU_K24F1M/device/TOOLCHAIN_GCC_ARM/MK24FN1M0xxx12.ld @@ -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 diff --git a/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_MCU_K64F/device/TOOLCHAIN_GCC_ARM/MK64FN1M0xxx12.ld b/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_MCU_K64F/device/TOOLCHAIN_GCC_ARM/MK64FN1M0xxx12.ld index 50136de643..ab1c6a34de 100644 --- a/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_MCU_K64F/device/TOOLCHAIN_GCC_ARM/MK64FN1M0xxx12.ld +++ b/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_MCU_K64F/device/TOOLCHAIN_GCC_ARM/MK64FN1M0xxx12.ld @@ -88,22 +88,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.) */ @@ -113,7 +113,7 @@ SECTIONS *(.eh_frame) KEEP (*(.init)) KEEP (*(.fini)) - . = ALIGN(4); + . = ALIGN(8); } > m_text .ARM.extab : @@ -188,12 +188,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 @@ -205,13 +205,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 @@ -239,7 +239,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) @@ -248,7 +248,7 @@ SECTIONS USB_RAM_START = .; . += USB_RAM_GAP; *(COMMON) - . = ALIGN(4); + . = ALIGN(8); __bss_end__ = .; __END_BSS = .; } > m_data_2