X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fstmf0%2Faltos.ld;h=74fdf3eaeb3b595268938a0965219e157e131954;hb=b1f1a4513391aa595eb64552f2aa4cfedd0cc0ff;hp=742d8419e9a01c818bceb6dd967d9aa297f808fe;hpb=df881bce8576f091b2d8cb53b8ce8a43aeedecde;p=fw%2Faltos diff --git a/src/stmf0/altos.ld b/src/stmf0/altos.ld index 742d8419..74fdf3ea 100644 --- a/src/stmf0/altos.ld +++ b/src/stmf0/altos.ld @@ -3,7 +3,8 @@ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; version 2 of the License. + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of @@ -54,13 +55,16 @@ SECTIONS { ao_product.o(.romconfig*) *(.text*) /* Executable code */ - *(.rodata*) /* Constants */ - } > rom .ARM.exidx : { *(.ARM.exidx* .gnu.linkonce.armexidx.*) } > rom + + .rodata : { + *(.rodata*) /* Constants */ + } > rom + __text_end__ = .; /* Boot data which must live at the start of ram so that