forked from id-Software/DOOM
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathlinker.ld
69 lines (56 loc) · 1.01 KB
/
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
60
61
62
63
64
65
66
67
68
69
ENTRY(_start);
STARTUP(crt0.o);
SECTIONS {
text_address = 0x8C052800;
. = text_address;
.text : AT(text_address) {
*(.text)
*(.rodata*)
}
_actualbssstart = .;
PROVIDE(actualbssstart = .);
.bss : {
*(.bss)
*(COMMON)
}
_actualbssend = .;
PROVIDE(actualbssend = .);
start_address = 0x8CFE2000;
. = start_address;
.bootstrap.start : AT(start_address) {
*(.bootstrap.start)
}
info_address = 0x8CFE2010;
. = info_address;
.hollyhock_name : {
*(.hollyhock_name)
}
.hollyhock_description : {
*(.hollyhock_description)
}
.hollyhock_author : {
*(.hollyhock_author)
}
.hollyhock_version : {
*(.hollyhock_version)
}
.bootstrap : {
*(.bootstrap.text)
*(.bootstrap.data)
}
.data : {
*(.data)
}
_edata = .;
PROVIDE(edata = .);
_end = .;
PROVIDE(end = .);
.eh_frame : {
*(.eh_frame*)
}
x_mem_addr = 0xE5007000;
. = x_mem_addr;
.oc_mem.x : {
*(.oc_mem.x.data)
}
}