forked from deltabeard/Peanut-GB
-
Notifications
You must be signed in to change notification settings - Fork 8
/
linker.ld
59 lines (49 loc) · 844 Bytes
/
linker.ld
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
ENTRY(_main);
SECTIONS {
start_address = 0x8CFE6000;
.init start_address : AT(start_address) {
*(.init)
}
info_address = 0x8CFE6010;
. = info_address;
.hollyhock_name : {
*(.hollyhock_name)
}
.hollyhock_description : {
*(.hollyhock_description)
}
.hollyhock_author : {
*(.hollyhock_author)
}
.hollyhock_version : {
*(.hollyhock_version)
}
.text : {
*(.text)
*(.rodata*)
}
.data : {
*(.data)
}
.bss : {
*(.bss)
*(COMMON)
}
x_mem_addr = 0xE5007000;
. = x_mem_addr;
.oc_mem.x : {
*(.oc_mem.x)
}
y_mem_addr = 0xE5017000;
. = y_mem_addr;
.oc_mem.y : {
*(.oc_mem.y.text)
*(.oc_mem.y.data)
}
il_mem_addr = 0xE5200000;
. = il_mem_addr;
.oc_mem.il : {
*(.oc_mem.il.data)
*(.oc_mem.il.text)
}
}