summaryrefslogtreecommitdiff
path: root/linker.ld
diff options
context:
space:
mode:
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)
}