summaryrefslogtreecommitdiff
path: root/src/kernel/linker.ld
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/linker.ld')
-rw-r--r--src/kernel/linker.ld42
1 files changed, 0 insertions, 42 deletions
diff --git a/src/kernel/linker.ld b/src/kernel/linker.ld
deleted file mode 100644
index a910d4e..0000000
--- a/src/kernel/linker.ld
+++ /dev/null
@@ -1,42 +0,0 @@
-ENTRY(_start)
-
-SECTIONS
-{
- . = 0;
- .shared BLOCK(4K) : ALIGN(4K)
- {
- *(.multiboot)
- *(.shared)
- _shared_len = .;
- }
-
- . = 1M;
- .text BLOCK(4K) : ALIGN(4K)
- {
- _kern_start = .;
- *(.text)
- }
- .rodata BLOCK(4K) : ALIGN(4K)
- {
- *(.rodata)
- }
- .data BLOCK(4K) : ALIGN(4K)
- {
- *(.data)
- }
- _data_end = .;
- .bss BLOCK(4K) : ALIGN(4K)
- {
- *(COMMON)
- *(.bss)
-
- . += 16K;
- _isr_big_stack = .;
-
- . += 16K;
- _stack_top = .;
- }
- _bss_end = (. + 0xFFF) & ~0xFFF; /* aligned to 4K */
- pbitmap = _bss_end;
- pbitmap_start = _bss_end;
-}