Newer
Older
Xavier Corbillon
committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
_estack = 0x20004fff;
MEMORY
{
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 20K
rom (rx) : ORIGIN = 0x00000000, LENGTH = 128K
}
SECTIONS
{
. = 0x0; /* From 0x00000000 */
.text : {
*(.isr_vector) /* Vector table */
*(.text) /* Program code */
*(.text.*)
*(.rodata) /* Read only data */
*(.rodata.*) /* Read only data */
} >rom
.gnu.linkonce : {
*(.gnu.linkonce.t.*)
*(.gnu.linkonce.r.*)
} >rom
.gnu.linkoncearm : {
*(.gnu.linkonce.armexidx.*)
} >rom
.rel.text :
{
*(.rel.text)
*(.rel.text.*)
*(.rel.gnu.linkonce.t*)
} >rom
__exidx_start=.;
.exidx : {
*(.ARM.exidx*)
}>rom
__exidx_end =.;
.extab : {
*(.ARM.extab*)
}>rom
.sidat : {
_etext = .;
_sidata = _etext; /* Used by the startup in order to initialize the .data section */
} >rom
. = 0x20000000; /* From 0x20000000 */
.data : AT ( _sidata ) {
. = ALIGN(4);
_sdata = .;
*(.data) /* Data memory */
. = ALIGN(4);
_edata = .;
} >ram
.bss : {
. = ALIGN(4);
_sbss = .;
*(.bss) /* Zero-filled run time allocate data memory */
. = ALIGN(4);
_ebss = .;
} >ram
_end = .;
}
/*========== end of file ==========*/