Orion
Barry Importing existing Orion kernel d41a53c (2 years, 4 months ago)diff --git a/linker.ld b/linker.ld new file mode 100644 index 0000000..ac4b5cd --- /dev/null +++ b/linker.ld @@ -0,0 +1,35 @@ +ENTRY(_start) + +SECTIONS { + + .text 1M : + { + KEEP(*(.multiboot)) + _code = .; + *(.text*) + . = ALIGN(4096); + } + + .data : + { + _data = .; + *(.rodata*) + *(.data*) + . = ALIGN(4096); + } + + .bss : + { + _bss = .; + *(.bss) + *(COMMON) + . = ALIGN(4096); + } + + _end = .; + + /DISCARD/ : + { + *(.comment) + } +}