X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=src%2Flpc%2Faltos-loader.ld;h=be4f115d50e76b666307c7efa15baf139138f7c3;hp=4f78f552de0d524ec59fd59400ae417d3259613c;hb=41fed74c4cf139de6bf8f1879d370977785ad1f8;hpb=0dd148e388944d8d265da51d62806c4a00b2c13d diff --git a/src/lpc/altos-loader.ld b/src/lpc/altos-loader.ld index 4f78f552..be4f115d 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,23 +54,23 @@ SECTIONS { */ .boot ORIGIN(ram) + SIZEOF(.interrupt) (NOLOAD) : { __boot_start__ = .; - *(.boot) + *(.boot*) __boot_end__ = .; } >ram /* Data -- relocated to RAM, but written to ROM */ .data : { - __data_start__ = .; - *(.data) /* initialized data */ - __data_end__ = .; + _start__ = .; + *(.data*) /* initialized data */ + _end__ = .; } >ram AT>rom .bss : { __bss_start__ = .; - *(.bss) - *(COMMON) + *(.bss*) + *(COMMON*) __bss_end__ = .; } >ram