Move source files to src/, add Makefile, fix all build and linkage errors, etc.

This commit is contained in:
TuxSH
2018-02-25 20:00:50 +01:00
parent 4c7aa566f0
commit b0ea9c1a0b
58 changed files with 385 additions and 203 deletions

16
exosphere/linker.ld Normal file
View File

@@ -0,0 +1,16 @@
ENTRY(__start_cold)
SECTIONS
{
/* DUMMY LINKER SCRIPT, REPLACE ASAP */
. = 0xF0000000;
__start__ = ABSOLUTE(.);
.text : ALIGN(4) { *(.text*); . = ALIGN(4); }
.rodata : ALIGN(4) { *(.rodata*); . = ALIGN(4); }
.data : ALIGN(4) { *(.data*); . = ALIGN(8); *(.bss* COMMON); . = ALIGN(8); }
. = ALIGN(4);
__end__ = ABSOLUTE(.);
}