X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Flpc%2Faltos-loader.ld;h=84d7610c21036a65b5c21e2448d61ed24cf5c2e0;hb=29f9880f7b09bc135d34bf0dcb221bdede7726b3;hp=4f78f552de0d524ec59fd59400ae417d3259613c;hpb=4ff54bb96f6c00c0c2c7dd32f81403bac331621a;p=fw%2Faltos diff --git a/src/lpc/altos-loader.ld b/src/lpc/altos-loader.ld index 4f78f552..84d7610c 100644 --- a/src/lpc/altos-loader.ld +++ b/src/lpc/altos-loader.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 @@ -53,7 +54,7 @@ SECTIONS { */ .boot ORIGIN(ram) + SIZEOF(.interrupt) (NOLOAD) : { __boot_start__ = .; - *(.boot) + *(.boot*) __boot_end__ = .; } >ram @@ -61,15 +62,15 @@ SECTIONS { */ .data : { __data_start__ = .; - *(.data) /* initialized data */ + *(.data*) /* initialized data */ __data_end__ = .; } >ram AT>rom .bss : { __bss_start__ = .; - *(.bss) - *(COMMON) + *(.bss*) + *(COMMON*) __bss_end__ = .; } >ram