comparison target-utils/flash-boot-test/ld.script @ 197:dbb54db721d1

target-utils/flash-boot-test written
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 30 Apr 2017 17:40:26 +0000
parents
children
comparison
equal deleted inserted replaced
196:47d56330609d 197:dbb54db721d1
1 ENTRY(_entry)
2 SECTIONS
3 {
4 /* flash boot */
5 .vectors 0 : {
6 *(.vectors)
7 }
8
9 .magic 0x2000 : {
10 *(.magic)
11 }
12
13 /* main code */
14 .text 0x4000 : {
15 /* regular code */
16 *(.text*)
17 /* gcc voodoo */
18 *(.glue_7t) *(.glue_7) *(.vfp11_veneer) *(.v4_bx)
19 . = ALIGN(4);
20 }
21
22 /* read-only data */
23 . = ALIGN(4);
24 .rodata : {
25 *(.rodata*)
26 }
27
28 /* cannot have any initialized data */
29 /DISCARD/ : {
30 *(.data)
31 }
32
33 /* uninitialized data */
34 .bss 0x83C000 (NOLOAD) : {
35 . = ALIGN(4);
36 __bss_start = .;
37 *(.bss)
38 }
39 . = ALIGN(4);
40 __bss_end = .;
41 /* end of image */
42 _end = .;
43 PROVIDE(end = .);
44 }
45
46 stack_bottom = 0x83FFFC;