Fix running on bochs by forcing x86 pentium codegen
This commit is contained in:
@@ -39,11 +39,11 @@ SECTIONS {
|
||||
. = 0x00100000;
|
||||
|
||||
.multiboot ALIGN(4K): {
|
||||
*(.multiboot)
|
||||
KEEP(*(.multiboot))
|
||||
}
|
||||
|
||||
.boot ALIGN(4K) : {
|
||||
*(.boot)
|
||||
KEEP(*(.boot))
|
||||
}
|
||||
|
||||
. += VIRT_BASE;
|
||||
@@ -64,5 +64,11 @@ SECTIONS {
|
||||
*(.bss)
|
||||
}
|
||||
|
||||
/DISCARD/ : {
|
||||
*(.eh_frame)
|
||||
*(.comment)
|
||||
*(.note.gnu.build-id)
|
||||
}
|
||||
|
||||
__kernel_end = .;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user