summaryrefslogtreecommitdiff
path: root/kernel/kernel.ld
diff options
context:
space:
mode:
authorAleksa Vuckovic <aleksav013@gmail.com>2022-08-05 14:33:51 +0200
committerAleksa Vuckovic <aleksav013@gmail.com>2022-08-05 14:33:51 +0200
commitbd7d4366b6643b5c6cd04f40dd32f5d9c9575fd6 (patch)
tree92429e897be007d46c8f063a39a986df2124111a /kernel/kernel.ld
parentbe3274c49d0ca5e31daa855c4c109d830fdead67 (diff)
organised files; switched to recursive make
Diffstat (limited to 'kernel/kernel.ld')
-rw-r--r--kernel/kernel.ld39
1 files changed, 0 insertions, 39 deletions
diff --git a/kernel/kernel.ld b/kernel/kernel.ld
deleted file mode 100644
index da5c87c..0000000
--- a/kernel/kernel.ld
+++ /dev/null
@@ -1,39 +0,0 @@
-ENTRY(_start)
-
-SECTIONS
-{
- . = 1M;
-
- .boot BLOCK(4K) : ALIGN(4K)
- {
- KEEP(*(.multiboot_header))
- }
-
- .text BLOCK(4K) : ALIGN(4K)
- {
- *(.text)
- }
-
- .rodata BLOCK(4K) : ALIGN(4K)
- {
- *(.rodata)
- }
-
- .data BLOCK(4K) : ALIGN(4K)
- {
- *(.data)
- }
-
- .bss BLOCK(4K) : ALIGN(4K)
- {
- *(COMMON)
- *(.bss)
- }
-
- /DISCARD/ :
- {
- *(.comment.*)
- *(.note.*)
- *(.eh_frame)
- }
-}