compilation errors fixed, debug now!
[my-code/arm.git] / betty / lpc2220_ram.ld
index c6fd14d..7356893 100644 (file)
@@ -20,7 +20,14 @@ SECTIONS {
 
        . = ALIGN(4);
 
-       .data : { *(.data) }            /* initialized data */
+       /* define end of text symbol */
+       _etext = .;
+
+       .data : {                       /* initialized data */
+               _data = .;
+               *(.data)
+               _edata = .;
+       }
 
        . = ALIGN(4);