forked from uli/allwinner-bare-metal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlinker.ld
37 lines (36 loc) · 741 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
SECTIONS
{
. = 0x40000000;
_hend = . ;
.text : {
*boot.o(.text)
*tzvecs.o(.text)
*(.text)
. = ALIGN(4);
__preinit_array_start = .;
KEEP (*(.preinit_array))
__preinit_array_end = .;
. = ALIGN(4);
__init_array_start = .;
KEEP (*(SORT(.init_array.*)))
KEEP (*(.init_array))
__init_array_end = .;
}
.ARM.extab : { *(.ARM.extab* .gnu.linkonce.armextab.*) }
PROVIDE_HIDDEN (__exidx_start = .);
.ARM.exidx : { *(.ARM.exidx* .gnu.linkonce.armexidx.*) }
PROVIDE_HIDDEN (__exidx_end = .);
.data : {
*(.data)
}
.bss : {
_bstart1 = . ;
*(.bss); *(COMMON);
_bend1 = . ;
}
.uncached 0x41000000 : {
_bstart2 = . ;
*(UNCACHED);
_bend2 = . ;
}
}