summaryrefslogtreecommitdiff
path: root/Kernel/linker.ld
blob: 43d1115cafcbd7967553a8b85cbbc43cbd9371f3 (plain)
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
ENTRY(start)

SECTIONS
{
	. = 0x100000;

	.text BLOCK(4K) : ALIGN(4K)
	{
        Arch/i386/Boot/boot.ao
		*(.multiboot)
		*(.page_tables)
		*(.text)
		*(.text.startup)
	}

	.rodata BLOCK(4K) : ALIGN(4K)
	{
		start_ctors = .;
		*(.ctors)
		end_ctors = .;

		*(.rodata)
	}

	.data BLOCK(4K) : ALIGN(4K)
	{
		*(.data)
	}

	.bss BLOCK(4K) : ALIGN(4K)
	{
		*(COMMON)
		*(.bss)
	}
}