summaryrefslogtreecommitdiff
path: root/kfs.ld
diff options
context:
space:
mode:
Diffstat (limited to 'kfs.ld')
-rw-r--r--kfs.ld15
1 files changed, 15 insertions, 0 deletions
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)
+ }
+}