FreeCalypso > hg > freecalypso-sw
annotate target-utils/env/compalram.lds @ 1016:a6ca9ee289f7
gsm-fw feature tch-reroute: uplink substitution implemented
author | Mychaela Falconia <falcon@ivan.Harhan.ORG> |
---|---|
date | Mon, 21 Mar 2016 02:27:51 +0000 |
parents | 845c2e420069 |
children |
rev | line source |
---|---|
946
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
1 OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm") |
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
2 OUTPUT_ARCH(arm) |
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
3 ENTRY(_entry) |
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
4 SECTIONS |
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
5 { |
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
6 /* code */ |
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
7 . = 0x800100; |
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
8 .text : { |
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
9 /* regular code */ |
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
10 *(.text*) |
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
11 /* gcc voodoo */ |
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
12 *(.glue_7t) *(.glue_7) *(.vfp11_veneer) *(.v4_bx) |
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
13 . = ALIGN(4); |
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
14 } |
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
15 |
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
16 /* read-only data */ |
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
17 . = ALIGN(4); |
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
18 .rodata : { |
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
19 *(.rodata*) |
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
20 } |
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
21 |
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
22 /* initialized data */ |
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
23 . = ALIGN(4); |
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
24 .data : { |
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
25 *(.data) |
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
26 } |
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
27 PROVIDE(edata = .); |
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
28 |
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
29 /* magic signature for C139/140 bootloader */ |
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
30 .magic 0x803ce0 : { |
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
31 LONG(0x33303031) |
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
32 } |
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
33 |
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
34 /* uninitialized data */ |
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
35 .bss (NOLOAD) : { |
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
36 . = ALIGN(4); |
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
37 __bss_start = .; |
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
38 *(.bss) |
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
39 } |
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
40 . = ALIGN(4); |
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
41 __bss_end = .; |
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
42 /* end of image */ |
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
43 _end = .; |
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
44 PROVIDE(end = .); |
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
45 } |
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
46 |
845c2e420069
target-utils/c139explore utility started
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
47 stack_bottom = 0x83FFFC; |