-
Notifications
You must be signed in to change notification settings - Fork 0
/
linker.ld
45 lines (38 loc) · 1.16 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
OUTPUT_ARCH(arm)
MEMORY {
out : ORIGIN = 0x23dd550, LENGTH = 0x2AAC
}
SECTIONS {
.text : {
FILL (0xABCD)
__exidx_start = .;
__exidx_end = .;
abort = .;
__text_start = . ;
__init_array_start = .;
KEEP (*(SORT_BY_INIT_PRIORITY(.init_array.*)))
KEEP (*(.init_array))
__init_array_end = .;
__fini_array_start = .;
KEEP (*(SORT_BY_INIT_PRIORITY(.fini_array.*)))
KEEP (*(.fini_array))
__fini_array_end = .;
*(.init)
*(.text)
*(.fini)
*(.ctors)
*(.dtors)
*(.rodata)
*(.rodata.*)
*(.data)
*(.data.*)
*(COMMON)
__text_end = . ;
. = ALIGN(4);
__bss_start__ = . ;
*(.bss)
__bss_end__ = . ;
_end = __bss_end__ ;
__end__ = __bss_end__ ;
} >out = 0xff
}