Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
[fw/altos] / src / lpc / altos.ld
index 00d4f18a67e275645f9cd34cbe4fcce669199994..028ad775d28ef579a3f44e99c9d25422f4874001 100644 (file)
@@ -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
@@ -68,9 +69,9 @@ SECTIONS {
        /* Data -- relocated to RAM, but written to ROM
         */
        .data : AT (ADDR(.ARM.exidx) + SIZEOF (.ARM.exidx)) {
-               __data_start__ = .;
+               _start__ = .;
                *(.data)        /* initialized data */
-               __data_end__ = .;
+               _end__ = .;
                __bss_start__ = .;
        } >ram