FreeCalypso > hg > freecalypso-sw
comparison loadagent/loadagent.lds @ 2:ddda170fa6f4
loadagent.elf compiled and linked, no printf yet
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Mon, 29 Apr 2013 05:21:05 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
1:da98dc08f575 | 2:ddda170fa6f4 |
---|---|
1 OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm") | |
2 OUTPUT_ARCH(arm) | |
3 ENTRY(_entry) | |
4 SECTIONS | |
5 { | |
6 /* code */ | |
7 . = 0x800750; | |
8 .text : { | |
9 /* regular code */ | |
10 *(.text*) | |
11 /* gcc voodoo */ | |
12 *(.glue_7t) *(.glue_7) *(.vfp11_veneer) *(.v4_bx) | |
13 . = ALIGN(4); | |
14 } | |
15 | |
16 /* read-only data */ | |
17 . = ALIGN(4); | |
18 .rodata : { | |
19 *(.rodata*) | |
20 } | |
21 | |
22 /* initialized data */ | |
23 . = ALIGN(4); | |
24 .data : { | |
25 *(.data) | |
26 } | |
27 PROVIDE(edata = .); | |
28 | |
29 /* uninitialized data */ | |
30 .bss (NOLOAD) : { | |
31 . = ALIGN(4); | |
32 __bss_start = .; | |
33 *(.bss) | |
34 } | |
35 . = ALIGN(4); | |
36 __bss_end = .; | |
37 /* end of image */ | |
38 _end = .; | |
39 PROVIDE(end = .); | |
40 } | |
41 | |
42 /* a few absolute definitions */ | |
43 rom_vars = 0x800518; | |
44 stack_bottom = 0x83FFFC; |