X-Git-Url: https://hackdaworld.org/gitweb/?a=blobdiff_plain;f=betty%2Flpc2220_ram.ld;fp=betty%2Flpc2220_ram.ld;h=c6fd14d22621d47090e3efe687951fd15594cb2f;hb=21b21d3d5c7feb1ece4c8ea3d495e03c502450ea;hp=0000000000000000000000000000000000000000;hpb=cc9a44bee2152e887691958d3580e17ef15810e2;p=my-code%2Farm.git diff --git a/betty/lpc2220_ram.ld b/betty/lpc2220_ram.ld new file mode 100644 index 0000000..c6fd14d --- /dev/null +++ b/betty/lpc2220_ram.ld @@ -0,0 +1,29 @@ +/* + * lpc2220_ram.ld - linker script for the lpc2220 device (->ram) + * + * author: hackbard@hackdaworld.org + * + */ + +SECTIONS { + . = 0x40000200; + .text . : { + startup.o(.text) /* startup code */ + *(.text) /* all remaining code */ + *(.glue_7) /* glue code */ + *(.glue_7t) /* glue code */ + } + + . = ALIGN(4); + + .rodata : { *(.rodata) } /* read only data */ + + . = ALIGN(4); + + .data : { *(.data) } /* initialized data */ + + . = ALIGN(4); + + .bss : { *(.bss) } /* uninitialized data */ +} +