mirror of
https://github.com/hermitcore/libhermit.git
synced 2025-03-09 00:00:03 +01:00
align kernel to 2MB, include section .text.startup
This commit is contained in:
parent
e03f4b61ae
commit
18630efa6c
1 changed files with 2 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
OUTPUT_FORMAT("elf64-x86-64")
|
||||
OUTPUT_ARCH("i386:x86-64")
|
||||
ENTRY(start)
|
||||
phys = 0x1400000;
|
||||
phys = (2 << 20);
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
|
@ -13,6 +13,7 @@ SECTIONS
|
|||
}
|
||||
.text ALIGN(4096) : AT(ADDR(.text)) {
|
||||
*(.text)
|
||||
*(.text.startup)
|
||||
}
|
||||
.rodata ALIGN(4096) : AT(ADDR(.rodata)) {
|
||||
*(.rodata)
|
||||
|
|
Loading…
Add table
Reference in a new issue