-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlinker.ld
54 lines (45 loc) · 937 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
ENTRY(_start);
STARTUP(crt0.o);
SECTIONS {
start_address = 0x8CFE6000;
. = start_address;
.bootstrap.start : AT(start_address) {
*(.bootstrap.start*)
}
info_address = 0x8CFE6010;
. = info_address;
.hollyhock_name : {
KEEP(*(.hollyhock_name))
}
.hollyhock_description : {
KEEP(*(.hollyhock_description))
}
.hollyhock_author : {
KEEP(*(.hollyhock_author))
}
.hollyhock_version : {
KEEP(*(.hollyhock_version))
}
.bootstrap : {
*(.bootstrap.text*)
*(.bootstrap.data*)
}
.text : {
*(.text*)
*(.rodata*)
}
.data : {
*(.data*)
}
_edata = .;
PROVIDE(edata = .);
.bss : {
*(.bss*)
*(COMMON)
}
_end = .;
PROVIDE(end = .);
.eh_frame : {
*(.eh_frame*)
}
}