X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fstm%2Faltos-application.ld;h=5bdfcd05cfbacb891a485f69451b6b5b14b41e50;hb=db7f17980c303e442f88c8a4168351dbc2c0b1a0;hp=5110da845dd4f21afc323db3ac8ca5b2d55dbb56;hpb=b1a43ce313c85cb7f8f16f7f0647d9d4320ba692;p=fw%2Faltos diff --git a/src/stm/altos-application.ld b/src/stm/altos-application.ld index 5110da84..5bdfcd05 100644 --- a/src/stm/altos-application.ld +++ b/src/stm/altos-application.ld @@ -45,14 +45,14 @@ SECTIONS { .ARM.exidx : { *(.ARM.exidx* .gnu.linkonce.armexidx.*) - __text_end__ = .; } > rom + __text_end__ = .; /* Boot data which must live at the start of ram so that * the application and bootloader share the same addresses. * This must be all uninitialized data */ - .boot : { + .boot (NOLOAD) : { __boot_start__ = .; *(.boot) . = ALIGN(4); @@ -64,6 +64,7 @@ SECTIONS { .data : { __data_start__ = .; *(.data) /* initialized data */ + . = ALIGN(4); __data_end__ = .; } >ram AT>rom @@ -71,6 +72,7 @@ SECTIONS { __bss_start__ = .; *(.bss) *(COMMON) + . = ALIGN(4); __bss_end__ = .; } >ram