added initial linker script and tartup asm code
[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         .data : { *(.data) }            /* initialized data */
24
25         . = ALIGN(4);
26
27         .bss : { *(.bss) }              /* uninitialized data */
28 }
29