compilation errors fixed, debug now!
[my-code/arm.git] / betty / lpc2220_ram.ld
1 /*
2  * lpc2220_ram.ld - linker script for the lpc2220 device (->ram)
3  *
4  * author: hackbard@hackdaworld.org
5  *
6  */
7
8 SECTIONS {
9         . = 0x40000200;
10         .text . : {
11                 startup.o(.text)        /* startup code */
12                 *(.text)                /* all remaining code */
13                 *(.glue_7)              /* glue code */
14                 *(.glue_7t)             /* glue code */
15         }
16
17         . = ALIGN(4);
18
19         .rodata : { *(.rodata) }        /* read only data */
20
21         . = ALIGN(4);
22
23         /* define end of text symbol */
24         _etext = .;
25
26         .data : {                       /* initialized data */
27                 _data = .;
28                 *(.data)
29                 _edata = .;
30         }
31
32         . = ALIGN(4);
33
34         .bss : { *(.bss) }              /* uninitialized data */
35 }
36