-
Notifications
You must be signed in to change notification settings - Fork 2
/
linker.ld
48 lines (40 loc) · 863 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
ENTRY(_start)
SECTIONS {
/DISCARD/ : {
*(.ARM.exidx)
}
. = 0x0;
.text : {
KEEP(*(.text.start.mission0))
KEEP(*(.text.start.*))
*(.text)
}
.rodata : {
*(.rodata)
# __debug_info_start = .;
# KEEP(*(.debug_info))
# __debug_info_end = .;
# __debug_abbrev_start = .;
# KEEP(*(.debug_abbrev))
# __debug_abbrev_end = .;
# __debug_str_start = .;
# KEEP(*(.debug_str))
# __debug_str_end = .;
# __debug_line_start = .;
# KEEP(*(.debug_line))
# __debug_line_end = .;
# __debug_ranges_start = .;
# KEEP(*(.debug_ranges))
# __debug_ranges_end = .;
}
. = 0x20000000;
.data : {
*(.data)
}
.bss : {
__bss_start = .;
*(COMMON)
*(.bss)
__bss_end = .;
}
}