forked from metaverse/kernel-dev
65 lines
787 B
Plaintext
65 lines
787 B
Plaintext
OUTPUT_FORMAT("elf64-x86-64", "elf64-x86-64", "elf64-x86-64")
|
|
OUTPUT_ARCH(i386:x86-64)
|
|
ENTRY(init32)
|
|
|
|
SECTIONS {
|
|
. = 1M;
|
|
.entry :
|
|
{
|
|
init32 = .;
|
|
*(.entry)
|
|
}
|
|
.multiboot2 :
|
|
{
|
|
*(.multiboot2)
|
|
}
|
|
.cpumeta :
|
|
{
|
|
*(.cpumeta)
|
|
}
|
|
. = 4M;
|
|
..kstack :
|
|
{
|
|
kstack = .;
|
|
*(.kstack)
|
|
}
|
|
. = 16M;
|
|
.text :
|
|
{
|
|
*(.text)
|
|
}
|
|
.data :
|
|
{
|
|
*(.data)
|
|
}
|
|
.rodata :
|
|
{
|
|
*(.rodata)
|
|
}
|
|
.bss :
|
|
{
|
|
*(.bss)
|
|
}
|
|
.eh_frame :
|
|
{
|
|
*(.eh_frame)
|
|
}
|
|
.got :
|
|
{
|
|
*(.got)
|
|
}
|
|
.got.plt :
|
|
{
|
|
*(.got.plt)
|
|
}
|
|
.iplt :
|
|
{}
|
|
.rela.dyn :
|
|
{}
|
|
.igot.plt :
|
|
{}
|
|
.kend :
|
|
{
|
|
*(.kend)
|
|
}
|
|
} |