annotate cos/kernel/link.ld @ 28:47b7df514243

Moved Makefiles
author windel
date Wed, 28 Dec 2011 13:38:43 +0100
parents cos/linker.ld@b1fed2171e1a
children 7e3bdcb391dc
rev   line source
20
b1fed2171e1a Now working with 2 MB pages
windel
parents: 9
diff changeset
1 OUTPUT_FORMAT("binary")
9
92ace1ca50a8 64 bits kernel without interrupts but with printf in C
windel
parents:
diff changeset
2
92ace1ca50a8 64 bits kernel without interrupts but with printf in C
windel
parents:
diff changeset
3 SECTIONS {
20
b1fed2171e1a Now working with 2 MB pages
windel
parents: 9
diff changeset
4 .text 0x100000:
b1fed2171e1a Now working with 2 MB pages
windel
parents: 9
diff changeset
5 {
9
92ace1ca50a8 64 bits kernel without interrupts but with printf in C
windel
parents:
diff changeset
6 *(.text)
20
b1fed2171e1a Now working with 2 MB pages
windel
parents: 9
diff changeset
7 }
9
92ace1ca50a8 64 bits kernel without interrupts but with printf in C
windel
parents:
diff changeset
8
20
b1fed2171e1a Now working with 2 MB pages
windel
parents: 9
diff changeset
9 .rodata ALIGN (4096) :
b1fed2171e1a Now working with 2 MB pages
windel
parents: 9
diff changeset
10 {
9
92ace1ca50a8 64 bits kernel without interrupts but with printf in C
windel
parents:
diff changeset
11 *(.rodata)
92ace1ca50a8 64 bits kernel without interrupts but with printf in C
windel
parents:
diff changeset
12 }
92ace1ca50a8 64 bits kernel without interrupts but with printf in C
windel
parents:
diff changeset
13
20
b1fed2171e1a Now working with 2 MB pages
windel
parents: 9
diff changeset
14 .data ALIGN (4096) :
b1fed2171e1a Now working with 2 MB pages
windel
parents: 9
diff changeset
15 {
9
92ace1ca50a8 64 bits kernel without interrupts but with printf in C
windel
parents:
diff changeset
16 *(.data)
92ace1ca50a8 64 bits kernel without interrupts but with printf in C
windel
parents:
diff changeset
17 }
92ace1ca50a8 64 bits kernel without interrupts but with printf in C
windel
parents:
diff changeset
18
92ace1ca50a8 64 bits kernel without interrupts but with printf in C
windel
parents:
diff changeset
19 .bss : {
92ace1ca50a8 64 bits kernel without interrupts but with printf in C
windel
parents:
diff changeset
20 *(.bss)
92ace1ca50a8 64 bits kernel without interrupts but with printf in C
windel
parents:
diff changeset
21 }
92ace1ca50a8 64 bits kernel without interrupts but with printf in C
windel
parents:
diff changeset
22
28
47b7df514243 Moved Makefiles
windel
parents: 20
diff changeset
23 end = .;
9
92ace1ca50a8 64 bits kernel without interrupts but with printf in C
windel
parents:
diff changeset
24 }
92ace1ca50a8 64 bits kernel without interrupts but with printf in C
windel
parents:
diff changeset
25