summaryrefslogtreecommitdiff
path: root/linker.ld
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2014-09-27 12:35:35 -0700
committeriximeow <me@iximeow.net>2014-09-27 12:35:35 -0700
commitd5c3d73e7d1ea90cd6e293881bda1a13bd20e3d4 (patch)
treed8a5a6cda55cf205672ec661676eb3a34f60ed41 /linker.ld
parentb5b9bbb79304e9e9c24b88f2dedbd32cea1d5acf (diff)
Strip down bootloader and tweak to load multiple blocks
Diffstat (limited to 'linker.ld')
-rw-r--r--linker.ld4
1 files changed, 1 insertions, 3 deletions
diff --git a/linker.ld b/linker.ld
index 1b34e93..7486136 100644
--- a/linker.ld
+++ b/linker.ld
@@ -8,14 +8,13 @@ SECTIONS
{
/* Begin putting sections at 1 MiB, a conventional place for kernels to be
loaded at by the bootloader. */
- . = 1M;
+ . = 10K;
/* First put the multiboot header, as it is required to be put very early
early in the image or the bootloader won't recognize the file format.
Next we'll put the .text section. */
.text BLOCK(4K) : ALIGN(4K)
{
- *(.multiboot)
*(.text)
}
@@ -34,7 +33,6 @@ SECTIONS
/* Read-write data (uninitialized) and stack */
.bss BLOCK(4K) : ALIGN(4K)
{
- *(COMMON)
*(.bss)
*(.bootstrap_stack)
}