Mercurial > lcfOS
annotate cos/kernel/kernel.ld @ 75:ba11d99b1d4a
Added qformlayout..
author | windel |
---|---|
date | Sun, 11 Nov 2012 11:28:28 +0100 |
parents | 91f91ff07ea8 |
children |
rev | line source |
---|---|
20 | 1 OUTPUT_FORMAT("binary") |
9 | 2 |
3 SECTIONS { | |
20 | 4 .text 0x100000: |
5 { | |
9 | 6 *(.text) |
20 | 7 } |
9 | 8 |
20 | 9 .rodata ALIGN (4096) : |
10 { | |
9 | 11 *(.rodata) |
12 } | |
13 | |
20 | 14 .data ALIGN (4096) : |
15 { | |
9 | 16 *(.data) |
17 } | |
18 | |
35
bcb3b68c8147
Added bss end address and load end address to multiboot header
windel
parents:
29
diff
changeset
|
19 load_end_address = .; |
9 | 20 .bss : { |
21 *(.bss) | |
22 } | |
23 | |
35
bcb3b68c8147
Added bss end address and load end address to multiboot header
windel
parents:
29
diff
changeset
|
24 bss_end_address = .; |
29 | 25 kernel_end = .; |
9 | 26 } |
27 |