-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy paths3.lds
59 lines (46 loc) · 846 Bytes
/
s3.lds
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
MEMORY {
rom0(rx): ORIGIN = 0K, LENGTH = 128K
ram(rwx): ORIGIN = 256K, LENGTH = 256K
}
SECTIONS {
.init : {
. = ALIGN(4);
start.o(*)
. = ALIGN(4);
} > rom0
.text : {
. = ALIGN(4);
*(.text)
*(.text*)
. = ALIGN(4);
} > rom0
.rodata : {
. = ALIGN(4);
*(.rodata)
*(.rodata*)
*(.srodata)
*(.srodata*)
. = ALIGN(4);
} > rom0
.data : {
. = ALIGN(4);
_sdata = .;
*(.data)
*(.data*)
*(.sdata)
*(.sdata*)
. = ALIGN(4);
_edata = .;
} > ram
.bss : {
. = ALIGN(4);
_sbss = .;
*(.bss)
*(.bss*)
*(.sbss)
*(.sbss*)
*(COMMON)
. = ALIGN(4);
_ebss = .;
} > ram
}