diff --git a/boards/arm/c5471/c5471evm/scripts/ld.script b/boards/arm/c5471/c5471evm/scripts/ld.script index f85afce4da..07fbaf2f16 100644 --- a/boards/arm/c5471/c5471evm/scripts/ld.script +++ b/boards/arm/c5471/c5471evm/scripts/ld.script @@ -78,15 +78,14 @@ SECTIONS _eronly = ABSOLUTE(.); /* See below */ . = ALIGN(4096); - . = ALIGN(4); - .data : { + .data : ALIGN(4) { _sdata = ABSOLUTE(.); *(.data) CONSTRUCTORS _edata = ABSOLUTE(.); } - .bss : { /* BSS */ + .bss : ALIGN(4) { /* BSS */ _sbss = ABSOLUTE(.); *(.bss) *(COMMON) diff --git a/boards/arm/efm32/efm32gg-stk3700/scripts/ld.script b/boards/arm/efm32/efm32gg-stk3700/scripts/ld.script index 8ac8322093..daefea7214 100644 --- a/boards/arm/efm32/efm32gg-stk3700/scripts/ld.script +++ b/boards/arm/efm32/efm32gg-stk3700/scripts/ld.script @@ -60,29 +60,25 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - . = ALIGN(4); - .init_section : { + .init_section : ALIGN(4) { _sinit = ABSOLUTE(.); *(.init_array .init_array.*) _einit = ABSOLUTE(.); } > flash - . = ALIGN(4); - .ARM.extab : { + .ARM.extab : ALIGN(4) { *(.ARM.extab*) } > flash - . = ALIGN(4); __exidx_start = ABSOLUTE(.); - .ARM.exidx : { + .ARM.exidx : ALIGN(4) { *(.ARM.exidx*) } > flash __exidx_end = ABSOLUTE(.); _eronly = ABSOLUTE(.); - . = ALIGN(4); - .data : { + .data : ALIGN(4) { _sdata = ABSOLUTE(.); *(.data .data.*) *(.gnu.linkonce.d.*) @@ -90,7 +86,7 @@ SECTIONS _edata = ABSOLUTE(.); } > sram AT > flash - .bss : { + .bss : ALIGN(4) { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) diff --git a/boards/arm/efm32/olimex-efm32g880f128-stk/scripts/ld.script b/boards/arm/efm32/olimex-efm32g880f128-stk/scripts/ld.script index a57d87b73b..3ffd582c23 100644 --- a/boards/arm/efm32/olimex-efm32g880f128-stk/scripts/ld.script +++ b/boards/arm/efm32/olimex-efm32g880f128-stk/scripts/ld.script @@ -60,29 +60,25 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - . = ALIGN(4); - .init_section : { + .init_section : ALIGN(4) { _sinit = ABSOLUTE(.); *(.init_array .init_array.*) _einit = ABSOLUTE(.); } > flash - . = ALIGN(4); - .ARM.extab : { + .ARM.extab : ALIGN(4) { *(.ARM.extab*) } > flash - . = ALIGN(4); __exidx_start = ABSOLUTE(.); - .ARM.exidx : { + .ARM.exidx : ALIGN(4) { *(.ARM.exidx*) } > flash __exidx_end = ABSOLUTE(.); _eronly = ABSOLUTE(.); - . = ALIGN(4); - .data : { + .data : ALIGN(4) { _sdata = ABSOLUTE(.); *(.data .data.*) *(.gnu.linkonce.d.*) @@ -90,7 +86,7 @@ SECTIONS _edata = ABSOLUTE(.); } > sram AT > flash - .bss : { + .bss : ALIGN(4) { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) diff --git a/boards/arm/kinetis/twr-k64f120m/scripts/ld.script b/boards/arm/kinetis/twr-k64f120m/scripts/ld.script index b5c5e6df0b..af46b62e80 100644 --- a/boards/arm/kinetis/twr-k64f120m/scripts/ld.script +++ b/boards/arm/kinetis/twr-k64f120m/scripts/ld.script @@ -85,27 +85,23 @@ SECTIONS _etext = ABSOLUTE(.); } > progflash - . = ALIGN(4); - .init_section : { + .init_section : ALIGN(4) { _sinit = ABSOLUTE(.); *(.init_array .init_array.*) _einit = ABSOLUTE(.); } > progflash - . = ALIGN(4); - .ARM.extab : { + .ARM.extab : ALIGN(4) { *(.ARM.extab*) } > progflash - . = ALIGN(4); __exidx_start = ABSOLUTE(.); - .ARM.exidx : { + .ARM.exidx : ALIGN(4) { *(.ARM.exidx*) } > progflash __exidx_end = ABSOLUTE(.); - . = ALIGN(4); - .data : { + .data : ALIGN(4) { _sdata = ABSOLUTE(.); *(.data .data.*) *(.gnu.linkonce.d.*) @@ -123,7 +119,7 @@ SECTIONS _framfuncs = LOADADDR(.ramfunc); - .bss : { + .bss : ALIGN(4) { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) diff --git a/boards/arm/lc823450/lc823450-xgevk/scripts/ld-ipl2.script b/boards/arm/lc823450/lc823450-xgevk/scripts/ld-ipl2.script index 79ff75008a..3090594e48 100644 --- a/boards/arm/lc823450/lc823450-xgevk/scripts/ld-ipl2.script +++ b/boards/arm/lc823450/lc823450-xgevk/scripts/ld-ipl2.script @@ -64,21 +64,18 @@ SECTIONS _etext = ABSOLUTE(.); } > progmem - . = ALIGN(4); - .init_section : { + .init_section : ALIGN(4) { _sinit = ABSOLUTE(.); KEEP(*(.init_array .init_array.*)) _einit = ABSOLUTE(.); } > progmem - . = ALIGN(4); - .ARM.extab : { + .ARM.extab : ALIGN(4) { *(.ARM.extab*) } > progmem - . = ALIGN(4); __exidx_start = ABSOLUTE(.); - .ARM.exidx : { + .ARM.exidx : ALIGN(4) { *(.ARM.exidx*) } > progmem __exidx_end = ABSOLUTE(.); @@ -86,22 +83,19 @@ SECTIONS _eronly = ABSOLUTE(LOADADDR(.data)); - . = ALIGN(4); - .data : { + .data : ALIGN(4) { _sdata = ABSOLUTE(.); *(.data .data.*) *(.gnu.linkonce.d.*) CONSTRUCTORS - . = ALIGN(4); _edata = ABSOLUTE(.); } > sram AT > progmem - .bss : { + .bss : ALIGN(4) { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) *(COMMON) - . = ALIGN(4); _ebss = ABSOLUTE(.); } > sram diff --git a/boards/arm/lc823450/lc823450-xgevk/scripts/ld-spif-boot.script b/boards/arm/lc823450/lc823450-xgevk/scripts/ld-spif-boot.script index 2297ce1b7b..8c2c8cd8f1 100644 --- a/boards/arm/lc823450/lc823450-xgevk/scripts/ld-spif-boot.script +++ b/boards/arm/lc823450/lc823450-xgevk/scripts/ld-spif-boot.script @@ -62,8 +62,7 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - . = ALIGN(4); - .init_section : + .init_section : ALIGN(4) { _sinit = ABSOLUTE(.); KEEP(*(.init_array .init_array.*)) @@ -75,9 +74,8 @@ SECTIONS *(.ARM.extab*) } > flash - . = ALIGN(4); __exidx_start = ABSOLUTE(.); - .ARM.exidx : + .ARM.exidx : ALIGN(4) { *(.ARM.exidx*) } > flash @@ -85,8 +83,7 @@ SECTIONS _eronly = ABSOLUTE(LOADADDR(.data)); - . = ALIGN(4); - .data : + .data : ALIGN(4) { _sdata = ABSOLUTE(.); *(.data .data.*) diff --git a/boards/arm/lc823450/lc823450-xgevk/scripts/ld.script b/boards/arm/lc823450/lc823450-xgevk/scripts/ld.script index d73710c304..a247721847 100644 --- a/boards/arm/lc823450/lc823450-xgevk/scripts/ld.script +++ b/boards/arm/lc823450/lc823450-xgevk/scripts/ld.script @@ -69,8 +69,7 @@ SECTIONS _etext = ABSOLUTE(.); } > progmem - . = ALIGN(4); - .init_section : + .init_section : ALIGN(4) { _sinit = ABSOLUTE(.); KEEP(*(.init_array .init_array.*)) @@ -82,9 +81,8 @@ SECTIONS *(.ARM.extab*) } > progmem - . = ALIGN(4); __exidx_start = ABSOLUTE(.); - .ARM.exidx : + .ARM.exidx : ALIGN(4) { *(.ARM.exidx*) } > progmem @@ -92,8 +90,7 @@ SECTIONS _eronly = ABSOLUTE(LOADADDR(.data)); - . = ALIGN(4); - .data : + .data : ALIGN(4) { _sdata = ABSOLUTE(.); *(.data .data.*) diff --git a/boards/arm/lpc17xx_40xx/lincoln60/scripts/ld.script b/boards/arm/lpc17xx_40xx/lincoln60/scripts/ld.script index da87ce5894..7ae0b6714e 100644 --- a/boards/arm/lpc17xx_40xx/lincoln60/scripts/ld.script +++ b/boards/arm/lpc17xx_40xx/lincoln60/scripts/ld.script @@ -67,29 +67,25 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - . = ALIGN(4); - .init_section : { + .init_section : ALIGN(4) { _sinit = ABSOLUTE(.); *(.init_array .init_array.*) _einit = ABSOLUTE(.); } > flash - . = ALIGN(4); - .ARM.extab : { + .ARM.extab : ALIGN(4) { *(.ARM.extab*) } > flash - . = ALIGN(4); __exidx_start = ABSOLUTE(.); - .ARM.exidx : { + .ARM.exidx : ALIGN(4) { *(.ARM.exidx*) } > flash __exidx_end = ABSOLUTE(.); _eronly = ABSOLUTE(.); - . = ALIGN(4); - .data : { + .data : ALIGN(4) { _sdata = ABSOLUTE(.); *(.data .data.*) *(.gnu.linkonce.d.*) @@ -97,7 +93,7 @@ SECTIONS _edata = ABSOLUTE(.); } > sram AT > flash - .bss : { + .bss : ALIGN(4) { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) diff --git a/boards/arm/lpc17xx_40xx/lpcxpresso-lpc1768/scripts/ld.script b/boards/arm/lpc17xx_40xx/lpcxpresso-lpc1768/scripts/ld.script index e5cec2e2d3..492ea05ce0 100644 --- a/boards/arm/lpc17xx_40xx/lpcxpresso-lpc1768/scripts/ld.script +++ b/boards/arm/lpc17xx_40xx/lpcxpresso-lpc1768/scripts/ld.script @@ -67,29 +67,25 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - . = ALIGN(4); - .init_section : { + .init_section : ALIGN(4) { _sinit = ABSOLUTE(.); *(.init_array .init_array.*) _einit = ABSOLUTE(.); } > flash - . = ALIGN(4); - .ARM.extab : { + .ARM.extab : ALIGN(4) { *(.ARM.extab*) } > flash - . = ALIGN(4); __exidx_start = ABSOLUTE(.); - .ARM.exidx : { + .ARM.exidx : ALIGN(4) { *(.ARM.exidx*) } > flash __exidx_end = ABSOLUTE(.); _eronly = ABSOLUTE(.); - . = ALIGN(4); - .data : { + .data : ALIGN(4) { _sdata = ABSOLUTE(.); *(.data .data.*) *(.gnu.linkonce.d.*) @@ -97,7 +93,7 @@ SECTIONS _edata = ABSOLUTE(.); } > sram AT > flash - .bss : { + .bss : ALIGN(4) { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) diff --git a/boards/arm/lpc17xx_40xx/mbed/scripts/ld.script b/boards/arm/lpc17xx_40xx/mbed/scripts/ld.script index 51cfeca1e0..cfb8e32bfe 100644 --- a/boards/arm/lpc17xx_40xx/mbed/scripts/ld.script +++ b/boards/arm/lpc17xx_40xx/mbed/scripts/ld.script @@ -67,29 +67,25 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - . = ALIGN(4); - .init_section : { + .init_section : ALIGN(4) { _sinit = ABSOLUTE(.); *(.init_array .init_array.*) _einit = ABSOLUTE(.); } > flash - . = ALIGN(4); - .ARM.extab : { + .ARM.extab : ALIGN(4) { *(.ARM.extab*) } > flash - . = ALIGN(4); __exidx_start = ABSOLUTE(.); - .ARM.exidx : { + .ARM.exidx : ALIGN(4) { *(.ARM.exidx*) } > flash __exidx_end = ABSOLUTE(.); _eronly = ABSOLUTE(.); - . = ALIGN(4); - .data : { + .data : ALIGN(4) { _sdata = ABSOLUTE(.); *(.data .data.*) *(.gnu.linkonce.d.*) @@ -97,7 +93,7 @@ SECTIONS _edata = ABSOLUTE(.); } > sram AT > flash - .bss : { /* BSS */ + .bss : ALIGN(4) { /* BSS */ _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) diff --git a/boards/arm/lpc17xx_40xx/mcb1700/scripts/ld.script b/boards/arm/lpc17xx_40xx/mcb1700/scripts/ld.script index 01d5b36926..89029d90de 100644 --- a/boards/arm/lpc17xx_40xx/mcb1700/scripts/ld.script +++ b/boards/arm/lpc17xx_40xx/mcb1700/scripts/ld.script @@ -67,29 +67,25 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - . = ALIGN(4); - .init_section : { + .init_section : ALIGN(4) { _sinit = ABSOLUTE(.); *(.init_array .init_array.*) _einit = ABSOLUTE(.); } > flash - . = ALIGN(4); - .ARM.extab : { + .ARM.extab : ALIGN(4) { *(.ARM.extab*) } > flash - . = ALIGN(4); __exidx_start = ABSOLUTE(.); - .ARM.exidx : { + .ARM.exidx : ALIGN(4) { *(.ARM.exidx*) } > flash __exidx_end = ABSOLUTE(.); _eronly = ABSOLUTE(.); - . = ALIGN(4); - .data : { + .data : ALIGN(4) { _sdata = ABSOLUTE(.); *(.data .data.*) *(.gnu.linkonce.d.*) @@ -97,7 +93,7 @@ SECTIONS _edata = ABSOLUTE(.); } > sram AT > flash - .bss : { /* BSS */ + .bss : ALIGN(4) { /* BSS */ _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) diff --git a/boards/arm/lpc17xx_40xx/olimex-lpc1766stk/scripts/ld.script b/boards/arm/lpc17xx_40xx/olimex-lpc1766stk/scripts/ld.script index 4229cf197a..aa1afc2fe8 100644 --- a/boards/arm/lpc17xx_40xx/olimex-lpc1766stk/scripts/ld.script +++ b/boards/arm/lpc17xx_40xx/olimex-lpc1766stk/scripts/ld.script @@ -67,29 +67,25 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - . = ALIGN(4); - .init_section : { + .init_section : ALIGN(4) { _sinit = ABSOLUTE(.); *(.init_array .init_array.*) _einit = ABSOLUTE(.); } > flash - . = ALIGN(4); - .ARM.extab : { + .ARM.extab : ALIGN(4) { *(.ARM.extab*) } > flash - . = ALIGN(4); __exidx_start = ABSOLUTE(.); - .ARM.exidx : { + .ARM.exidx : ALIGN(4) { *(.ARM.exidx*) } > flash __exidx_end = ABSOLUTE(.); _eronly = ABSOLUTE(.); - . = ALIGN(4); - .data : { + .data : ALIGN(4) { _sdata = ABSOLUTE(.); *(.data .data.*) *(.gnu.linkonce.d.*) @@ -97,7 +93,7 @@ SECTIONS _edata = ABSOLUTE(.); } > sram AT > flash - .bss : { + .bss : ALIGN(4) { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) diff --git a/boards/arm/lpc17xx_40xx/open1788/scripts/ld.script b/boards/arm/lpc17xx_40xx/open1788/scripts/ld.script index 0ee63f1a04..0bd8735eda 100644 --- a/boards/arm/lpc17xx_40xx/open1788/scripts/ld.script +++ b/boards/arm/lpc17xx_40xx/open1788/scripts/ld.script @@ -74,20 +74,18 @@ SECTIONS _etext = ABSOLUTE(.); } > FLASH - . = ALIGN(4); - .init_section : { + .init_section : ALIGN(4) { _sinit = ABSOLUTE(.); *(.init_array .init_array.*) _einit = ABSOLUTE(.); } > FLASH - .ARM.extab : { + .ARM.extab : ALIGN(4) { *(.ARM.extab*) } > FLASH - . = ALIGN(4); __exidx_start = ABSOLUTE(.); - .ARM.exidx : { + .ARM.exidx : ALIGN(4) { *(.ARM.exidx*) } > FLASH @@ -95,8 +93,7 @@ SECTIONS _eronly = ABSOLUTE(.); - . = ALIGN(4); - .data : { + .data : ALIGN(4) { _sdata = ABSOLUTE(.); *(.data .data.*) *(.gnu.linkonce.d.*) @@ -104,7 +101,7 @@ SECTIONS _edata = ABSOLUTE(.); } > SRAM AT > FLASH - .bss : { + .bss : ALIGN(4) { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) diff --git a/boards/arm/lpc17xx_40xx/zkit-arm-1769/scripts/ld.script b/boards/arm/lpc17xx_40xx/zkit-arm-1769/scripts/ld.script index 2986107fb6..2829b28d97 100644 --- a/boards/arm/lpc17xx_40xx/zkit-arm-1769/scripts/ld.script +++ b/boards/arm/lpc17xx_40xx/zkit-arm-1769/scripts/ld.script @@ -74,8 +74,7 @@ SECTIONS _eronly = ABSOLUTE(.); - . = ALIGN(4); - .data : { + .data : ALIGN(4) { _sdata = ABSOLUTE(.); *(.data .data.*) *(.gnu.linkonce.d.*) @@ -83,19 +82,17 @@ SECTIONS _edata = ABSOLUTE(.); } > sram AT > flash - . = ALIGN(4); - .ARM.extab : { + .ARM.extab : ALIGN(4) { *(.ARM.extab*) } >sram - . = ALIGN(4); __exidx_start = ABSOLUTE(.); - .ARM.exidx : { + .ARM.exidx : ALIGN(4) { *(.ARM.exidx*) } >sram __exidx_end = ABSOLUTE(.); - .bss : { + .bss : ALIGN(4) { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) diff --git a/boards/arm/lpc214x/mcu123-lpc214x/scripts/ld.script b/boards/arm/lpc214x/mcu123-lpc214x/scripts/ld.script index 5bb498bcb8..fe7b4c334d 100644 --- a/boards/arm/lpc214x/mcu123-lpc214x/scripts/ld.script +++ b/boards/arm/lpc214x/mcu123-lpc214x/scripts/ld.script @@ -70,29 +70,25 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - . = ALIGN(4); - .init_section : { + .init_section : ALIGN(4) { _sinit = ABSOLUTE(.); *(.init_array .init_array.*) _einit = ABSOLUTE(.); } > flash - . = ALIGN(4); - .ARM.extab : { + .ARM.extab : ALIGN(4) { *(.ARM.extab*) } > flash - . = ALIGN(4); __exidx_start = ABSOLUTE(.); - .ARM.exidx : { + .ARM.exidx : ALIGN(4) { *(.ARM.exidx*) } > flash __exidx_end = ABSOLUTE(.); _eronly = ABSOLUTE(.); - . = ALIGN(4); - .data : { + .data : ALIGN(4) { _sdata = ABSOLUTE(.); *(.data .data.*) *(.gnu.linkonce.d.*) @@ -100,7 +96,7 @@ SECTIONS _edata = ABSOLUTE(.); } > sram AT > flash - .bss : { + .bss : ALIGN(4) { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) diff --git a/boards/arm/lpc214x/zp214xpa/scripts/ld.script b/boards/arm/lpc214x/zp214xpa/scripts/ld.script index c2c055d0ed..f7e482efe4 100644 --- a/boards/arm/lpc214x/zp214xpa/scripts/ld.script +++ b/boards/arm/lpc214x/zp214xpa/scripts/ld.script @@ -70,29 +70,25 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - . = ALIGN(4); - .init_section : { + .init_section : ALIGN(4) { _sinit = ABSOLUTE(.); *(.init_array .init_array.*) _einit = ABSOLUTE(.); } > flash - . = ALIGN(4); - .ARM.extab : { + .ARM.extab : ALIGN(4) { *(.ARM.extab*) } > flash - . = ALIGN(4); __exidx_start = ABSOLUTE(.); - .ARM.exidx : { + .ARM.exidx : ALIGN(4) { *(.ARM.exidx*) } > flash __exidx_end = ABSOLUTE(.); _eronly = ABSOLUTE(.); - . = ALIGN(4); - .data : { + .data : ALIGN(4) { _sdata = ABSOLUTE(.); *(.data .data.*) *(.gnu.linkonce.d.*) @@ -100,7 +96,7 @@ SECTIONS _edata = ABSOLUTE(.); } > sram AT > flash - .bss : { + .bss : ALIGN(4) { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) diff --git a/boards/arm/lpc2378/olimex-lpc2378/scripts/ld.script b/boards/arm/lpc2378/olimex-lpc2378/scripts/ld.script index a8686181fe..e1eca6fd0f 100644 --- a/boards/arm/lpc2378/olimex-lpc2378/scripts/ld.script +++ b/boards/arm/lpc2378/olimex-lpc2378/scripts/ld.script @@ -66,28 +66,24 @@ SECTIONS _etext = ABSOLUTE(.); } > ROM - . = ALIGN(4); - .init_section : { + .init_section : ALIGN(4) { _sinit = ABSOLUTE(.); *(.init_array .init_array.*) _einit = ABSOLUTE(.); } > ROM - . = ALIGN(4); - .ARM.extab : { + .ARM.extab : ALIGN(4) { *(.ARM.extab*) } > ROM - . = ALIGN(4); __exidx_start = ABSOLUTE(.); - .ARM.exidx : { + .ARM.exidx : ALIGN(4) { *(.ARM.exidx*) } > ROM __exidx_end = ABSOLUTE(.); _eronly = ABSOLUTE(.); - . = ALIGN(4); .data : { _sdata = ABSOLUTE(.); diff --git a/boards/arm/lpc31xx/ea3131/scripts/ld.script b/boards/arm/lpc31xx/ea3131/scripts/ld.script index 8d082553d1..ef3acfe7b7 100644 --- a/boards/arm/lpc31xx/ea3131/scripts/ld.script +++ b/boards/arm/lpc31xx/ea3131/scripts/ld.script @@ -64,29 +64,25 @@ SECTIONS _etext = ABSOLUTE(.); } > isram - . = ALIGN(4); - .init_section : { + .init_section : ALIGN(4) { _sinit = ABSOLUTE(.); *(.init_array .init_array.*) _einit = ABSOLUTE(.); } > isram - . = ALIGN(4); - .ARM.extab : { + .ARM.extab : ALIGN(4) { *(.ARM.extab*) } > isram - . = ALIGN(4); __exidx_start = ABSOLUTE(.); - .ARM.exidx : { + .ARM.exidx : ALIGN(4) { *(.ARM.exidx*) } > isram __exidx_end = ABSOLUTE(.); _eronly = ABSOLUTE(.); - . = ALIGN(4); - .data : { + .data : ALIGN(4) { _sdata = ABSOLUTE(.); *(.data .data.*) *(.gnu.linkonce.d.*) @@ -94,7 +90,7 @@ SECTIONS _edata = ABSOLUTE(.); } > isram - .bss : { + .bss : ALIGN(4) { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) diff --git a/boards/arm/lpc31xx/olimex-lpc-h3131/scripts/ld.script b/boards/arm/lpc31xx/olimex-lpc-h3131/scripts/ld.script index 5df9330af5..d999e989d7 100644 --- a/boards/arm/lpc31xx/olimex-lpc-h3131/scripts/ld.script +++ b/boards/arm/lpc31xx/olimex-lpc-h3131/scripts/ld.script @@ -64,29 +64,25 @@ SECTIONS _etext = ABSOLUTE(.); } > isram - . = ALIGN(4); - .init_section : { + .init_section : ALIGN(4) { _sinit = ABSOLUTE(.); *(.init_array .init_array.*) _einit = ABSOLUTE(.); } > isram - . = ALIGN(4); - .ARM.extab : { + .ARM.extab : ALIGN(4) { *(.ARM.extab*) } > isram - . = ALIGN(4); __exidx_start = ABSOLUTE(.); - .ARM.exidx : { + .ARM.exidx : ALIGN(4) { *(.ARM.exidx*) } > isram __exidx_end = ABSOLUTE(.); _eronly = ABSOLUTE(.); - . = ALIGN(4); - .data : { + .data : ALIGN(4) { _sdata = ABSOLUTE(.); *(.data .data.*) *(.gnu.linkonce.d.*) @@ -94,7 +90,7 @@ SECTIONS _edata = ABSOLUTE(.); } > isram - .bss : { + .bss : ALIGN(4) { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) diff --git a/boards/arm/sam34/sam3u-ek/scripts/ld.script b/boards/arm/sam34/sam3u-ek/scripts/ld.script index ee8a65f025..c19b75796b 100644 --- a/boards/arm/sam34/sam3u-ek/scripts/ld.script +++ b/boards/arm/sam34/sam3u-ek/scripts/ld.script @@ -69,29 +69,25 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - . = ALIGN(4); - .init_section : { + .init_section : ALIGN(4) { _sinit = ABSOLUTE(.); *(.init_array .init_array.*) _einit = ABSOLUTE(.); } > flash - . = ALIGN(4); - .ARM.extab : { + .ARM.extab : ALIGN(4) { *(.ARM.extab*) } > flash - . = ALIGN(4); __exidx_start = ABSOLUTE(.); - .ARM.exidx : { + .ARM.exidx : ALIGN(4) { *(.ARM.exidx*) } > flash __exidx_end = ABSOLUTE(.); _eronly = ABSOLUTE(.); - . = ALIGN(4); - .data : { + .data : ALIGN(4) { _sdata = ABSOLUTE(.); *(.data .data.*) *(.gnu.linkonce.d.*) @@ -99,7 +95,7 @@ SECTIONS _edata = ABSOLUTE(.); } > sram1 AT > flash - .bss : { + .bss : ALIGN(4) { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) diff --git a/boards/arm/stm32/hymini-stm32v/scripts/ld.script b/boards/arm/stm32/hymini-stm32v/scripts/ld.script index 888f91d96d..03ae107d11 100644 --- a/boards/arm/stm32/hymini-stm32v/scripts/ld.script +++ b/boards/arm/stm32/hymini-stm32v/scripts/ld.script @@ -68,21 +68,18 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - . = ALIGN(4); - .init_section : { + .init_section : ALIGN(4) { _sinit = ABSOLUTE(.); *(.init_array .init_array.*) _einit = ABSOLUTE(.); } > flash - . = ALIGN(4); - .ARM.extab : { + .ARM.extab : ALIGN(4) { *(.ARM.extab*) } > flash - . = ALIGN(4); __exidx_start = ABSOLUTE(.); - .ARM.exidx : { + .ARM.exidx : ALIGN(4) { *(.ARM.exidx*) } > flash __exidx_end = ABSOLUTE(.); @@ -91,8 +88,7 @@ SECTIONS /* The STM32F103VCT6 has 48Kb of SRAM beginning at the following address */ - . = ALIGN(4); - .data : { + .data : ALIGN(4) { _sdata = ABSOLUTE(.); *(.data .data.*) *(.gnu.linkonce.d.*) @@ -100,7 +96,7 @@ SECTIONS _edata = ABSOLUTE(.); } > sram AT > flash - .bss : { + .bss : ALIGN(4) { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) diff --git a/boards/arm/stm32/maple/scripts/ld.script b/boards/arm/stm32/maple/scripts/ld.script index c6f16716f6..fa941c1afe 100644 --- a/boards/arm/stm32/maple/scripts/ld.script +++ b/boards/arm/stm32/maple/scripts/ld.script @@ -68,21 +68,18 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - . = ALIGN(4); - .init_section : { + .init_section : ALIGN(4) { _sinit = ABSOLUTE(.); *(.init_array .init_array.*) _einit = ABSOLUTE(.); } > flash - . = ALIGN(4); - .ARM.extab : { + .ARM.extab : ALIGN(4) { *(.ARM.extab*) } > flash - . = ALIGN(4); __exidx_start = ABSOLUTE(.); - .ARM.exidx : { + .ARM.exidx : ALIGN(4) { *(.ARM.exidx*) } > flash __exidx_end = ABSOLUTE(.); @@ -91,8 +88,7 @@ SECTIONS /* The STM32F103VCT6 has 48Kb of SRAM beginning at the following address */ - . = ALIGN(4); - .data : { + .data : ALIGN(4) { _sdata = ABSOLUTE(.); *(.data .data.*) *(.gnu.linkonce.d.*) @@ -100,7 +96,7 @@ SECTIONS _edata = ABSOLUTE(.); } > sram AT > flash - .bss : { + .bss : ALIGN(4) { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) diff --git a/boards/arm/stm32/maple/scripts/ld.script.dfu b/boards/arm/stm32/maple/scripts/ld.script.dfu index 4627311b10..9925819533 100644 --- a/boards/arm/stm32/maple/scripts/ld.script.dfu +++ b/boards/arm/stm32/maple/scripts/ld.script.dfu @@ -68,21 +68,18 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - . = ALIGN(4); - .init_section : { + .init_section : ALIGN(4) { _sinit = ABSOLUTE(.); *(.init_array .init_array.*) _einit = ABSOLUTE(.); } > flash - . = ALIGN(4); - .ARM.extab : { + .ARM.extab : ALIGN(4) { *(.ARM.extab*) } > flash - . = ALIGN(4); __exidx_start = ABSOLUTE(.); - .ARM.exidx : { + .ARM.exidx : ALIGN(4) { *(.ARM.exidx*) } > flash __exidx_end = ABSOLUTE(.); @@ -91,8 +88,7 @@ SECTIONS /* The STM32F103VCT6 has 48Kb of SRAM beginning at the following address */ - . = ALIGN(4); - .data : { + .data : ALIGN(4) { _sdata = ABSOLUTE(.); *(.data .data.*) *(.gnu.linkonce.d.*) @@ -100,7 +96,7 @@ SECTIONS _edata = ABSOLUTE(.); } > sram AT > flash - .bss : { + .bss : ALIGN(4) { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) diff --git a/boards/arm/stm32/mikroe-stm32f4/scripts/ld.script b/boards/arm/stm32/mikroe-stm32f4/scripts/ld.script index 3a520206b4..5f4e06cdd2 100644 --- a/boards/arm/stm32/mikroe-stm32f4/scripts/ld.script +++ b/boards/arm/stm32/mikroe-stm32f4/scripts/ld.script @@ -73,29 +73,25 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - . = ALIGN(4); - .init_section : { + .init_section : ALIGN(4) { _sinit = ABSOLUTE(.); *(.init_array .init_array.*) _einit = ABSOLUTE(.); } > flash - . = ALIGN(4); - .ARM.extab : { + .ARM.extab : ALIGN(4) { *(.ARM.extab*) } > flash - . = ALIGN(4); __exidx_start = ABSOLUTE(.); - .ARM.exidx : { + .ARM.exidx : ALIGN(4) { *(.ARM.exidx*) } > flash __exidx_end = ABSOLUTE(.); _eronly = ABSOLUTE(.); - . = ALIGN(4); - .data : { + .data : ALIGN(4) { _sdata = ABSOLUTE(.); *(.data .data.*) *(.gnu.linkonce.d.*) @@ -103,7 +99,7 @@ SECTIONS _edata = ABSOLUTE(.); } > sram AT > flash - .bss : { + .bss : ALIGN(4) { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) diff --git a/boards/arm/stm32/nucleo-f103rb/scripts/ld.script b/boards/arm/stm32/nucleo-f103rb/scripts/ld.script index 61dc901bb5..ba946de849 100644 --- a/boards/arm/stm32/nucleo-f103rb/scripts/ld.script +++ b/boards/arm/stm32/nucleo-f103rb/scripts/ld.script @@ -68,21 +68,18 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - . = ALIGN(4); - .init_section : { + .init_section : ALIGN(4) { _sinit = ABSOLUTE(.); *(.init_array .init_array.*) _einit = ABSOLUTE(.); } > flash - . = ALIGN(4); - .ARM.extab : { + .ARM.extab : ALIGN(4) { *(.ARM.extab*) } > flash - . = ALIGN(4); __exidx_start = ABSOLUTE(.); - .ARM.exidx : { + .ARM.exidx : ALIGN(4) { *(.ARM.exidx*) } > flash __exidx_end = ABSOLUTE(.); @@ -95,8 +92,7 @@ SECTIONS *(.ram_vectors) } > sram - . = ALIGN(4); - .data : { + .data : ALIGN(4) { _sdata = ABSOLUTE(.); *(.data .data.*) *(.gnu.linkonce.d.*) @@ -104,7 +100,7 @@ SECTIONS _edata = ABSOLUTE(.); } > sram AT > flash - .bss : { + .bss : ALIGN(4) { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) diff --git a/boards/arm/stm32/nucleo-f207zg/scripts/ld.script b/boards/arm/stm32/nucleo-f207zg/scripts/ld.script index d6b942a41d..4f31128ab5 100644 --- a/boards/arm/stm32/nucleo-f207zg/scripts/ld.script +++ b/boards/arm/stm32/nucleo-f207zg/scripts/ld.script @@ -71,29 +71,25 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - . = ALIGN(4); - .init_section : { + .init_section : ALIGN(4) { _sinit = ABSOLUTE(.); *(.init_array .init_array.*) _einit = ABSOLUTE(.); } > flash - . = ALIGN(4); - .ARM.extab : { + .ARM.extab : ALIGN(4) { *(.ARM.extab*) } > flash - . = ALIGN(4); __exidx_start = ABSOLUTE(.); - .ARM.exidx : { + .ARM.exidx : ALIGN(4) { *(.ARM.exidx*) } > flash __exidx_end = ABSOLUTE(.); _eronly = ABSOLUTE(.); - . = ALIGN(4); - .data : { + .data : ALIGN(4) { _sdata = ABSOLUTE(.); *(.data .data.*) *(.gnu.linkonce.d.*) @@ -101,7 +97,7 @@ SECTIONS _edata = ABSOLUTE(.); } > sram AT > flash - .bss : { + .bss : ALIGN(4) { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) diff --git a/boards/arm/stm32/nucleo-f302r8/scripts/ld.script b/boards/arm/stm32/nucleo-f302r8/scripts/ld.script index 2259bbed4d..f3a32e9c9b 100644 --- a/boards/arm/stm32/nucleo-f302r8/scripts/ld.script +++ b/boards/arm/stm32/nucleo-f302r8/scripts/ld.script @@ -68,21 +68,18 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - . = ALIGN(4); - .init_section : { + .init_section : ALIGN(4) { _sinit = ABSOLUTE(.); *(.init_array .init_array.*) _einit = ABSOLUTE(.); } > flash - . = ALIGN(4); - .ARM.extab : { + .ARM.extab : ALIGN(4) { *(.ARM.extab*) } > flash - . = ALIGN(4); __exidx_start = ABSOLUTE(.); - .ARM.exidx : { + .ARM.exidx : ALIGN(4) { *(.ARM.exidx*) } > flash __exidx_end = ABSOLUTE(.); @@ -95,8 +92,7 @@ SECTIONS *(.ram_vectors) } > sram - . = ALIGN(4); - .data : { + .data : ALIGN(4) { _sdata = ABSOLUTE(.); *(.data .data.*) *(.gnu.linkonce.d.*) @@ -104,7 +100,7 @@ SECTIONS _edata = ABSOLUTE(.); } > sram AT > flash - .bss : { + .bss : ALIGN(4) { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) diff --git a/boards/arm/stm32/nucleo-f303re/scripts/ld.script b/boards/arm/stm32/nucleo-f303re/scripts/ld.script index 8952f69a6a..7316795ba5 100644 --- a/boards/arm/stm32/nucleo-f303re/scripts/ld.script +++ b/boards/arm/stm32/nucleo-f303re/scripts/ld.script @@ -70,29 +70,25 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - . = ALIGN(4); - .init_section : { + .init_section : ALIGN(4) { _sinit = ABSOLUTE(.); *(.init_array .init_array.*) _einit = ABSOLUTE(.); } > flash - . = ALIGN(4); - .ARM.extab : { + .ARM.extab : ALIGN(4) { *(.ARM.extab*) } > flash - . = ALIGN(4); __exidx_start = ABSOLUTE(.); - .ARM.exidx : { + .ARM.exidx : ALIGN(4) { *(.ARM.exidx*) } > flash __exidx_end = ABSOLUTE(.); _eronly = ABSOLUTE(.); - . = ALIGN(4); - .data : { + .data : ALIGN(4) { _sdata = ABSOLUTE(.); *(.data .data.*) *(.gnu.linkonce.d.*) @@ -100,7 +96,7 @@ SECTIONS _edata = ABSOLUTE(.); } > sram AT > flash - .bss : { + .bss : ALIGN(4) { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) diff --git a/boards/arm/stm32/nucleo-f303ze/scripts/ld.script b/boards/arm/stm32/nucleo-f303ze/scripts/ld.script index ca6e8af90d..a6f7704914 100644 --- a/boards/arm/stm32/nucleo-f303ze/scripts/ld.script +++ b/boards/arm/stm32/nucleo-f303ze/scripts/ld.script @@ -68,29 +68,25 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - . = ALIGN(4); - .init_section : { + .init_section : ALIGN(4) { _sinit = ABSOLUTE(.); *(.init_array .init_array.*) _einit = ABSOLUTE(.); } > flash - . = ALIGN(4); - .ARM.extab : { + .ARM.extab : ALIGN(4) { *(.ARM.extab*) } > flash - . = ALIGN(4); __exidx_start = ABSOLUTE(.); - .ARM.exidx : { + .ARM.exidx : ALIGN(4) { *(.ARM.exidx*) } > flash __exidx_end = ABSOLUTE(.); _eronly = ABSOLUTE(.); - . = ALIGN(4); - .data : { + .data : ALIGN(4) { _sdata = ABSOLUTE(.); *(.data .data.*) *(.gnu.linkonce.d.*) @@ -98,7 +94,7 @@ SECTIONS _edata = ABSOLUTE(.); } > sram AT > flash - .bss : { + .bss : ALIGN(4) { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) diff --git a/boards/arm/stm32/nucleo-f334r8/scripts/ld.script b/boards/arm/stm32/nucleo-f334r8/scripts/ld.script index 4d698d17ff..d72a250e71 100644 --- a/boards/arm/stm32/nucleo-f334r8/scripts/ld.script +++ b/boards/arm/stm32/nucleo-f334r8/scripts/ld.script @@ -68,21 +68,18 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - . = ALIGN(4); - .init_section : { + .init_section : ALIGN(4) { _sinit = ABSOLUTE(.); *(.init_array .init_array.*) _einit = ABSOLUTE(.); } > flash - . = ALIGN(4); - .ARM.extab : { + .ARM.extab : ALIGN(4) { *(.ARM.extab*) } > flash - . = ALIGN(4); __exidx_start = ABSOLUTE(.); - .ARM.exidx : { + .ARM.exidx : ALIGN(4) { *(.ARM.exidx*) } > flash __exidx_end = ABSOLUTE(.); @@ -95,8 +92,7 @@ SECTIONS *(.ram_vectors) } > sram - . = ALIGN(4); - .data : { + .data : ALIGN(4) { _sdata = ABSOLUTE(.); *(.data .data.*) *(.gnu.linkonce.d.*) @@ -104,7 +100,7 @@ SECTIONS _edata = ABSOLUTE(.); } > sram AT > flash - .bss : { + .bss : ALIGN(4) { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) diff --git a/boards/arm/stm32/nucleo-l152re/scripts/ld.script b/boards/arm/stm32/nucleo-l152re/scripts/ld.script index 6cc162920d..a2ea8530cb 100644 --- a/boards/arm/stm32/nucleo-l152re/scripts/ld.script +++ b/boards/arm/stm32/nucleo-l152re/scripts/ld.script @@ -68,21 +68,18 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - . = ALIGN(4); - .init_section : { + .init_section : ALIGN(4) { _sinit = ABSOLUTE(.); *(.init_array .init_array.*) _einit = ABSOLUTE(.); } > flash - . = ALIGN(4); - .ARM.extab : { + .ARM.extab : ALIGN(4) { *(.ARM.extab*) } > flash - . = ALIGN(4); __exidx_start = ABSOLUTE(.); - .ARM.exidx : { + .ARM.exidx : ALIGN(4) { *(.ARM.exidx*) } > flash __exidx_end = ABSOLUTE(.); @@ -95,8 +92,7 @@ SECTIONS *(.ram_vectors) } > sram - . = ALIGN(4); - .data : { + .data : ALIGN(4) { _sdata = ABSOLUTE(.); *(.data .data.*) *(.gnu.linkonce.d.*) @@ -104,7 +100,7 @@ SECTIONS _edata = ABSOLUTE(.); } > sram AT > flash - .bss : { + .bss : ALIGN(4) { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) diff --git a/boards/arm/stm32/olimex-stm32-e407/scripts/ld.script b/boards/arm/stm32/olimex-stm32-e407/scripts/ld.script index d9b3765332..dc7532a1ca 100644 --- a/boards/arm/stm32/olimex-stm32-e407/scripts/ld.script +++ b/boards/arm/stm32/olimex-stm32-e407/scripts/ld.script @@ -73,29 +73,25 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - . = ALIGN(4); - .init_section : { + .init_section : ALIGN(4) { _sinit = ABSOLUTE(.); *(.init_array .init_array.*) _einit = ABSOLUTE(.); } > flash - . = ALIGN(4); - .ARM.extab : { + .ARM.extab : ALIGN(4) { *(.ARM.extab*) } > flash - . = ALIGN(4); __exidx_start = ABSOLUTE(.); - .ARM.exidx : { + .ARM.exidx : ALIGN(4) { *(.ARM.exidx*) } > flash __exidx_end = ABSOLUTE(.); _eronly = ABSOLUTE(.); - . = ALIGN(4); - .data : { + .data : ALIGN(4) { _sdata = ABSOLUTE(.); *(.data .data.*) *(.gnu.linkonce.d.*) @@ -103,7 +99,7 @@ SECTIONS _edata = ABSOLUTE(.); } > sram AT > flash - .bss : { + .bss : ALIGN(4) { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) diff --git a/boards/arm/stm32/olimex-stm32-h405/scripts/ld.script b/boards/arm/stm32/olimex-stm32-h405/scripts/ld.script index b7296d36a6..4c61e46d98 100644 --- a/boards/arm/stm32/olimex-stm32-h405/scripts/ld.script +++ b/boards/arm/stm32/olimex-stm32-h405/scripts/ld.script @@ -73,29 +73,25 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - . = ALIGN(4); - .init_section : { + .init_section : ALIGN(4) { _sinit = ABSOLUTE(.); *(.init_array .init_array.*) _einit = ABSOLUTE(.); } > flash - . = ALIGN(4); - .ARM.extab : { + .ARM.extab : ALIGN(4) { *(.ARM.extab*) } > flash - . = ALIGN(4); __exidx_start = ABSOLUTE(.); - .ARM.exidx : { + .ARM.exidx : ALIGN(4) { *(.ARM.exidx*) } > flash __exidx_end = ABSOLUTE(.); _eronly = ABSOLUTE(.); - . = ALIGN(4); - .data : { + .data : ALIGN(4) { _sdata = ABSOLUTE(.); *(.data .data.*) *(.gnu.linkonce.d.*) @@ -103,7 +99,7 @@ SECTIONS _edata = ABSOLUTE(.); } > sram AT > flash - .bss : { + .bss : ALIGN(4) { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) diff --git a/boards/arm/stm32/olimex-stm32-h407/scripts/ld.script b/boards/arm/stm32/olimex-stm32-h407/scripts/ld.script index 52b3bf0efd..a7ac394675 100644 --- a/boards/arm/stm32/olimex-stm32-h407/scripts/ld.script +++ b/boards/arm/stm32/olimex-stm32-h407/scripts/ld.script @@ -72,29 +72,25 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - . = ALIGN(4); - .init_section : { + .init_section : ALIGN(4) { _sinit = ABSOLUTE(.); *(.init_array .init_array.*) _einit = ABSOLUTE(.); } > flash - . = ALIGN(4); - .ARM.extab : { + .ARM.extab : ALIGN(4) { *(.ARM.extab*) } > flash - . = ALIGN(4); __exidx_start = ABSOLUTE(.); - .ARM.exidx : { + .ARM.exidx : ALIGN(4) { *(.ARM.exidx*) } > flash __exidx_end = ABSOLUTE(.); _eronly = ABSOLUTE(.); - . = ALIGN(4); - .data : { + .data : ALIGN(4) { _sdata = ABSOLUTE(.); *(.data .data.*) *(.gnu.linkonce.d.*) @@ -102,7 +98,7 @@ SECTIONS _edata = ABSOLUTE(.); } > sram AT > flash - .bss : { + .bss : ALIGN(4) { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) diff --git a/boards/arm/stm32/olimex-stm32-p107/scripts/ld.script b/boards/arm/stm32/olimex-stm32-p107/scripts/ld.script index e546dbe1a9..d194a99435 100644 --- a/boards/arm/stm32/olimex-stm32-p107/scripts/ld.script +++ b/boards/arm/stm32/olimex-stm32-p107/scripts/ld.script @@ -61,21 +61,18 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - . = ALIGN(4); - .init_section : { + .init_section : ALIGN(4) { _sinit = ABSOLUTE(.); *(.init_array .init_array.*) _einit = ABSOLUTE(.); } > flash - . = ALIGN(4); - .ARM.extab : { + .ARM.extab : ALIGN(4) { *(.ARM.extab*) } > flash - . = ALIGN(4); __exidx_start = ABSOLUTE(.); - .ARM.exidx : { + .ARM.exidx : ALIGN(4) { *(.ARM.exidx*) } > flash __exidx_end = ABSOLUTE(.); @@ -84,8 +81,7 @@ SECTIONS /* The STM32F107VC has 64Kb of SRAM beginning at the following address */ - . = ALIGN(4); - .data : { + .data : ALIGN(4) { _sdata = ABSOLUTE(.); *(.data .data.*) *(.gnu.linkonce.d.*) @@ -93,7 +89,7 @@ SECTIONS _edata = ABSOLUTE(.); } > sram AT > flash - .bss : { + .bss : ALIGN(4) { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) diff --git a/boards/arm/stm32/olimex-stm32-p107/scripts/ld.script.dfu b/boards/arm/stm32/olimex-stm32-p107/scripts/ld.script.dfu index 4bba90fb6c..354e6ecb46 100644 --- a/boards/arm/stm32/olimex-stm32-p107/scripts/ld.script.dfu +++ b/boards/arm/stm32/olimex-stm32-p107/scripts/ld.script.dfu @@ -61,21 +61,18 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - . = ALIGN(4); - .init_section : { + .init_section : ALIGN(4) { _sinit = ABSOLUTE(.); *(.init_array .init_array.*) _einit = ABSOLUTE(.); } > flash - . = ALIGN(4); - .ARM.extab : { + .ARM.extab : ALIGN(4) { *(.ARM.extab*) } > flash - . = ALIGN(4); __exidx_start = ABSOLUTE(.); - .ARM.exidx : { + .ARM.exidx : ALIGN(4) { *(.ARM.exidx*) } > flash __exidx_end = ABSOLUTE(.); @@ -84,8 +81,7 @@ SECTIONS /* The STM32F103Z has 64Kb of SRAM beginning at the following address */ - . = ALIGN(4); - .data : { + .data : ALIGN(4) { _sdata = ABSOLUTE(.); *(.data .data.*) *(.gnu.linkonce.d.*) @@ -93,7 +89,7 @@ SECTIONS _edata = ABSOLUTE(.); } > sram AT > flash - .bss : { + .bss : ALIGN(4) { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) diff --git a/boards/arm/stm32/olimex-stm32-p207/scripts/ld.script b/boards/arm/stm32/olimex-stm32-p207/scripts/ld.script index e2ebd0d0ab..a7954ca907 100644 --- a/boards/arm/stm32/olimex-stm32-p207/scripts/ld.script +++ b/boards/arm/stm32/olimex-stm32-p207/scripts/ld.script @@ -72,29 +72,25 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - . = ALIGN(4); - .init_section : { + .init_section : ALIGN(4) { _sinit = ABSOLUTE(.); *(.init_array .init_array.*) _einit = ABSOLUTE(.); } > flash - . = ALIGN(4); - .ARM.extab : { + .ARM.extab : ALIGN(4) { *(.ARM.extab*) } > flash - . = ALIGN(4); __exidx_start = ABSOLUTE(.); - .ARM.exidx : { + .ARM.exidx : ALIGN(4) { *(.ARM.exidx*) } > flash __exidx_end = ABSOLUTE(.); _eronly = ABSOLUTE(.); - . = ALIGN(4); - .data : { + .data : ALIGN(4) { _sdata = ABSOLUTE(.); *(.data .data.*) *(.gnu.linkonce.d.*) @@ -102,7 +98,7 @@ SECTIONS _edata = ABSOLUTE(.); } > sram AT > flash - .bss : { + .bss : ALIGN(4) { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) diff --git a/boards/arm/stm32/olimexino-stm32/scripts/ld.script b/boards/arm/stm32/olimexino-stm32/scripts/ld.script index 3fd1cdc2b8..e964d608a4 100644 --- a/boards/arm/stm32/olimexino-stm32/scripts/ld.script +++ b/boards/arm/stm32/olimexino-stm32/scripts/ld.script @@ -67,29 +67,25 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - . = ALIGN(4); - .init_section : { + .init_section : ALIGN(4) { _sinit = ABSOLUTE(.); *(.init_array .init_array.*) _einit = ABSOLUTE(.); } > flash - . = ALIGN(4); - .ARM.extab : { + .ARM.extab : ALIGN(4) { *(.ARM.extab*) } > flash - . = ALIGN(4); __exidx_start = ABSOLUTE(.); - .ARM.exidx : { + .ARM.exidx : ALIGN(4) { *(.ARM.exidx*) } > flash __exidx_end = ABSOLUTE(.); _eronly = ABSOLUTE(.); - . = ALIGN(4); - .data : { + .data : ALIGN(4) { _sdata = ABSOLUTE(.); *(.data .data.*) *(.gnu.linkonce.d.*) @@ -97,7 +93,7 @@ SECTIONS _edata = ABSOLUTE(.); } > sram AT > flash - .bss : { + .bss : ALIGN(4) { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) diff --git a/boards/arm/stm32/olimexino-stm32/scripts/ld.script.dfu b/boards/arm/stm32/olimexino-stm32/scripts/ld.script.dfu index cf2fed37e4..1ce3d8d6d5 100644 --- a/boards/arm/stm32/olimexino-stm32/scripts/ld.script.dfu +++ b/boards/arm/stm32/olimexino-stm32/scripts/ld.script.dfu @@ -61,21 +61,18 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - . = ALIGN(4); - .init_section : { + .init_section : ALIGN(4) { _sinit = ABSOLUTE(.); *(.init_array .init_array.*) _einit = ABSOLUTE(.); } > flash - . = ALIGN(4); - .ARM.extab : { + .ARM.extab : ALIGN(4) { *(.ARM.extab*) } > flash - . = ALIGN(4); __exidx_start = ABSOLUTE(.); - .ARM.exidx : { + .ARM.exidx : ALIGN(4) { *(.ARM.exidx*) } > flash __exidx_end = ABSOLUTE(.); @@ -84,8 +81,7 @@ SECTIONS /* The STM32F103Z has 64Kb of SRAM beginning at the following address */ - . = ALIGN(4); - .data : { + .data : ALIGN(4) { _sdata = ABSOLUTE(.); *(.data .data.*) *(.gnu.linkonce.d.*) @@ -93,7 +89,7 @@ SECTIONS _edata = ABSOLUTE(.); } > sram AT > flash - .bss : { + .bss : ALIGN(4) { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) diff --git a/boards/arm/stm32/omnibusf4/scripts/ld.script b/boards/arm/stm32/omnibusf4/scripts/ld.script index a3937e1136..27abbbf1dd 100644 --- a/boards/arm/stm32/omnibusf4/scripts/ld.script +++ b/boards/arm/stm32/omnibusf4/scripts/ld.script @@ -73,29 +73,25 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - . = ALIGN(4); - .init_section : { + .init_section : ALIGN(4) { _sinit = ABSOLUTE(.); *(.init_array .init_array.*) _einit = ABSOLUTE(.); } > flash - . = ALIGN(4); - .ARM.extab : { + .ARM.extab : ALIGN(4) { *(.ARM.extab*) } > flash - . = ALIGN(4); __exidx_start = ABSOLUTE(.); - .ARM.exidx : { + .ARM.exidx : ALIGN(4) { *(.ARM.exidx*) } > flash __exidx_end = ABSOLUTE(.); _eronly = ABSOLUTE(.); - . = ALIGN(4); - .data : { + .data : ALIGN(4) { _sdata = ABSOLUTE(.); *(.data .data.*) *(.gnu.linkonce.d.*) @@ -103,7 +99,7 @@ SECTIONS _edata = ABSOLUTE(.); } > sram AT > flash - .bss : { + .bss : ALIGN(4) { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) diff --git a/boards/arm/stm32/shenzhou/scripts/ld.script b/boards/arm/stm32/shenzhou/scripts/ld.script index dfd6a3065e..88bcb4300a 100644 --- a/boards/arm/stm32/shenzhou/scripts/ld.script +++ b/boards/arm/stm32/shenzhou/scripts/ld.script @@ -64,21 +64,18 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - . = ALIGN(4); - .init_section : { + .init_section : ALIGN(4) { _sinit = ABSOLUTE(.); *(.init_array .init_array.*) _einit = ABSOLUTE(.); } > flash - . = ALIGN(4); - .ARM.extab : { + .ARM.extab : ALIGN(4) { *(.ARM.extab*) } > flash - . = ALIGN(4); __exidx_start = ABSOLUTE(.); - .ARM.exidx : { + .ARM.exidx : ALIGN(4) { *(.ARM.exidx*) } > flash __exidx_end = ABSOLUTE(.); @@ -87,8 +84,7 @@ SECTIONS /* The STM32F107VC has 64Kb of SRAM beginning at the following address */ - . = ALIGN(4); - .data : { + .data : ALIGN(4) { _sdata = ABSOLUTE(.); *(.data .data.*) *(.gnu.linkonce.d.*) @@ -96,7 +92,7 @@ SECTIONS _edata = ABSOLUTE(.); } > sram AT > flash - .bss : { + .bss : ALIGN(4) { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) diff --git a/boards/arm/stm32/shenzhou/scripts/ld.script.dfu b/boards/arm/stm32/shenzhou/scripts/ld.script.dfu index 0b8da1eca2..ba2ba1e78f 100644 --- a/boards/arm/stm32/shenzhou/scripts/ld.script.dfu +++ b/boards/arm/stm32/shenzhou/scripts/ld.script.dfu @@ -66,21 +66,18 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - . = ALIGN(4); - .init_section : { + .init_section : ALIGN(4) { _sinit = ABSOLUTE(.); *(.init_array .init_array.*) _einit = ABSOLUTE(.); } > flash - . = ALIGN(4); - .ARM.extab : { + .ARM.extab : ALIGN(4) { *(.ARM.extab*) } > flash - . = ALIGN(4); __exidx_start = ABSOLUTE(.); - .ARM.exidx : { + .ARM.exidx : ALIGN(4) { *(.ARM.exidx*) } > flash __exidx_end = ABSOLUTE(.); @@ -89,8 +86,7 @@ SECTIONS /* The STM32F107VC has 64Kb of SRAM beginning at the following address */ - . = ALIGN(4); - .data : { + .data : ALIGN(4) { _sdata = ABSOLUTE(.); *(.data .data.*) *(.gnu.linkonce.d.*) @@ -98,7 +94,7 @@ SECTIONS _edata = ABSOLUTE(.); } > sram AT > flash - .bss : { + .bss : ALIGN(4) { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) diff --git a/boards/arm/stm32/stm3210e-eval/scripts/ld.script b/boards/arm/stm32/stm3210e-eval/scripts/ld.script index 22af2f9d81..34a1dd40d8 100644 --- a/boards/arm/stm32/stm3210e-eval/scripts/ld.script +++ b/boards/arm/stm32/stm3210e-eval/scripts/ld.script @@ -67,21 +67,18 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - . = ALIGN(4); - .init_section : { + .init_section : ALIGN(4) { _sinit = ABSOLUTE(.); *(.init_array .init_array.*) _einit = ABSOLUTE(.); } > flash - . = ALIGN(4); - .ARM.extab : { + .ARM.extab : ALIGN(4) { *(.ARM.extab*) } > flash - . = ALIGN(4); __exidx_start = ABSOLUTE(.); - .ARM.exidx : { + .ARM.exidx : ALIGN(4) { *(.ARM.exidx*) } > flash __exidx_end = ABSOLUTE(.); @@ -90,8 +87,7 @@ SECTIONS /* The STM32F103Z has 64Kb of SRAM beginning at the following address */ - . = ALIGN(4); - .data : { + .data : ALIGN(4) { _sdata = ABSOLUTE(.); *(.data .data.*) *(.gnu.linkonce.d.*) @@ -99,7 +95,7 @@ SECTIONS _edata = ABSOLUTE(.); } > sram AT > flash - .bss : { + .bss : ALIGN(4) { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) diff --git a/boards/arm/stm32/stm3210e-eval/scripts/ld.script.dfu b/boards/arm/stm32/stm3210e-eval/scripts/ld.script.dfu index 3438e1d4c2..b5c4569072 100644 --- a/boards/arm/stm32/stm3210e-eval/scripts/ld.script.dfu +++ b/boards/arm/stm32/stm3210e-eval/scripts/ld.script.dfu @@ -66,21 +66,18 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - . = ALIGN(4); - .init_section : { + .init_section : ALIGN(4) { _sinit = ABSOLUTE(.); *(.init_array .init_array.*) _einit = ABSOLUTE(.); } > flash - . = ALIGN(4); - .ARM.extab : { + .ARM.extab : ALIGN(4) { *(.ARM.extab*) } > flash - . = ALIGN(4); __exidx_start = ABSOLUTE(.); - .ARM.exidx : { + .ARM.exidx : ALIGN(4) { *(.ARM.exidx*) } > flash __exidx_end = ABSOLUTE(.); @@ -89,8 +86,7 @@ SECTIONS /* The STM32F103Z has 64Kb of SRAM beginning at the following address */ - . = ALIGN(4); - .data : { + .data : ALIGN(4) { _sdata = ABSOLUTE(.); *(.data .data.*) *(.gnu.linkonce.d.*) @@ -98,7 +94,7 @@ SECTIONS _edata = ABSOLUTE(.); } > sram AT > flash - .bss : { + .bss : ALIGN(4) { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) diff --git a/boards/arm/stm32/stm3220g-eval/scripts/ld.script b/boards/arm/stm32/stm3220g-eval/scripts/ld.script index 363828c872..d8dccb66e3 100644 --- a/boards/arm/stm32/stm3220g-eval/scripts/ld.script +++ b/boards/arm/stm32/stm3220g-eval/scripts/ld.script @@ -72,29 +72,25 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - . = ALIGN(4); - .init_section : { + .init_section : ALIGN(4) { _sinit = ABSOLUTE(.); *(.init_array .init_array.*) _einit = ABSOLUTE(.); } > flash - . = ALIGN(4); - .ARM.extab : { + .ARM.extab : ALIGN(4) { *(.ARM.extab*) } > flash - . = ALIGN(4); __exidx_start = ABSOLUTE(.); - .ARM.exidx : { + .ARM.exidx : ALIGN(4) { *(.ARM.exidx*) } > flash __exidx_end = ABSOLUTE(.); _eronly = ABSOLUTE(.); - . = ALIGN(4); - .data : { + .data : ALIGN(4) { _sdata = ABSOLUTE(.); *(.data .data.*) *(.gnu.linkonce.d.*) @@ -102,7 +98,7 @@ SECTIONS _edata = ABSOLUTE(.); } > sram AT > flash - .bss : { + .bss : ALIGN(4) { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) diff --git a/boards/arm/stm32/stm3240g-eval/scripts/ld.script b/boards/arm/stm32/stm3240g-eval/scripts/ld.script index 37a88ee1c8..d1d93c350c 100644 --- a/boards/arm/stm32/stm3240g-eval/scripts/ld.script +++ b/boards/arm/stm32/stm3240g-eval/scripts/ld.script @@ -73,29 +73,25 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - . = ALIGN(4); - .init_section : { + .init_section : ALIGN(4) { _sinit = ABSOLUTE(.); *(.init_array .init_array.*) _einit = ABSOLUTE(.); } > flash - . = ALIGN(4); - .ARM.extab : { + .ARM.extab : ALIGN(4) { *(.ARM.extab*) } > flash - . = ALIGN(4); __exidx_start = ABSOLUTE(.); - .ARM.exidx : { + .ARM.exidx : ALIGN(4) { *(.ARM.exidx*) } > flash __exidx_end = ABSOLUTE(.); _eronly = ABSOLUTE(.); - . = ALIGN(4); - .data : { + .data : ALIGN(4) { _sdata = ABSOLUTE(.); *(.data .data.*) *(.gnu.linkonce.d.*) @@ -103,7 +99,7 @@ SECTIONS _edata = ABSOLUTE(.); } > sram AT > flash - .bss : { + .bss : ALIGN(4) { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) diff --git a/boards/arm/stm32/stm32_tiny/scripts/ld.script b/boards/arm/stm32/stm32_tiny/scripts/ld.script index b69f692631..d751a3489a 100644 --- a/boards/arm/stm32/stm32_tiny/scripts/ld.script +++ b/boards/arm/stm32/stm32_tiny/scripts/ld.script @@ -68,21 +68,18 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - . = ALIGN(4); - .init_section : { + .init_section : ALIGN(4) { _sinit = ABSOLUTE(.); *(.init_array .init_array.*) _einit = ABSOLUTE(.); } > flash - . = ALIGN(4); - .ARM.extab : { + .ARM.extab : ALIGN(4) { *(.ARM.extab*) } > flash - . = ALIGN(4); __exidx_start = ABSOLUTE(.); - .ARM.exidx : { + .ARM.exidx : ALIGN(4) { *(.ARM.exidx*) } > flash __exidx_end = ABSOLUTE(.); @@ -91,8 +88,7 @@ SECTIONS /* The STM32F103C8T6 has 20Kb of SRAM beginning at the following address */ - . = ALIGN(4); - .data : { + .data : ALIGN(4) { _sdata = ABSOLUTE(.); *(.data .data.*) *(.gnu.linkonce.d.*) @@ -100,7 +96,7 @@ SECTIONS _edata = ABSOLUTE(.); } > sram AT > flash - .bss : { + .bss : ALIGN(4) { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) diff --git a/boards/arm/stm32/stm32f103-minimum/scripts/ld.script b/boards/arm/stm32/stm32f103-minimum/scripts/ld.script index 34083cadd0..488ccd27db 100644 --- a/boards/arm/stm32/stm32f103-minimum/scripts/ld.script +++ b/boards/arm/stm32/stm32f103-minimum/scripts/ld.script @@ -73,21 +73,18 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - . = ALIGN(4); - .init_section : { + .init_section : ALIGN(4) { _sinit = ABSOLUTE(.); *(.init_array .init_array.*) _einit = ABSOLUTE(.); } > flash - . = ALIGN(4); - .ARM.extab : { + .ARM.extab : ALIGN(4) { *(.ARM.extab*) } > flash - . = ALIGN(4); __exidx_start = ABSOLUTE(.); - .ARM.exidx : { + .ARM.exidx : ALIGN(4) { *(.ARM.exidx*) } > flash __exidx_end = ABSOLUTE(.); @@ -96,8 +93,7 @@ SECTIONS /* The STM32F103C8T6 has 20Kb of SRAM beginning at the following address */ - . = ALIGN(4); - .data : { + .data : ALIGN(4) { _sdata = ABSOLUTE(.); *(.data .data.*) *(.gnu.linkonce.d.*) @@ -105,7 +101,7 @@ SECTIONS _edata = ABSOLUTE(.); } > sram AT > flash - .bss : { + .bss : ALIGN(4) { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) diff --git a/boards/arm/stm32/stm32f103-minimum/scripts/ld.script.dfu b/boards/arm/stm32/stm32f103-minimum/scripts/ld.script.dfu index 0d02204140..2087a7aa0c 100644 --- a/boards/arm/stm32/stm32f103-minimum/scripts/ld.script.dfu +++ b/boards/arm/stm32/stm32f103-minimum/scripts/ld.script.dfu @@ -67,21 +67,18 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - . = ALIGN(4); - .init_section : { + .init_section : ALIGN(4) { _sinit = ABSOLUTE(.); *(.init_array .init_array.*) _einit = ABSOLUTE(.); } > flash - . = ALIGN(4); - .ARM.extab : { + .ARM.extab : ALIGN(4) { *(.ARM.extab*) } > flash - . = ALIGN(4); __exidx_start = ABSOLUTE(.); - .ARM.exidx : { + .ARM.exidx : ALIGN(4) { *(.ARM.exidx*) } > flash __exidx_end = ABSOLUTE(.); @@ -90,8 +87,7 @@ SECTIONS /* The STM32F103C8T6 has 20Kb of SRAM beginning at the following address */ - . = ALIGN(4); - .data : { + .data : ALIGN(4) { _sdata = ABSOLUTE(.); *(.data .data.*) *(.gnu.linkonce.d.*) @@ -99,7 +95,7 @@ SECTIONS _edata = ABSOLUTE(.); } > sram AT > flash - .bss : { + .bss : ALIGN(4) { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) diff --git a/boards/arm/stm32/stm32f334-disco/scripts/ld.script b/boards/arm/stm32/stm32f334-disco/scripts/ld.script index 33facf72ee..682845688f 100644 --- a/boards/arm/stm32/stm32f334-disco/scripts/ld.script +++ b/boards/arm/stm32/stm32f334-disco/scripts/ld.script @@ -68,21 +68,18 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - . = ALIGN(4); - .init_section : { + .init_section : ALIGN(4) { _sinit = ABSOLUTE(.); *(.init_array .init_array.*) _einit = ABSOLUTE(.); } > flash - . = ALIGN(4); - .ARM.extab : { + .ARM.extab : ALIGN(4) { *(.ARM.extab*) } > flash - . = ALIGN(4); __exidx_start = ABSOLUTE(.); - .ARM.exidx : { + .ARM.exidx : ALIGN(4) { *(.ARM.exidx*) } > flash __exidx_end = ABSOLUTE(.); @@ -95,8 +92,7 @@ SECTIONS *(.ram_vectors) } > sram - . = ALIGN(4); - .data : { + .data : ALIGN(4) { _sdata = ABSOLUTE(.); *(.data .data.*) *(.gnu.linkonce.d.*) @@ -104,7 +100,7 @@ SECTIONS _edata = ABSOLUTE(.); } > sram AT > flash - .bss : { + .bss : ALIGN(4) { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) diff --git a/boards/arm/stm32/stm32f3discovery/scripts/ld.script b/boards/arm/stm32/stm32f3discovery/scripts/ld.script index 4dfae50de1..96941fadd6 100644 --- a/boards/arm/stm32/stm32f3discovery/scripts/ld.script +++ b/boards/arm/stm32/stm32f3discovery/scripts/ld.script @@ -68,29 +68,25 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - . = ALIGN(4); - .init_section : { + .init_section : ALIGN(4) { _sinit = ABSOLUTE(.); *(.init_array .init_array.*) _einit = ABSOLUTE(.); } > flash - . = ALIGN(4); - .ARM.extab : { + .ARM.extab : ALIGN(4) { *(.ARM.extab*) } > flash - . = ALIGN(4); __exidx_start = ABSOLUTE(.); - .ARM.exidx : { + .ARM.exidx : ALIGN(4) { *(.ARM.exidx*) } > flash __exidx_end = ABSOLUTE(.); _eronly = ABSOLUTE(.); - . = ALIGN(4); - .data : { + .data : ALIGN(4) { _sdata = ABSOLUTE(.); *(.data .data.*) *(.gnu.linkonce.d.*) @@ -98,7 +94,7 @@ SECTIONS _edata = ABSOLUTE(.); } > sram AT > flash - .bss : { + .bss : ALIGN(4) { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) diff --git a/boards/arm/stm32/stm32f429i-disco/scripts/ld.script b/boards/arm/stm32/stm32f429i-disco/scripts/ld.script index ee9beffa40..9db20550ab 100644 --- a/boards/arm/stm32/stm32f429i-disco/scripts/ld.script +++ b/boards/arm/stm32/stm32f429i-disco/scripts/ld.script @@ -76,21 +76,18 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - . = ALIGN(4); - .init_section : { + .init_section : ALIGN(4) { _sinit = ABSOLUTE(.); *(.init_array .init_array.*) _einit = ABSOLUTE(.); } > flash - . = ALIGN(4); - .ARM.extab : { + .ARM.extab : ALIGN(4) { *(.ARM.extab*) } > flash - . = ALIGN(4); __exidx_start = ABSOLUTE(.); - .ARM.exidx : { + .ARM.exidx : ALIGN(4) { *(.ARM.exidx*) } > flash __exidx_end = ABSOLUTE(.); @@ -103,8 +100,7 @@ SECTIONS *(.ram_vectors) } > sram - . = ALIGN(4); - .data : { + .data : ALIGN(4) { _sdata = ABSOLUTE(.); *(.data .data.*) *(.gnu.linkonce.d.*) @@ -112,7 +108,7 @@ SECTIONS _edata = ABSOLUTE(.); } > sram AT > flash - .bss : { + .bss : ALIGN(4) { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) diff --git a/boards/arm/stm32/stm32f4discovery/scripts/ld.script b/boards/arm/stm32/stm32f4discovery/scripts/ld.script index e32f6559ce..a96470541d 100644 --- a/boards/arm/stm32/stm32f4discovery/scripts/ld.script +++ b/boards/arm/stm32/stm32f4discovery/scripts/ld.script @@ -73,29 +73,25 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - . = ALIGN(4); - .init_section : { + .init_section : ALIGN(4) { _sinit = ABSOLUTE(.); KEEP(*(.init_array .init_array.*)) _einit = ABSOLUTE(.); } > flash - . = ALIGN(4); - .ARM.extab : { + .ARM.extab : ALIGN(4) { *(.ARM.extab*) } > flash - . = ALIGN(4); __exidx_start = ABSOLUTE(.); - .ARM.exidx : { + .ARM.exidx : ALIGN(4) { *(.ARM.exidx*) } > flash __exidx_end = ABSOLUTE(.); _eronly = ABSOLUTE(.); - . = ALIGN(4); - .data : { + .data : ALIGN(4) { _sdata = ABSOLUTE(.); *(.data .data.*) *(.gnu.linkonce.d.*) @@ -103,7 +99,7 @@ SECTIONS _edata = ABSOLUTE(.); } > sram AT > flash - .bss : { + .bss : ALIGN(4) { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) diff --git a/boards/arm/stm32f0l0g0/b-l072z-lrwan1/scripts/ld.script b/boards/arm/stm32f0l0g0/b-l072z-lrwan1/scripts/ld.script index a993448890..32545cbc1f 100644 --- a/boards/arm/stm32f0l0g0/b-l072z-lrwan1/scripts/ld.script +++ b/boards/arm/stm32f0l0g0/b-l072z-lrwan1/scripts/ld.script @@ -68,21 +68,18 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - . = ALIGN(4); - .init_section : { + .init_section : ALIGN(4) { _sinit = ABSOLUTE(.); *(.init_array .init_array.*) _einit = ABSOLUTE(.); } > flash - . = ALIGN(4); - .ARM.extab : { + .ARM.extab : ALIGN(4) { *(.ARM.extab*) } > flash - . = ALIGN(4); __exidx_start = ABSOLUTE(.); - .ARM.exidx : { + .ARM.exidx : ALIGN(4) { *(.ARM.exidx*) } > flash __exidx_end = ABSOLUTE(.); @@ -95,8 +92,7 @@ SECTIONS *(.ram_vectors) } > sram - . = ALIGN(4); - .data : { + .data : ALIGN(4) { _sdata = ABSOLUTE(.); *(.data .data.*) *(.gnu.linkonce.d.*) @@ -104,7 +100,7 @@ SECTIONS _edata = ABSOLUTE(.); } > sram AT > flash - .bss : { + .bss : ALIGN(4) { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) diff --git a/boards/arm/stm32f0l0g0/nucleo-g071rb/scripts/ld.script b/boards/arm/stm32f0l0g0/nucleo-g071rb/scripts/ld.script index a891f6c1e5..47b80e38e5 100644 --- a/boards/arm/stm32f0l0g0/nucleo-g071rb/scripts/ld.script +++ b/boards/arm/stm32f0l0g0/nucleo-g071rb/scripts/ld.script @@ -68,18 +68,18 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - .init_section : ALIGN(4) { + .init_section : ALIGN(4)) { _sinit = ABSOLUTE(.); *(.init_array .init_array.*) _einit = ABSOLUTE(.); } > flash - .ARM.extab : ALIGN(4) { + .ARM.extab : ALIGN(4)) { *(.ARM.extab*) } > flash __exidx_start = ABSOLUTE(.); - .ARM.exidx : ALIGN(4) { + .ARM.exidx : ALIGN(4)) { *(.ARM.exidx*) } > flash @@ -93,7 +93,7 @@ SECTIONS *(.ram_vectors) } > sram - .data : ALIGN(4) { + .data : ALIGN(4)) { _sdata = ABSOLUTE(.); *(.data .data.*) *(.gnu.linkonce.d.*) @@ -101,7 +101,7 @@ SECTIONS _edata = ABSOLUTE(.); } > sram AT > flash - .bss : ALIGN(4) { + .bss : ALIGN(4)) { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) diff --git a/boards/arm/stm32f0l0g0/nucleo-l073rz/scripts/ld.script b/boards/arm/stm32f0l0g0/nucleo-l073rz/scripts/ld.script index 2d3b74b28c..fa6f4dc25a 100644 --- a/boards/arm/stm32f0l0g0/nucleo-l073rz/scripts/ld.script +++ b/boards/arm/stm32f0l0g0/nucleo-l073rz/scripts/ld.script @@ -68,21 +68,18 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - . = ALIGN(4); - .init_section : { + .init_section : ALIGN(4) { _sinit = ABSOLUTE(.); *(.init_array .init_array.*) _einit = ABSOLUTE(.); } > flash - . = ALIGN(4); - .ARM.extab : { + .ARM.extab : ALIGN(4) { *(.ARM.extab*) } > flash - . = ALIGN(4); __exidx_start = ABSOLUTE(.); - .ARM.exidx : { + .ARM.exidx : ALIGN(4) { *(.ARM.exidx*) } > flash __exidx_end = ABSOLUTE(.); @@ -95,8 +92,7 @@ SECTIONS *(.ram_vectors) } > sram - . = ALIGN(4); - .data : { + .data : ALIGN(4) { _sdata = ABSOLUTE(.); *(.data .data.*) *(.gnu.linkonce.d.*) @@ -104,7 +100,7 @@ SECTIONS _edata = ABSOLUTE(.); } > sram AT > flash - .bss : { + .bss : ALIGN(4) { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) diff --git a/boards/arm/str71x/olimex-strp711/scripts/ld.script b/boards/arm/str71x/olimex-strp711/scripts/ld.script index 66299e71d3..c1ec570681 100644 --- a/boards/arm/str71x/olimex-strp711/scripts/ld.script +++ b/boards/arm/str71x/olimex-strp711/scripts/ld.script @@ -73,29 +73,25 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - . = ALIGN(4); - .init_section : { + .init_section : ALIGN(4) { _sinit = ABSOLUTE(.); *(.init_array .init_array.*) _einit = ABSOLUTE(.); } > flash - . = ALIGN(4); - .ARM.extab : { + .ARM.extab : ALIGN(4) { *(.ARM.extab*) } > flash - . = ALIGN(4); __exidx_start = ABSOLUTE(.); - .ARM.exidx : { + .ARM.exidx : ALIGN(4) { *(.ARM.exidx*) } > flash __exidx_end = ABSOLUTE(.); _eronly = ABSOLUTE(.); - . = ALIGN(4); - .data : { + .data : ALIGN(4) { _sdata = ABSOLUTE(.); *(.data .data.*) *(.gnu.linkonce.d.*) @@ -103,7 +99,7 @@ SECTIONS _edata = ABSOLUTE(.); } > sram AT > flash - .bss : { + .bss : ALIGN(4) { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) diff --git a/boards/arm/tiva/dk-tm4c129x/scripts/ld.script b/boards/arm/tiva/dk-tm4c129x/scripts/ld.script index 6614c12082..def1744a69 100644 --- a/boards/arm/tiva/dk-tm4c129x/scripts/ld.script +++ b/boards/arm/tiva/dk-tm4c129x/scripts/ld.script @@ -65,29 +65,25 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - . = ALIGN(4); - .init_section : { + .init_section : ALIGN(4) { _sinit = ABSOLUTE(.); *(.init_array .init_array.*) _einit = ABSOLUTE(.); } > flash - . = ALIGN(4); - .ARM.extab : { + .ARM.extab : ALIGN(4) { *(.ARM.extab*) } > flash - . = ALIGN(4); __exidx_start = ABSOLUTE(.); - .ARM.exidx : { + .ARM.exidx : ALIGN(4) { *(.ARM.exidx*) } > flash __exidx_end = ABSOLUTE(.); _eronly = ABSOLUTE(.); - . = ALIGN(4); - .data : { + .data : ALIGN(4) { _sdata = ABSOLUTE(.); *(.data .data.*) *(.gnu.linkonce.d.*) @@ -95,7 +91,7 @@ SECTIONS _edata = ABSOLUTE(.); } > sram AT > flash - .bss : { + .bss : ALIGN(4) { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) diff --git a/boards/arm/tiva/eagle100/scripts/ld.script b/boards/arm/tiva/eagle100/scripts/ld.script index b4c6474204..0a953932f9 100644 --- a/boards/arm/tiva/eagle100/scripts/ld.script +++ b/boards/arm/tiva/eagle100/scripts/ld.script @@ -67,21 +67,18 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - . = ALIGN(4); - .init_section : { + .init_section : ALIGN(4) { _sinit = ABSOLUTE(.); *(.init_array .init_array.*) _einit = ABSOLUTE(.); } > flash - . = ALIGN(4); - .ARM.extab : { + .ARM.extab : ALIGN(4) { *(.ARM.extab*) } > flash - . = ALIGN(4); __exidx_start = ABSOLUTE(.); - .ARM.exidx : { + .ARM.exidx : ALIGN(4) { *(.ARM.exidx*) } > flash __exidx_end = ABSOLUTE(.); @@ -90,8 +87,7 @@ SECTIONS /* The LM3S6918 has 64Kb of SRAM beginning at the following address */ - . = ALIGN(4); - .data : { + .data : ALIGN(4) { _sdata = ABSOLUTE(.); *(.data .data.*) *(.gnu.linkonce.d.*) @@ -99,7 +95,7 @@ SECTIONS _edata = ABSOLUTE(.); } > sram AT > flash - .bss : { + .bss : ALIGN(4) { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) diff --git a/boards/arm/tiva/lm3s6965-ek/scripts/ld.script b/boards/arm/tiva/lm3s6965-ek/scripts/ld.script index 60103ab9f0..7dd00dd347 100644 --- a/boards/arm/tiva/lm3s6965-ek/scripts/ld.script +++ b/boards/arm/tiva/lm3s6965-ek/scripts/ld.script @@ -64,21 +64,18 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - . = ALIGN(4); - .init_section : { + .init_section : ALIGN(4)) { _sinit = ABSOLUTE(.); *(.init_array .init_array.*) _einit = ABSOLUTE(.); } > flash - . = ALIGN(4); - .ARM.extab : { + .ARM.extab : ALIGN(4)) { *(.ARM.extab*) } > flash - . = ALIGN(4); __exidx_start = ABSOLUTE(.); - .ARM.exidx : { + .ARM.exidx : ALIGN(4)) { *(.ARM.exidx*) } > flash __exidx_end = ABSOLUTE(.); @@ -87,8 +84,7 @@ SECTIONS /* The LM3S6918 has 64Kb of SRAM beginning at the following address */ - . = ALIGN(4); - .data : { + .data : ALIGN(4)) { _sdata = ABSOLUTE(.); *(.data .data.*) *(.gnu.linkonce.d.*) @@ -96,7 +92,7 @@ SECTIONS _edata = ABSOLUTE(.); } > sram AT > flash - .bss : { /* BSS */ + .bss : ALIGN(4)) { /* BSS */ _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) diff --git a/boards/arm/tiva/tm4c1294-launchpad/scripts/ld.script b/boards/arm/tiva/tm4c1294-launchpad/scripts/ld.script index d3d91f06c5..61863741bf 100644 --- a/boards/arm/tiva/tm4c1294-launchpad/scripts/ld.script +++ b/boards/arm/tiva/tm4c1294-launchpad/scripts/ld.script @@ -65,29 +65,25 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - . = ALIGN(4); - .init_section : { + .init_section : ALIGN(4) { _sinit = ABSOLUTE(.); *(.init_array .init_array.*) _einit = ABSOLUTE(.); } > flash - . = ALIGN(4); - .ARM.extab : { + .ARM.extab : ALIGN(4) { *(.ARM.extab*) } > flash - . = ALIGN(4); __exidx_start = ABSOLUTE(.); - .ARM.exidx : { + .ARM.exidx : ALIGN(4) { *(.ARM.exidx*) } > flash __exidx_end = ABSOLUTE(.); _eronly = ABSOLUTE(.); - . = ALIGN(4); - .data : { + .data : ALIGN(4) { _sdata = ABSOLUTE(.); *(.data .data.*) *(.gnu.linkonce.d.*) @@ -95,7 +91,7 @@ SECTIONS _edata = ABSOLUTE(.); } > sram AT > flash - .bss : { + .bss : ALIGN(4) { _sbss = ABSOLUTE(.); *(.bss .bss.*) *(.gnu.linkonce.b.*) diff --git a/boards/renesas/sh7032/us7032evb1/configs/ostest/ld.script b/boards/renesas/sh7032/us7032evb1/configs/ostest/ld.script index e7347331ee..6e1920cb95 100644 --- a/boards/renesas/sh7032/us7032evb1/configs/ostest/ld.script +++ b/boards/renesas/sh7032/us7032evb1/configs/ostest/ld.script @@ -62,15 +62,14 @@ SECTIONS _etext = ABSOLUTE(.); } - . = ALIGN(4); - .data : { + .data : ALIGN(4) { _sdata = ABSOLUTE(.); *(.data) /* Modifiable data */ CONSTRUCTORS _edata = ABSOLUTE(.); } - .bss : { /* BSS */ + .bss : ALIGN(4) { /* BSS */ _sbss = ABSOLUTE(.); *(.bss) *(COMMON)