20 lines
289 B
Plaintext
20 lines
289 B
Plaintext
OUTPUT_FORMAT("elf32-i386")
|
|
OUTPUT_ARCH(i386)
|
|
|
|
ENTRY(kmain)
|
|
|
|
SECTIONS
|
|
{
|
|
. = 0;
|
|
.text ALIGN(16) : {
|
|
*(.text)
|
|
. = ALIGN(16);
|
|
*(.data)
|
|
. = ALIGN(16);
|
|
*(.rodata*)
|
|
. = ALIGN(16);
|
|
*(.bss)
|
|
}
|
|
/*. += 512; /*Something to try if we get spooky memory corruption*/
|
|
_kernel_end = .;
|
|
} |