altos: Remove 8051 address space specifiers
[fw/altos] / src / lpc / altos-loader.ld
index 4f78f552de0d524ec59fd59400ae417d3259613c..be4f115d50e76b666307c7efa15baf139138f7c3 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
@@ -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