Add i368-elf-gcc v5.4 crosscompiler
This commit is contained in:
@ -18,6 +18,7 @@ SECTIONS {
|
||||
/* Code and readonly data */
|
||||
.text : {
|
||||
/* fill gaps with int3 opcode to detect invalid jumps */
|
||||
/* TODO: This crashes bochs */
|
||||
FILL(0xcc)
|
||||
|
||||
/* multiboot header */
|
||||
@ -55,9 +56,20 @@ SECTIONS {
|
||||
KEEP (*(".startup_stack"))
|
||||
KEEP (*(".kernel_stack"))
|
||||
*(".data*")
|
||||
*(COMMON);
|
||||
}
|
||||
|
||||
/* Uninitialized data */
|
||||
.bss : {
|
||||
_sbss = .;
|
||||
*(.bss*)
|
||||
*(COMMON)
|
||||
_ebss = .;
|
||||
}
|
||||
|
||||
/* Align and mark end of all sections — heap starts here */
|
||||
. = ALIGN(4096);
|
||||
_end = .;
|
||||
|
||||
/* Memory-mapped I/O APIC */
|
||||
_sioapic = 0xFEC00000;
|
||||
ioapic = 0xFEC00000;
|
||||
|
||||
Reference in New Issue
Block a user