aboutsummaryrefslogtreecommitdiffstats
path: root/linker.ld
diff options
context:
space:
mode:
Diffstat (limited to 'linker.ld')
-rw-r--r--linker.ld21
1 files changed, 0 insertions, 21 deletions
diff --git a/linker.ld b/linker.ld
deleted file mode 100644
index 0f33778..0000000
--- a/linker.ld
+++ /dev/null
@@ -1,21 +0,0 @@
-MEMORY
-{
- boot_sector (rwx) : ORIGIN = 0x7c00, LENGTH = 512
- stage2 (rwx) : ORIGIN = 0x7e00, LENGTH = 512
- kernel (rwx) : ORIGIN = 0x8000, LENGTH = 0x10000
-}
-
-ENTRY(_start)
-SECTIONS
-{
- .boot_sector : { *(.boot_sector); } > boot_sector
- .stage2 : { *(.stage2); } > stage2
- .text : { *(.text); } > kernel
- .data : { *(.data); } > kernel
- .rodata : { *(.rodata); } > kernel
- .bss :
- {
- *(.bss)
- *(COMMON)
- } > kernel
-}