FreeCalypso > hg > freecalypso-tools
comparison target-utils/env/iram.lds @ 0:e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 11 Jun 2016 00:13:35 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:e7502631a0f9 |
---|---|
1 OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm") | |
2 OUTPUT_ARCH(arm) | |
3 ENTRY(_entry) | |
4 SECTIONS | |
5 { | |
6 /* code */ | |
7 . = Base_addr; | |
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 /* | |
43 * stack_bottom will be set via the --defsym option to ld. | |
44 * Some programs have minimal IRAM requirements, so it would make more | |
45 * sense to set stack_bottom to 0x83FFFC, don't use the upper half of | |
46 * IRAM for anything, and make that program portable to Calypso Lite | |
47 * devices. But for some other programs we might have some use for | |
48 * the larger IRAM of our full Calypso devices, in which case we would | |
49 * want to set stack_bottom to 0x87FFFC instead. | |
50 */ |