diff options
Diffstat (limited to 'boot/linker.ld')
| -rw-r--r-- | boot/linker.ld | 28 | 
1 files changed, 28 insertions, 0 deletions
diff --git a/boot/linker.ld b/boot/linker.ld new file mode 100644 index 0000000..a725f4e --- /dev/null +++ b/boot/linker.ld @@ -0,0 +1,28 @@ +ENTRY(_start) + +SECTIONS +{ +    . = 1M; + +    .text BLOCK(4K) : ALIGN(4K) +    { +		*(.multiboot) +		*(.text) +    } + +    .rodata BLOCK(4K) : ALIGN(4K) +    { +        *(.rodata) +    } + +    .data BLOCK(4K) : ALIGN(4K) +    { +        *(.data) +    } + +    .bss BLOCK(4K) : ALIGN(4K) +    { +        *(COMMON) +        *(.bss) +    } +}
\ No newline at end of file  | 
