summaryrefslogtreecommitdiff
path: root/arch/i386/linker.ld
diff options
context:
space:
mode:
authorDanny Holman <dholman@gymli.org>2025-01-12 01:17:36 -0600
committerDanny Holman <dholman@gymli.org>2025-01-12 01:19:11 -0600
commit95cd78840f0891e60f5ebecc8a8eb4fbaf3c2ebf (patch)
treec8c35347b50477929727fa5be9f5d0f55cbe18fd /arch/i386/linker.ld
parent5e166f3042a8e7b3031aae4da7006f80caa53ecc (diff)
PROJECT RESTRUCTURING
Move the entire kernel into its own directory. Create new directories for system commands, libraries and other required essentials for a complete Unix-like operating system. Signed-off-by: Danny Holman <dholman@gymli.org>
Diffstat (limited to 'arch/i386/linker.ld')
-rw-r--r--arch/i386/linker.ld30
1 files changed, 0 insertions, 30 deletions
diff --git a/arch/i386/linker.ld b/arch/i386/linker.ld
deleted file mode 100644
index 734310f..0000000
--- a/arch/i386/linker.ld
+++ /dev/null
@@ -1,30 +0,0 @@
-ENTRY(_start)
-
-SECTIONS {
- . = 0x00100000;
- _kernel_start = .;
- .multiboot.data : {
- *(.multiboot.data)
- }
- .multiboot.text : {
- *(.multiboot.text)
- }
-
- . += 0xC0000000;
- .text ALIGN(4K) : AT(ADDR(.text) - 0xC0000000) {
- *(.text)
- }
- .rodata ALIGN(4K) : AT(ADDR(.rodata) - 0xC0000000) {
- *(.rodata)
- }
- .data ALIGN(4K) : AT(ADDR(.data) - 0xC0000000) {
- *(.data)
- }
- .bss ALIGN(4K) : AT(ADDR(.bss) - 0xC0000000) {
- *(COMMON)
- *(.bss)
- *(.bootstrap_stack)
- }
-
- _kernel_end = .;
-}