1
0
Fork 0
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:
Stefan Lankes 2015-05-24 09:49:17 +02:00
parent e03f4b61ae
commit 18630efa6c

View file

@ -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)