diff options
author | Olivier Gayot <duskcoder@gmail.com> | 2015-10-10 11:08:13 +0200 |
---|---|---|
committer | Olivier Gayot <duskcoder@gmail.com> | 2015-10-10 11:08:53 +0200 |
commit | a9dbef9185854c1b94fb79dc7cfecbe34638c65b (patch) | |
tree | 7b046281c892404ec94032c67cca899758ef4aaa /kfs.ld | |
parent | 0abf506ae1a5e3c352c40096b20e9986623169b1 (diff) |
kfs: added the build system
it includes a startup file written in assembly, the Makefile and a ld
custom script meant to build link the kernel properly.
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
Diffstat (limited to 'kfs.ld')
-rw-r--r-- | kfs.ld | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -0,0 +1,15 @@ +OUTPUT_FORMAT("elf32-i386") +OUTPUT_ARCH("i386") + +ENTRY(_start) + +SECTIONS +{ + . = 0x100000 + SIZEOF_HEADERS; + + PROVIDE(begin_text = .); + .text : + { + *(.multiboot) *(.text) + } +} |