X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=src%2Fstm-bringup%2Fbringup.ld;h=71039598634181bce1f9e0eca1eb0ec3355599df;hp=10d50cd676c0533645654a3da532a402b9f88657;hb=145e5a1ac557c4990e74fb64b005fc68d6941bdc;hpb=354c1fed7f06c2c45c661e7265c2ac4bc47e2750 diff --git a/src/stm-bringup/bringup.ld b/src/stm-bringup/bringup.ld index 10d50cd6..71039598 100644 --- a/src/stm-bringup/bringup.ld +++ b/src/stm-bringup/bringup.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 @@ -43,13 +44,13 @@ SECTIONS { } > rom . = ORIGIN(ram); - __data_start__ = .; + _start__ = .; /* Data -- relocated to RAM, but written to ROM */ .data : AT (ADDR(.ARM.exidx) + SIZEOF (.ARM.exidx)) { *(.data) /* initialized data */ - __data_end__ = .; + _end__ = .; __bss_start__ = .; } >ram