1
0

i386: Add new arch support! (woefully incomplete)

This commit is contained in:
2012-11-15 00:38:10 -05:00
parent c76991b1b5
commit cee0ac7dda
8 changed files with 201 additions and 0 deletions

18
arch/i386/kernel.ld Normal file
View File

@ -0,0 +1,18 @@
ENTRY (start)
SECTIONS
{
. = 0x00100000;
.text ALIGN (0x1000) : { *(.text*) *(.rodata*) }
.init : {
early_initcalls_start = .;
*(.earlyinitcalls*)
early_initcalls_end = .;
initcalls_start = .;
*(.driversubsysinitcalls*)
*(.deviceinitcalls*)
initcalls_end = .;
}
.data ALIGN (0x1000) : { *(.data*) }
.bss : { *(.bss*) *(COMMON*) }
}