-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathlinker.ld
More file actions
52 lines (40 loc) · 785 Bytes
/
Copy pathlinker.ld
File metadata and controls
52 lines (40 loc) · 785 Bytes
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
ENTRY(_start)
SECTIONS
{
. = 0xFFFFFF8000080000; /* higher range TTBR1 offsetted*/
.text : ALIGN(4096)
{
*(.text.boot)
*(.text.vectors)
*(.text*)
}
.boot.constants : ALIGN(8)
{
KEEP(*(.boot.constants))
}
.rodata : ALIGN(4096)
{
*(.rodata*)
}
.data : ALIGN(4096)
{
*(.data*)
}
.page_tables : ALIGN(4096)
{
_page_tables_start = .;
KEEP(*(.page_tables.kernel.l1))
. = ALIGN(4096);
KEEP(*(.page_tables.kernel.l2))
. = ALIGN(4096);
_page_tables_end = .;
}
.bss : ALIGN(4096)
{
*(.bss*)
*(COMMON)
}
_kernel_top = .;
. = ALIGN(16);
_stack_top = . + 0x8000;
}