Move to higher half

master
WangRunji 6 years ago
parent 84e1f148c2
commit 7f00001fd1

@ -0,0 +1,33 @@
ENTRY(_start)
KERNEL_BEGIN = 0xffffff0000000000;
SECTIONS {
. = KERNEL_BEGIN;
.rodata ALIGN(4K):
{
*(.rodata .rodata.*)
}
.text ALIGN(4K):
{
*(.text .text.*)
}
.data ALIGN(4K):
{
*(.data .data.*)
}
.got ALIGN(4K):
{
*(.got .got.*)
}
.bss ALIGN(4K):
{
*(.bss .bss.*)
}
}

@ -9,6 +9,11 @@
"os": "none",
"executables": true,
"linker": "rust-lld",
"pre-link-args": {
"ld.lld": [
"-Tsrc/arch/x86_64/linker.ld"
]
},
"disable-redzone": true,
"features": "-mmx,-sse,+soft-float",
"panic-strategy": "abort"

Loading…
Cancel
Save