From a9dbef9185854c1b94fb79dc7cfecbe34638c65b Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Sat, 10 Oct 2015 11:08:13 +0200 Subject: 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 --- kfs.ld | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 kfs.ld (limited to 'kfs.ld') diff --git a/kfs.ld b/kfs.ld new file mode 100644 index 0000000..6527fbf --- /dev/null +++ b/kfs.ld @@ -0,0 +1,15 @@ +OUTPUT_FORMAT("elf32-i386") +OUTPUT_ARCH("i386") + +ENTRY(_start) + +SECTIONS +{ + . = 0x100000 + SIZEOF_HEADERS; + + PROVIDE(begin_text = .); + .text : + { + *(.multiboot) *(.text) + } +} -- cgit v1.2.3