altos: Remove 8051 address space specifiers
[fw/altos] / src / stm / altos-loader.ld
index a4a7dc43fe60c05381d2ff87b9ddd4e7628a0858..1ebbc7a2afcb15b30d2c24fe692547edec4e1073 100644 (file)
@@ -65,17 +65,18 @@ SECTIONS {
         */
 
        .textram BLOCK(8): {
-               __data_start__ = .;
+               _start__ = .;
                __text_ram_start__ = .;
                *(.ramtext)
                __text_ram_end = .;
        } >ram AT>rom
 
        /* Data -- relocated to RAM, but written to ROM
+        * Also aligned to 8 bytes to agree with textram
         */
-       .data : {
+       .data BLOCK(8): {
                *(.data)        /* initialized data */
-               __data_end__ = .;
+               _end__ = .;
        } >ram AT>rom