mirror of
https://github.com/hermitcore/libhermit.git
synced 2025-03-09 00:00:03 +01:00
28 lines
483 B
Text
28 lines
483 B
Text
OUTPUT_FORMAT("elf64-x86-64")
|
|
OUTPUT_ARCH("i386:x86-64")
|
|
ENTRY(start)
|
|
phys = 0x000000100000;
|
|
|
|
SECTIONS
|
|
{
|
|
kernel_start = phys;
|
|
.mboot phys : AT(ADDR(.mboot)) {
|
|
*(.mboot)
|
|
}
|
|
.text ALIGN(4096) : AT(ADDR(.text)) {
|
|
*(.text)
|
|
}
|
|
.rodata ALIGN(4096) : AT(ADDR(.rodata)) {
|
|
*(.rodata)
|
|
*(.rodata.*)
|
|
}
|
|
.data ALIGN(4096) : AT(ADDR(.data)) {
|
|
*(.data)
|
|
}
|
|
.bss ALIGN(4096) : AT(ADDR(.bss)) {
|
|
bss_start = .;
|
|
*(.bss)
|
|
}
|
|
bss_end = .;
|
|
kernel_end = .;
|
|
}
|