diff --git a/boards/arm/a1x/pcduino-a10/scripts/sdram.ld b/boards/arm/a1x/pcduino-a10/scripts/sdram.ld index 08df7d57726..ee083bcc4dc 100644 --- a/boards/arm/a1x/pcduino-a10/scripts/sdram.ld +++ b/boards/arm/a1x/pcduino-a10/scripts/sdram.ld @@ -83,6 +83,15 @@ SECTIONS _edata = ABSOLUTE(.); } > sdram + /* Uninitialized data */ + + .noinit : + { + _snoinit = ABSOLUTE(.); + *(.noinit*) + _enoinit = ABSOLUTE(.); + } > sdram + .bss : { _sbss = ABSOLUTE(.); @@ -93,15 +102,6 @@ SECTIONS _ebss = ABSOLUTE(.); } > sdram - /* Uninitialized data */ - - .noinit : - { - _snoinit = ABSOLUTE(.); - *(.noinit*) - _enoinit = ABSOLUTE(.); - } > sdram - /* Stabs debugging sections. */ .stab 0 : { *(.stab) } diff --git a/boards/arm/am335x/beaglebone-black/scripts/sdram.ld b/boards/arm/am335x/beaglebone-black/scripts/sdram.ld index eaa1d306bf8..9ab6b5af5e7 100644 --- a/boards/arm/am335x/beaglebone-black/scripts/sdram.ld +++ b/boards/arm/am335x/beaglebone-black/scripts/sdram.ld @@ -88,6 +88,15 @@ SECTIONS _edata = ABSOLUTE(.); } > ddr + /* Uninitialized data */ + + .noinit : + { + _snoinit = ABSOLUTE(.); + *(.noinit*) + _enoinit = ABSOLUTE(.); + } > ddr + .bss : { _sbss = ABSOLUTE(.); @@ -98,15 +107,6 @@ SECTIONS _ebss = ABSOLUTE(.); } > ddr - /* Uninitialized data */ - - .noinit : - { - _snoinit = ABSOLUTE(.); - *(.noinit*) - _enoinit = ABSOLUTE(.); - } > ddr - /* Stabs debugging sections. */ .stab 0 : { *(.stab) } diff --git a/boards/arm/fvp-v8r-aarch32/fvp-armv8r-aarch32/scripts/dramboot.ld b/boards/arm/fvp-v8r-aarch32/fvp-armv8r-aarch32/scripts/dramboot.ld index 43d5a504993..7ffc48c195c 100644 --- a/boards/arm/fvp-v8r-aarch32/fvp-armv8r-aarch32/scripts/dramboot.ld +++ b/boards/arm/fvp-v8r-aarch32/fvp-armv8r-aarch32/scripts/dramboot.ld @@ -84,6 +84,15 @@ SECTIONS _edata = ABSOLUTE(.); } > RAM AT > FLASH + /* Uninitialized data */ + + .noinit : + { + _snoinit = ABSOLUTE(.); + *(.noinit*) + _enoinit = ABSOLUTE(.); + } > RAM + .bss : { _sbss = ABSOLUTE(.); @@ -94,15 +103,6 @@ SECTIONS _ebss = ABSOLUTE(.); } > RAM - /* Uninitialized data */ - - .noinit : - { - _snoinit = ABSOLUTE(.); - *(.noinit*) - _enoinit = ABSOLUTE(.); - } > RAM - /* Stabs debugging sections. */ .stab 0 : { *(.stab) } @@ -112,4 +112,4 @@ SECTIONS .stab.index 0 : { *(.stab.index) } .stab.indexstr 0 : { *(.stab.indexstr) } .comment 0 : { *(.comment) } -} \ No newline at end of file +} diff --git a/boards/arm/imx6/sabre-6quad/scripts/dramboot.ld b/boards/arm/imx6/sabre-6quad/scripts/dramboot.ld index 66da05a5753..ab880dba6ca 100644 --- a/boards/arm/imx6/sabre-6quad/scripts/dramboot.ld +++ b/boards/arm/imx6/sabre-6quad/scripts/dramboot.ld @@ -91,6 +91,13 @@ SECTIONS _edata = ABSOLUTE(.); } > ddr3 + .noinit : + { + _snoinit = ABSOLUTE(.); + *(.noinit*) + _enoinit = ABSOLUTE(.); + } > ddr3 + .bss : { _sbss = ABSOLUTE(.); @@ -101,13 +108,6 @@ SECTIONS _ebss = ABSOLUTE(.); } > ddr3 - .noinit : - { - _snoinit = ABSOLUTE(.); - *(.noinit*) - _enoinit = ABSOLUTE(.); - } > ddr3 - /* Stabs debugging sections. */ .stab 0 : { *(.stab) } diff --git a/boards/arm/sama5/giant-board/scripts/dramboot.ld b/boards/arm/sama5/giant-board/scripts/dramboot.ld index a19c2f3da04..6c8ed837370 100644 --- a/boards/arm/sama5/giant-board/scripts/dramboot.ld +++ b/boards/arm/sama5/giant-board/scripts/dramboot.ld @@ -88,6 +88,15 @@ SECTIONS _edata = ABSOLUTE(.); } > sdram + /* Uninitialized data */ + + .noinit : + { + _snoinit = ABSOLUTE(.); + *(.noinit*) + _enoinit = ABSOLUTE(.); + } > sdram + .bss : { _sbss = ABSOLUTE(.); @@ -98,15 +107,6 @@ SECTIONS _ebss = ABSOLUTE(.); } > sdram - /* Uninitialized data */ - - .noinit : - { - _snoinit = ABSOLUTE(.); - *(.noinit*) - _enoinit = ABSOLUTE(.); - } > sdram - /* Stabs debugging sections. */ .stab 0 : { *(.stab) } diff --git a/boards/arm/sama5/giant-board/scripts/isram.ld b/boards/arm/sama5/giant-board/scripts/isram.ld index 2beb3044b03..192d2be98d5 100644 --- a/boards/arm/sama5/giant-board/scripts/isram.ld +++ b/boards/arm/sama5/giant-board/scripts/isram.ld @@ -84,6 +84,15 @@ SECTIONS _edata = ABSOLUTE(.); } > isram + /* Uninitialized data */ + + .noinit : + { + _snoinit = ABSOLUTE(.); + *(.noinit*) + _enoinit = ABSOLUTE(.); + } > isram + .bss : { _sbss = ABSOLUTE(.); @@ -94,15 +103,6 @@ SECTIONS _ebss = ABSOLUTE(.); } > isram - /* Uninitialized data */ - - .noinit : - { - _snoinit = ABSOLUTE(.); - *(.noinit*) - _enoinit = ABSOLUTE(.); - } > isram - /* Stabs debugging sections. */ .stab 0 : { *(.stab) } diff --git a/boards/arm/sama5/giant-board/scripts/uboot.ld b/boards/arm/sama5/giant-board/scripts/uboot.ld index 5e323a45750..0c3775da8e1 100644 --- a/boards/arm/sama5/giant-board/scripts/uboot.ld +++ b/boards/arm/sama5/giant-board/scripts/uboot.ld @@ -89,6 +89,15 @@ SECTIONS _edata = ABSOLUTE(.); } > sdram + /* Uninitialized data */ + + .noinit : + { + _snoinit = ABSOLUTE(.); + *(.noinit*) + _enoinit = ABSOLUTE(.); + } > sdram + .bss : { _sbss = ABSOLUTE(.); @@ -99,15 +108,6 @@ SECTIONS _ebss = ABSOLUTE(.); } > sdram - /* Uninitialized data */ - - .noinit : - { - _snoinit = ABSOLUTE(.); - *(.noinit*) - _enoinit = ABSOLUTE(.); - } > sdram - /* Stabs debugging sections. */ .stab 0 : { *(.stab) } diff --git a/boards/arm/sama5/jupiter-nano/scripts/dramboot.ld b/boards/arm/sama5/jupiter-nano/scripts/dramboot.ld index 23bd38e06e5..fe28b4245c7 100644 --- a/boards/arm/sama5/jupiter-nano/scripts/dramboot.ld +++ b/boards/arm/sama5/jupiter-nano/scripts/dramboot.ld @@ -88,6 +88,15 @@ SECTIONS _edata = ABSOLUTE(.); } > sdram + /* Uninitialized data */ + + .noinit : + { + _snoinit = ABSOLUTE(.); + *(.noinit*) + _enoinit = ABSOLUTE(.); + } > sdram + .bss : { _sbss = ABSOLUTE(.); @@ -98,15 +107,6 @@ SECTIONS _ebss = ABSOLUTE(.); } > sdram - /* Uninitialized data */ - - .noinit : - { - _snoinit = ABSOLUTE(.); - *(.noinit*) - _enoinit = ABSOLUTE(.); - } > sdram - /* Stabs debugging sections. */ .stab 0 : { *(.stab) } diff --git a/boards/arm/sama5/jupiter-nano/scripts/isram.ld b/boards/arm/sama5/jupiter-nano/scripts/isram.ld index 857d75d3b79..f1f309662ef 100644 --- a/boards/arm/sama5/jupiter-nano/scripts/isram.ld +++ b/boards/arm/sama5/jupiter-nano/scripts/isram.ld @@ -84,6 +84,15 @@ SECTIONS _edata = ABSOLUTE(.); } > isram + /* Uninitialized data */ + + .noinit : + { + _snoinit = ABSOLUTE(.); + *(.noinit*) + _enoinit = ABSOLUTE(.); + } > isram + .bss : { _sbss = ABSOLUTE(.); @@ -94,15 +103,6 @@ SECTIONS _ebss = ABSOLUTE(.); } > isram - /* Uninitialized data */ - - .noinit : - { - _snoinit = ABSOLUTE(.); - *(.noinit*) - _enoinit = ABSOLUTE(.); - } > isram - /* Stabs debugging sections. */ .stab 0 : { *(.stab) } diff --git a/boards/arm/sama5/jupiter-nano/scripts/uboot.ld b/boards/arm/sama5/jupiter-nano/scripts/uboot.ld index af8359b0694..2045a6caca0 100644 --- a/boards/arm/sama5/jupiter-nano/scripts/uboot.ld +++ b/boards/arm/sama5/jupiter-nano/scripts/uboot.ld @@ -89,6 +89,15 @@ SECTIONS _edata = ABSOLUTE(.); } > sdram + /* Uninitialized data */ + + .noinit : + { + _snoinit = ABSOLUTE(.); + *(.noinit*) + _enoinit = ABSOLUTE(.); + } > sdram + .bss : { _sbss = ABSOLUTE(.); @@ -99,15 +108,6 @@ SECTIONS _ebss = ABSOLUTE(.); } > sdram - /* Uninitialized data */ - - .noinit : - { - _snoinit = ABSOLUTE(.); - *(.noinit*) - _enoinit = ABSOLUTE(.); - } > sdram - /* Stabs debugging sections. */ .stab 0 : { *(.stab) } diff --git a/boards/arm/sama5/sama5d2-xult/scripts/dramboot.ld b/boards/arm/sama5/sama5d2-xult/scripts/dramboot.ld index 23bd38e06e5..fe28b4245c7 100644 --- a/boards/arm/sama5/sama5d2-xult/scripts/dramboot.ld +++ b/boards/arm/sama5/sama5d2-xult/scripts/dramboot.ld @@ -88,6 +88,15 @@ SECTIONS _edata = ABSOLUTE(.); } > sdram + /* Uninitialized data */ + + .noinit : + { + _snoinit = ABSOLUTE(.); + *(.noinit*) + _enoinit = ABSOLUTE(.); + } > sdram + .bss : { _sbss = ABSOLUTE(.); @@ -98,15 +107,6 @@ SECTIONS _ebss = ABSOLUTE(.); } > sdram - /* Uninitialized data */ - - .noinit : - { - _snoinit = ABSOLUTE(.); - *(.noinit*) - _enoinit = ABSOLUTE(.); - } > sdram - /* Stabs debugging sections. */ .stab 0 : { *(.stab) } diff --git a/boards/arm/sama5/sama5d2-xult/scripts/isram.ld b/boards/arm/sama5/sama5d2-xult/scripts/isram.ld index 857d75d3b79..f1f309662ef 100644 --- a/boards/arm/sama5/sama5d2-xult/scripts/isram.ld +++ b/boards/arm/sama5/sama5d2-xult/scripts/isram.ld @@ -84,6 +84,15 @@ SECTIONS _edata = ABSOLUTE(.); } > isram + /* Uninitialized data */ + + .noinit : + { + _snoinit = ABSOLUTE(.); + *(.noinit*) + _enoinit = ABSOLUTE(.); + } > isram + .bss : { _sbss = ABSOLUTE(.); @@ -94,15 +103,6 @@ SECTIONS _ebss = ABSOLUTE(.); } > isram - /* Uninitialized data */ - - .noinit : - { - _snoinit = ABSOLUTE(.); - *(.noinit*) - _enoinit = ABSOLUTE(.); - } > isram - /* Stabs debugging sections. */ .stab 0 : { *(.stab) } diff --git a/boards/arm/sama5/sama5d2-xult/scripts/uboot.ld b/boards/arm/sama5/sama5d2-xult/scripts/uboot.ld index af8359b0694..2045a6caca0 100644 --- a/boards/arm/sama5/sama5d2-xult/scripts/uboot.ld +++ b/boards/arm/sama5/sama5d2-xult/scripts/uboot.ld @@ -89,6 +89,15 @@ SECTIONS _edata = ABSOLUTE(.); } > sdram + /* Uninitialized data */ + + .noinit : + { + _snoinit = ABSOLUTE(.); + *(.noinit*) + _enoinit = ABSOLUTE(.); + } > sdram + .bss : { _sbss = ABSOLUTE(.); @@ -99,15 +108,6 @@ SECTIONS _ebss = ABSOLUTE(.); } > sdram - /* Uninitialized data */ - - .noinit : - { - _snoinit = ABSOLUTE(.); - *(.noinit*) - _enoinit = ABSOLUTE(.); - } > sdram - /* Stabs debugging sections. */ .stab 0 : { *(.stab) } diff --git a/boards/arm/sama5/sama5d3-xplained/scripts/ddram.ld b/boards/arm/sama5/sama5d3-xplained/scripts/ddram.ld index e8b373acb24..7e19d4ec142 100644 --- a/boards/arm/sama5/sama5d3-xplained/scripts/ddram.ld +++ b/boards/arm/sama5/sama5d3-xplained/scripts/ddram.ld @@ -89,6 +89,15 @@ SECTIONS _edata = ABSOLUTE(.); } > sdram + /* Uninitialized data */ + + .noinit : + { + _snoinit = ABSOLUTE(.); + *(.noinit*) + _enoinit = ABSOLUTE(.); + } > sdram + .bss : { _sbss = ABSOLUTE(.); @@ -99,15 +108,6 @@ SECTIONS _ebss = ABSOLUTE(.); } > sdram - /* Uninitialized data */ - - .noinit : - { - _snoinit = ABSOLUTE(.); - *(.noinit*) - _enoinit = ABSOLUTE(.); - } > sdram - /* Stabs debugging sections. */ .stab 0 : { *(.stab) } diff --git a/boards/arm/sama5/sama5d3-xplained/scripts/isram.ld b/boards/arm/sama5/sama5d3-xplained/scripts/isram.ld index 6a193d2f8a2..7308231c1dd 100644 --- a/boards/arm/sama5/sama5d3-xplained/scripts/isram.ld +++ b/boards/arm/sama5/sama5d3-xplained/scripts/isram.ld @@ -85,6 +85,15 @@ SECTIONS _edata = ABSOLUTE(.); } > isram + /* Uninitialized data */ + + .noinit : + { + _snoinit = ABSOLUTE(.); + *(.noinit*) + _enoinit = ABSOLUTE(.); + } > isram + .bss : { _sbss = ABSOLUTE(.); @@ -95,15 +104,6 @@ SECTIONS _ebss = ABSOLUTE(.); } > isram - /* Uninitialized data */ - - .noinit : - { - _snoinit = ABSOLUTE(.); - *(.noinit*) - _enoinit = ABSOLUTE(.); - } > isram - /* Stabs debugging sections. */ .stab 0 : { *(.stab) } diff --git a/boards/arm/sama5/sama5d3x-ek/scripts/ddram.ld b/boards/arm/sama5/sama5d3x-ek/scripts/ddram.ld index 678807c76f6..7e480faf7d0 100644 --- a/boards/arm/sama5/sama5d3x-ek/scripts/ddram.ld +++ b/boards/arm/sama5/sama5d3x-ek/scripts/ddram.ld @@ -89,6 +89,15 @@ SECTIONS _edata = ABSOLUTE(.); } > sdram + /* Uninitialized data */ + + .noinit : + { + _snoinit = ABSOLUTE(.); + *(.noinit*) + _enoinit = ABSOLUTE(.); + } > sdram + .bss : { _sbss = ABSOLUTE(.); @@ -99,15 +108,6 @@ SECTIONS _ebss = ABSOLUTE(.); } > sdram - /* Uninitialized data */ - - .noinit : - { - _snoinit = ABSOLUTE(.); - *(.noinit*) - _enoinit = ABSOLUTE(.); - } > sdram - /* Stabs debugging sections. */ .stab 0 : { *(.stab) } diff --git a/boards/arm/sama5/sama5d3x-ek/scripts/isram.ld b/boards/arm/sama5/sama5d3x-ek/scripts/isram.ld index 7501d190597..41c915c3fc2 100644 --- a/boards/arm/sama5/sama5d3x-ek/scripts/isram.ld +++ b/boards/arm/sama5/sama5d3x-ek/scripts/isram.ld @@ -85,6 +85,15 @@ SECTIONS _edata = ABSOLUTE(.); } > isram + /* Uninitialized data */ + + .noinit : + { + _snoinit = ABSOLUTE(.); + *(.noinit*) + _enoinit = ABSOLUTE(.); + } > isram + .bss : { _sbss = ABSOLUTE(.); @@ -95,15 +104,6 @@ SECTIONS _ebss = ABSOLUTE(.); } > isram - /* Uninitialized data */ - - .noinit : - { - _snoinit = ABSOLUTE(.); - *(.noinit*) - _enoinit = ABSOLUTE(.); - } > isram - /* Stabs debugging sections. */ .stab 0 : { *(.stab) } diff --git a/boards/arm/sama5/sama5d3x-ek/scripts/nor-ddram.ld b/boards/arm/sama5/sama5d3x-ek/scripts/nor-ddram.ld index f317780db23..44ca17c7842 100644 --- a/boards/arm/sama5/sama5d3x-ek/scripts/nor-ddram.ld +++ b/boards/arm/sama5/sama5d3x-ek/scripts/nor-ddram.ld @@ -96,6 +96,15 @@ SECTIONS _eronly = LOADADDR(.data); + /* Uninitialized data */ + + .noinit : + { + _snoinit = ABSOLUTE(.); + *(.noinit*) + _enoinit = ABSOLUTE(.); + } > sdram + .bss : { _sbss = ABSOLUTE(.); @@ -106,15 +115,6 @@ SECTIONS _ebss = ABSOLUTE(.); } > sdram - /* Uninitialized data */ - - .noinit : - { - _snoinit = ABSOLUTE(.); - *(.noinit*) - _enoinit = ABSOLUTE(.); - } > sdram - /* Stabs debugging sections. */ .stab 0 : { *(.stab) } diff --git a/boards/arm/sama5/sama5d3x-ek/scripts/nor-isram.ld b/boards/arm/sama5/sama5d3x-ek/scripts/nor-isram.ld index 8e9a66396e0..54fc1d75698 100644 --- a/boards/arm/sama5/sama5d3x-ek/scripts/nor-isram.ld +++ b/boards/arm/sama5/sama5d3x-ek/scripts/nor-isram.ld @@ -92,6 +92,22 @@ SECTIONS _eronly = LOADADDR(.data); + .ramfunc ALIGN(4): + { + _sramfuncs = ABSOLUTE(.); + *(.ramfunc .ramfunc.*) + _eramfuncs = ABSOLUTE(.); + } > isram AT > norflash + + /* Uninitialized data */ + + .noinit : + { + _snoinit = ABSOLUTE(.); + *(.noinit*) + _enoinit = ABSOLUTE(.); + } > isram + .bss : { _sbss = ABSOLUTE(.); @@ -102,24 +118,8 @@ SECTIONS _ebss = ABSOLUTE(.); } > isram - .ramfunc ALIGN(4): - { - _sramfuncs = ABSOLUTE(.); - *(.ramfunc .ramfunc.*) - _eramfuncs = ABSOLUTE(.); - } > isram AT > norflash - _framfuncs = LOADADDR(.ramfunc); - /* Uninitialized data */ - - .noinit : - { - _snoinit = ABSOLUTE(.); - *(.noinit*) - _enoinit = ABSOLUTE(.); - } > isram - /* Stabs debugging sections. */ .stab 0 : { *(.stab) } diff --git a/boards/arm/sama5/sama5d3x-ek/scripts/pg-sram.ld b/boards/arm/sama5/sama5d3x-ek/scripts/pg-sram.ld index cef2b97d297..bf1d16c7bb5 100644 --- a/boards/arm/sama5/sama5d3x-ek/scripts/pg-sram.ld +++ b/boards/arm/sama5/sama5d3x-ek/scripts/pg-sram.ld @@ -124,6 +124,15 @@ SECTIONS _edata = ABSOLUTE(.); } > data AT > locked + /* Uninitialized data */ + + .noinit : + { + _snoinit = ABSOLUTE(.); + *(.noinit*) + _enoinit = ABSOLUTE(.); + } > data + .bss : { _sbss = ABSOLUTE(.); @@ -134,15 +143,6 @@ SECTIONS _ebss = ABSOLUTE(.); } > data - /* Uninitialized data */ - - .noinit : - { - _snoinit = ABSOLUTE(.); - *(.noinit*) - _enoinit = ABSOLUTE(.); - } > data - /* Stabs debugging sections. */ .stab 0 : { *(.stab) } diff --git a/boards/arm/sama5/sama5d4-ek/scripts/dramboot.ld b/boards/arm/sama5/sama5d4-ek/scripts/dramboot.ld index 37163a9d801..91461f208f8 100644 --- a/boards/arm/sama5/sama5d4-ek/scripts/dramboot.ld +++ b/boards/arm/sama5/sama5d4-ek/scripts/dramboot.ld @@ -88,6 +88,15 @@ SECTIONS _edata = ABSOLUTE(.); } > sdram + /* Uninitialized data */ + + .noinit : + { + _snoinit = ABSOLUTE(.); + *(.noinit*) + _enoinit = ABSOLUTE(.); + } > sdram + .bss : { _sbss = ABSOLUTE(.); @@ -98,15 +107,6 @@ SECTIONS _ebss = ABSOLUTE(.); } > sdram - /* Uninitialized data */ - - .noinit : - { - _snoinit = ABSOLUTE(.); - *(.noinit*) - _enoinit = ABSOLUTE(.); - } > sdram - /* Stabs debugging sections. */ .stab 0 : { *(.stab) } diff --git a/boards/arm/sama5/sama5d4-ek/scripts/isram.ld b/boards/arm/sama5/sama5d4-ek/scripts/isram.ld index 0b12243de56..21ec43c65d0 100644 --- a/boards/arm/sama5/sama5d4-ek/scripts/isram.ld +++ b/boards/arm/sama5/sama5d4-ek/scripts/isram.ld @@ -85,6 +85,15 @@ SECTIONS _edata = ABSOLUTE(.); } > isram + /* Uninitialized data */ + + .noinit : + { + _snoinit = ABSOLUTE(.); + *(.noinit*) + _enoinit = ABSOLUTE(.); + } > isram + .bss : { _sbss = ABSOLUTE(.); @@ -95,15 +104,6 @@ SECTIONS _ebss = ABSOLUTE(.); } > isram - /* Uninitialized data */ - - .noinit : - { - _snoinit = ABSOLUTE(.); - *(.noinit*) - _enoinit = ABSOLUTE(.); - } > isram - /* Stabs debugging sections. */ .stab 0 : { *(.stab) } diff --git a/boards/arm/sama5/sama5d4-ek/scripts/uboot.ld b/boards/arm/sama5/sama5d4-ek/scripts/uboot.ld index b4823bf0e6d..61505881271 100644 --- a/boards/arm/sama5/sama5d4-ek/scripts/uboot.ld +++ b/boards/arm/sama5/sama5d4-ek/scripts/uboot.ld @@ -89,6 +89,15 @@ SECTIONS _edata = ABSOLUTE(.); } > sdram + /* Uninitialized data */ + + .noinit : + { + _snoinit = ABSOLUTE(.); + *(.noinit*) + _enoinit = ABSOLUTE(.); + } > sdram + .bss : { _sbss = ABSOLUTE(.); @@ -99,15 +108,6 @@ SECTIONS _ebss = ABSOLUTE(.); } > sdram - /* Uninitialized data */ - - .noinit : - { - _snoinit = ABSOLUTE(.); - *(.noinit*) - _enoinit = ABSOLUTE(.); - } > sdram - /* Stabs debugging sections. */ .stab 0 : { *(.stab) } diff --git a/boards/arm/tlsr82/tlsr8278adk80d/scripts/flash_boot.ld b/boards/arm/tlsr82/tlsr8278adk80d/scripts/flash_boot.ld index d5f5dba4053..a498297402e 100644 --- a/boards/arm/tlsr82/tlsr8278adk80d/scripts/flash_boot.ld +++ b/boards/arm/tlsr82/tlsr8278adk80d/scripts/flash_boot.ld @@ -110,6 +110,15 @@ SECTIONS PROVIDE(_end_data_ = . ); } + /* data in ram but no need to clean in .s*/ + + .noinit (NOLOAD) : + { + . = ALIGN(4); + *(.noinit) + *(.noinit.*) + } + .bss : { . = ALIGN(4); @@ -120,14 +129,6 @@ SECTIONS *(.bss.*) } - /* data in ram but no need to clean in .s*/ - - .noinit (NOLOAD) : - { - . = ALIGN(4); - *(.noinit) - *(.noinit.*) - } . = ALIGN(4); PROVIDE(_ebss = .); diff --git a/boards/arm/tlsr82/tlsr8278adk80d/scripts/flash_boot_ble.ld b/boards/arm/tlsr82/tlsr8278adk80d/scripts/flash_boot_ble.ld index 8c1ecdd6dfb..822f0b0fe79 100644 --- a/boards/arm/tlsr82/tlsr8278adk80d/scripts/flash_boot_ble.ld +++ b/boards/arm/tlsr82/tlsr8278adk80d/scripts/flash_boot_ble.ld @@ -187,6 +187,15 @@ SECTIONS PROVIDE(_end_data_ = . ); } + /* data in ram but no need to clean in .s*/ + + .noinit (NOLOAD) : + { + . = ALIGN(4); + *(.noinit) + *(.noinit.*) + } + .bss : { . = ALIGN(4); @@ -197,14 +206,6 @@ SECTIONS *(.bss.*) } - /* data in ram but no need to clean in .s*/ - - .noinit (NOLOAD) : - { - . = ALIGN(4); - *(.noinit) - *(.noinit.*) - } . = ALIGN(4); PROVIDE(_ebss = .); diff --git a/boards/arm/xmc4/xmc4500-relax/scripts/flash.ld b/boards/arm/xmc4/xmc4500-relax/scripts/flash.ld index 803890beccc..6c532d30334 100644 --- a/boards/arm/xmc4/xmc4500-relax/scripts/flash.ld +++ b/boards/arm/xmc4/xmc4500-relax/scripts/flash.ld @@ -86,6 +86,15 @@ SECTIONS _edata = ABSOLUTE(.); } > sram AT > flash + /* Global data not cleared after reset. */ + + .noinit : + { + _snoinit = ABSOLUTE(.); + *(.noinit*) + _enoinit = ABSOLUTE(.); + } > sram + .bss : { _sbss = ABSOLUTE(.); @@ -96,15 +105,6 @@ SECTIONS _ebss = ABSOLUTE(.); } > sram - /* Global data not cleared after reset. */ - - .noinit : - { - _snoinit = ABSOLUTE(.); - *(.noinit*) - _enoinit = ABSOLUTE(.); - } > sram - /* Stabs debugging sections. */ .stab 0 : { *(.stab) } diff --git a/boards/arm/xmc4/xmc4700-relax/scripts/flash.ld b/boards/arm/xmc4/xmc4700-relax/scripts/flash.ld index 6619531a2be..8c3383516c5 100644 --- a/boards/arm/xmc4/xmc4700-relax/scripts/flash.ld +++ b/boards/arm/xmc4/xmc4700-relax/scripts/flash.ld @@ -91,6 +91,15 @@ SECTIONS _edata = ABSOLUTE(.); } > sram AT > flash + /* Global data not cleared after reset. */ + + .noinit : + { + _snoinit = ABSOLUTE(.); + *(.noinit*) + _enoinit = ABSOLUTE(.); + } > sram + .bss : { _sbss = ABSOLUTE(.); @@ -101,15 +110,6 @@ SECTIONS _ebss = ABSOLUTE(.); } > sram - /* Global data not cleared after reset. */ - - .noinit : - { - _snoinit = ABSOLUTE(.); - *(.noinit*) - _enoinit = ABSOLUTE(.); - } > sram - /* Stabs debugging sections. */ .stab 0 : { *(.stab) } diff --git a/boards/arm/xmc4/xmc4800-relax/scripts/flash.ld b/boards/arm/xmc4/xmc4800-relax/scripts/flash.ld index ea554ecd7ea..0b3bdd38046 100644 --- a/boards/arm/xmc4/xmc4800-relax/scripts/flash.ld +++ b/boards/arm/xmc4/xmc4800-relax/scripts/flash.ld @@ -91,6 +91,15 @@ SECTIONS _edata = ABSOLUTE(.); } > sram AT > flash + /* Global data not cleared after reset. */ + + .noinit : + { + _snoinit = ABSOLUTE(.); + *(.noinit*) + _enoinit = ABSOLUTE(.); + } > sram + .bss : { _sbss = ABSOLUTE(.); @@ -101,15 +110,6 @@ SECTIONS _ebss = ABSOLUTE(.); } > sram - /* Global data not cleared after reset. */ - - .noinit : - { - _snoinit = ABSOLUTE(.); - *(.noinit*) - _enoinit = ABSOLUTE(.); - } > sram - /* Stabs debugging sections. */ .stab 0 : { *(.stab) }