-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstart.l
More file actions
96 lines (81 loc) · 1.52 KB
/
Copy pathstart.l
File metadata and controls
96 lines (81 loc) · 1.52 KB
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
OUTPUT_ARCH(sh)
MEMORY
{
/* ram (rwx) : ORIGIN = 0xE2FFFFFF, LENGTH = 0x1D000000*/
ram (rwx) : ORIGIN = 0xf7ffffff, LENGTH = 0x8000000
/* ram (rwx) : ORIGIN = 0xff7fffff, LENGTH = 0x800000*/
rom (rx) : ORIGIN = 0x00000000, LENGTH = 0xFFFFFF
peripheral (rw) : ORIGIN = 0x10000000, LENGTH = 0x29F7
videoRam (rw) : ORIGIN = 0x20000000, LENGTH = 0x10000000
}
SECTIONS
{
.text :
{
*(.vector)
. = 0x1000;
*(.text)
*(.text.*)
} > rom
.rodata :
{
*(.rodata)
*(.rodata.*)
_erodata = .;
} >rom
.eh_frame_hdr :
{
*(.eh_frame_hdr)
} >rom
.eh_frame :
{
*(.eh_frame)
} >rom
.tors :
{
__CTOR_LIST__ = .;
___ctors = .;
*(.ctors)
___ctors_end = .;
__CTOR_END__ = .;
__DTOR_LIST__ = .;
___dtors = .;
*(.dtors)
___dtors_end = .;
__DTOR_END__ = .;
_mdata = .;
} > rom
.data : AT (_mdata)
{
_data = .;
. = ALIGN(4);
*(.data) /* .data sections */
*(.data.*)
_edata = .;
} > ram
.bss :
{
_bss = .;
*(.bss)
*(.bss.*)
*(COMMON)
_ebss = .;
_end = .;
} > ram
.heap (NOLOAD) :
{
_heap = .;
} > ram
.stack 0xFFFFFFA0: AT (0xFFFFFFA0)
{
_stack = .;
}
.peripheral :
{
_peripheral = .;
} > peripheral
.videoRam :
{
_videoRam = .;
} > videoRam
}