Skip to content

Commit a9b24eb

Browse files
committed
Kernel: Reindent linker script
1 parent 0f3880e commit a9b24eb

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

Kernel/linker.ld

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2,40 +2,40 @@ ENTRY(start)
22

33
SECTIONS
44
{
5-
. = 0x100000;
5+
. = 0x100000;
66

7-
.text BLOCK(4K) : ALIGN(4K)
8-
{
7+
.text BLOCK(4K) : ALIGN(4K)
8+
{
99
Arch/i386/Boot/boot.ao
10-
*(.multiboot)
11-
*(.page_tables)
10+
*(.multiboot)
11+
*(.page_tables)
1212
start_of_kernel_text = .;
13-
*(.text)
14-
*(.text.startup)
13+
*(.text)
14+
*(.text.startup)
1515
end_of_kernel_text = .;
16-
}
16+
}
1717

18-
.rodata BLOCK(4K) : ALIGN(4K)
19-
{
20-
start_ctors = .;
21-
*(.ctors)
22-
end_ctors = .;
18+
.rodata BLOCK(4K) : ALIGN(4K)
19+
{
20+
start_ctors = .;
21+
*(.ctors)
22+
end_ctors = .;
2323

24-
*(.rodata)
25-
}
24+
*(.rodata)
25+
}
2626

27-
.data BLOCK(4K) : ALIGN(4K)
28-
{
27+
.data BLOCK(4K) : ALIGN(4K)
28+
{
2929
start_of_kernel_data = .;
30-
*(.data)
30+
*(.data)
3131
end_of_kernel_data = .;
32-
}
32+
}
3333

34-
.bss BLOCK(4K) : ALIGN(4K)
35-
{
34+
.bss BLOCK(4K) : ALIGN(4K)
35+
{
3636
start_of_kernel_bss = .;
37-
*(COMMON)
38-
*(.bss)
37+
*(COMMON)
38+
*(.bss)
3939
end_of_kernel_bss = .;
40-
}
40+
}
4141
}

0 commit comments

Comments
 (0)