diff --git a/targets/TARGET_RENESAS/TARGET_RZ_A1XX/TARGET_GR_LYCHEE/device/TOOLCHAIN_ARM_STD/MBRZA1LU.sct b/targets/TARGET_RENESAS/TARGET_RZ_A1XX/TARGET_GR_LYCHEE/device/TOOLCHAIN_ARM_STD/MBRZA1LU.sct index 1b44ff564b..0028174064 100644 --- a/targets/TARGET_RENESAS/TARGET_RZ_A1XX/TARGET_GR_LYCHEE/device/TOOLCHAIN_ARM_STD/MBRZA1LU.sct +++ b/targets/TARGET_RENESAS/TARGET_RZ_A1XX/TARGET_GR_LYCHEE/device/TOOLCHAIN_ARM_STD/MBRZA1LU.sct @@ -52,7 +52,7 @@ LR_IROM1 MBED_APP_START MBED_APP_SIZE ; load region size_region RAM_CODE 0x20020000 { * (RAM_CODE) } ; Application RAM_CODE - RW_DATA +0 ALIGN 0x4 + RW_DATA +0 ALIGN 0x8 { * (+RW) } ; Application RW data (.data) RW_IRAM1 +0 ALIGN 0x10 diff --git a/targets/TARGET_RENESAS/TARGET_RZ_A1XX/TARGET_GR_LYCHEE/device/TOOLCHAIN_GCC_ARM/RZA1LU.ld b/targets/TARGET_RENESAS/TARGET_RZ_A1XX/TARGET_GR_LYCHEE/device/TOOLCHAIN_GCC_ARM/RZA1LU.ld index e27299d2a0..d47fa6f690 100644 --- a/targets/TARGET_RENESAS/TARGET_RZ_A1XX/TARGET_GR_LYCHEE/device/TOOLCHAIN_GCC_ARM/RZA1LU.ld +++ b/targets/TARGET_RENESAS/TARGET_RZ_A1XX/TARGET_GR_LYCHEE/device/TOOLCHAIN_GCC_ARM/RZA1LU.ld @@ -117,7 +117,7 @@ SECTIONS .copy.table : { - . = ALIGN(4); + . = ALIGN(8); __copy_table_start__ = .; LONG (__etext) LONG (__data_start__) @@ -133,7 +133,7 @@ SECTIONS .zero.table : { - . = ALIGN(4); + . = ALIGN(8); __zero_table_start__ = .; LONG (__bss_start__) LONG (__bss_end__ - __bss_start__) @@ -142,7 +142,7 @@ SECTIONS __zero_table_end__ = .; } > SFLASH - .ram_code : ALIGN( 0x4 ) { + .ram_code : ALIGN( 0x8 ) { __ram_code_load = .; __ram_code_start = LOADADDR(.ram_code) + ( __ram_code_load - ADDR(.ram_code) ); @@ -150,7 +150,7 @@ SECTIONS *(RAM_CONST) - . = ALIGN( 0x4 ); + . = ALIGN( 0x8 ); __ram_code_end = LOADADDR(.ram_code) + ( . - ADDR(.ram_code) ); } > RAM AT > SFLASH @@ -175,13 +175,13 @@ SECTIONS *(.data*) Image$$RW_DATA$$Limit = .; - . = 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.*))) @@ -189,14 +189,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__ = .; @@ -245,7 +245,7 @@ SECTIONS __nc_data_start = .; *(NC_DATA) - . = ALIGN(4); + . = ALIGN(8); __nc_data_end = .; Image$$RW_DATA_NC$$Limit = .; } > RAM_NC @@ -256,7 +256,7 @@ SECTIONS __nc_bss_start = .; *(NC_BSS) - . = ALIGN(4); + . = ALIGN(8); __nc_bss_end = .; Image$$ZI_DATA_NC$$Limit = .; } > RAM_NC diff --git a/targets/TARGET_RENESAS/TARGET_RZ_A1XX/TARGET_RZ_A1H/device/TOOLCHAIN_ARM_STD/MBRZA1H.sct b/targets/TARGET_RENESAS/TARGET_RZ_A1XX/TARGET_RZ_A1H/device/TOOLCHAIN_ARM_STD/MBRZA1H.sct index b429f79cc7..67c8d58801 100644 --- a/targets/TARGET_RENESAS/TARGET_RZ_A1XX/TARGET_RZ_A1H/device/TOOLCHAIN_ARM_STD/MBRZA1H.sct +++ b/targets/TARGET_RENESAS/TARGET_RZ_A1XX/TARGET_RZ_A1H/device/TOOLCHAIN_ARM_STD/MBRZA1H.sct @@ -52,7 +52,7 @@ LR_IROM1 MBED_APP_START MBED_APP_SIZE ; load region size_region RAM_CODE 0x20020000 { * (RAM_CODE) } ; Application RAM_CODE - RW_DATA +0 ALIGN 0x4 + RW_DATA +0 ALIGN 0x8 { * (+RW) } ; Application RW data (.data) RW_IRAM1 +0 ALIGN 0x10 diff --git a/targets/TARGET_RENESAS/TARGET_RZ_A1XX/TARGET_RZ_A1H/device/TOOLCHAIN_GCC_ARM/RZA1H.ld b/targets/TARGET_RENESAS/TARGET_RZ_A1XX/TARGET_RZ_A1H/device/TOOLCHAIN_GCC_ARM/RZA1H.ld index 2b10e18b0a..6f57f3067d 100644 --- a/targets/TARGET_RENESAS/TARGET_RZ_A1XX/TARGET_RZ_A1H/device/TOOLCHAIN_GCC_ARM/RZA1H.ld +++ b/targets/TARGET_RENESAS/TARGET_RZ_A1XX/TARGET_RZ_A1H/device/TOOLCHAIN_GCC_ARM/RZA1H.ld @@ -117,7 +117,7 @@ SECTIONS .copy.table : { - . = ALIGN(4); + . = ALIGN(8); __copy_table_start__ = .; LONG (__etext) LONG (__data_start__) @@ -133,7 +133,7 @@ SECTIONS .zero.table : { - . = ALIGN(4); + . = ALIGN(8); __zero_table_start__ = .; LONG (__bss_start__) LONG (__bss_end__ - __bss_start__) @@ -142,7 +142,7 @@ SECTIONS __zero_table_end__ = .; } > SFLASH - .ram_code : ALIGN( 0x4 ) { + .ram_code : ALIGN( 0x8 ) { __ram_code_load = .; __ram_code_start = LOADADDR(.ram_code) + ( __ram_code_load - ADDR(.ram_code) ); @@ -150,7 +150,7 @@ SECTIONS *(RAM_CONST) - . = ALIGN( 0x4 ); + . = ALIGN( 0x8 ); __ram_code_end = LOADADDR(.ram_code) + ( . - ADDR(.ram_code) ); } > RAM AT > SFLASH @@ -175,13 +175,13 @@ SECTIONS *(.data*) Image$$RW_DATA$$Limit = .; - . = 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.*))) @@ -189,14 +189,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__ = .; @@ -245,7 +245,7 @@ SECTIONS __nc_data_start = .; *(NC_DATA) - . = ALIGN(4); + . = ALIGN(8); __nc_data_end = .; Image$$RW_DATA_NC$$Limit = .; } > RAM_NC @@ -256,7 +256,7 @@ SECTIONS __nc_bss_start = .; *(NC_BSS) - . = ALIGN(4); + . = ALIGN(8); __nc_bss_end = .; Image$$ZI_DATA_NC$$Limit = .; } > RAM_NC diff --git a/targets/TARGET_RENESAS/TARGET_RZ_A1XX/TARGET_VK_RZ_A1H/device/TOOLCHAIN_GCC_ARM/VKRZA1H.ld b/targets/TARGET_RENESAS/TARGET_RZ_A1XX/TARGET_VK_RZ_A1H/device/TOOLCHAIN_GCC_ARM/VKRZA1H.ld index b2a7fa5caa..e24116c99a 100644 --- a/targets/TARGET_RENESAS/TARGET_RZ_A1XX/TARGET_VK_RZ_A1H/device/TOOLCHAIN_GCC_ARM/VKRZA1H.ld +++ b/targets/TARGET_RENESAS/TARGET_RZ_A1XX/TARGET_VK_RZ_A1H/device/TOOLCHAIN_GCC_ARM/VKRZA1H.ld @@ -114,7 +114,7 @@ SECTIONS .copy.table : { - . = ALIGN(4); + . = ALIGN(8); __copy_table_start__ = .; LONG (__etext) LONG (__data_start__) @@ -127,7 +127,7 @@ SECTIONS .zero.table : { - . = ALIGN(4); + . = ALIGN(8); __zero_table_start__ = .; LONG (__bss_start__) LONG (__bss_end__ - __bss_start__) @@ -153,13 +153,13 @@ SECTIONS *(.data*) Image$$RW_DATA$$Limit = .; - . = 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.*))) @@ -167,14 +167,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__ = .; @@ -223,7 +223,7 @@ SECTIONS __nc_data_start = .; *(NC_DATA) - . = ALIGN(4); + . = ALIGN(8); __nc_data_end = .; Image$$RW_DATA_NC$$Limit = .; } > RAM_NC @@ -234,7 +234,7 @@ SECTIONS __nc_bss_start = .; *(NC_BSS) - . = ALIGN(4); + . = ALIGN(8); __nc_bss_end = .; Image$$ZI_DATA_NC$$Limit = .; } > RAM_NC