diff options
| author | Miguel <m.i@gmx.at> | 2018-08-31 14:31:48 +0200 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2018-08-31 14:31:48 +0200 |
| commit | d52c3d119dbbbf2a9573e7698a878cf74afdd08c (patch) | |
| tree | 50b726883d79d97bf22beb446cdafb86d2d94d82 /linker.ld | |
| parent | 1866d374e6f72edeb443556cb66e0b2ce3664eb9 (diff) | |
doxy and alignment
Diffstat (limited to 'linker.ld')
| -rw-r--r-- | linker.ld | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -3,14 +3,16 @@ ENTRY(_start) SECTIONS { . = 0x7000; + kernel_start = .; + + /* smp code at 0x7000*/ .text BLOCK(4K) : ALIGN(4K) { *(.smp) } . = 1M; - kernel_start = .; - + /* _start code as 0x10000 and rest of code*/ .text BLOCK(4K) : ALIGN(4K) { *(.multiboot) @@ -32,9 +34,9 @@ SECTIONS /* Read-write data (uninitialized) and stack */ .bss BLOCK(4K) : ALIGN(4K) { + *(.bootstrap_stack) *(COMMON) *(.bss) - *(.bootstrap_stack) } kernel_end = .; |
