X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Lib%2Fmk20dx128.ld;h=4e57f8b419d90630d51e3be7f12b6c47e1a32f13;hb=d7fabf97e9f3c0768bc52942006a690dc594f730;hp=a838f85deba42b36d4636eb67abc95d559798cb7;hpb=71268de9d1636fd2c90944fa45c4b9ab4a4445e6;p=kiibohd-controller.git diff --git a/Lib/mk20dx128.ld b/Lib/mk20dx128.ld index a838f85..4e57f8b 100644 --- a/Lib/mk20dx128.ld +++ b/Lib/mk20dx128.ld @@ -10,10 +10,10 @@ * permit persons to whom the Software is furnished to do so, subject to * the following conditions: * - * 1. The above copyright notice and this permission notice shall be + * 1. The above copyright notice and this permission notice shall be * included in all copies or substantial portions of the Software. * - * 2. If the Software is incorporated into a build system that allows + * 2. If the Software is incorporated into a build system that allows * selection among a list of target devices, then similar target * devices manufactured by PJRC.COM must be included in the list of * target devices and selectable in the same manner. @@ -48,6 +48,7 @@ SECTIONS *(.rodata*) . = ALIGN(4); KEEP(*(.init)) + . = ALIGN(4); __preinit_array_start = .; KEEP (*(.preinit_array)) @@ -56,6 +57,7 @@ SECTIONS KEEP (*(SORT(.init_array.*))) KEEP (*(.init_array)) __init_array_end = .; + } > FLASH = 0xFF .ARM.exidx : { @@ -83,10 +85,10 @@ SECTIONS .data : AT (_etext) { . = ALIGN(4); - _sdata = .; + _sdata = .; *(.data*) . = ALIGN(4); - _edata = .; + _edata = .; } > RAM .noinit (NOLOAD) : { @@ -95,7 +97,7 @@ SECTIONS .bss : { . = ALIGN(4); - _sbss = .; + _sbss = .; *(.bss*) *(COMMON) . = ALIGN(4); @@ -106,4 +108,3 @@ SECTIONS _estack = ORIGIN(RAM) + LENGTH(RAM); } -