annotate cos/linker.ld @ 20:b1fed2171e1a

Now working with 2 MB pages
author windel
date Mon, 28 Nov 2011 20:54:40 +0100
parents 92ace1ca50a8
children
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
92ace1ca50a8 64 bits kernel without interrupts but with printf in C
windel
parents:
diff changeset
23 }
92ace1ca50a8 64 bits kernel without interrupts but with printf in C
windel
parents:
diff changeset
24