This repository has been archived on 2024-11-18. You can view files and clone it, but cannot push or open issues or pull requests.
2023-12-03 17:08:00 +08:00
|
|
|
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;
|
2023-12-05 19:36:10 +08:00
|
|
|
..kstack :
|
2023-12-03 17:08:00 +08:00
|
|
|
{
|
|
|
|
kstack = .;
|
2023-12-05 19:36:10 +08:00
|
|
|
*(.kstack)
|
2023-12-03 17:08:00 +08:00
|
|
|
}
|
|
|
|
. = 16M;
|
|
|
|
.text :
|
|
|
|
{
|
|
|
|
*(.text)
|
|
|
|
}
|
|
|
|
.data :
|
|
|
|
{
|
|
|
|
*(.data)
|
|
|
|
}
|
|
|
|
.rodata :
|
|
|
|
{
|
|
|
|
*(.rodata)
|
|
|
|
}
|
|
|
|
.bss :
|
|
|
|
{
|
|
|
|
*(.bss)
|
|
|
|
}
|
2024-01-16 23:58:11 +08:00
|
|
|
.comment :
|
|
|
|
{
|
|
|
|
*(.comment)
|
|
|
|
}
|
2023-12-03 17:08:00 +08:00
|
|
|
.eh_frame :
|
|
|
|
{
|
|
|
|
*(.eh_frame)
|
|
|
|
}
|
|
|
|
.got :
|
|
|
|
{
|
|
|
|
*(.got)
|
|
|
|
}
|
|
|
|
.got.plt :
|
|
|
|
{
|
|
|
|
*(.got.plt)
|
|
|
|
}
|
|
|
|
.iplt :
|
|
|
|
{}
|
|
|
|
.rela.dyn :
|
|
|
|
{}
|
|
|
|
.igot.plt :
|
|
|
|
{}
|
|
|
|
.kend :
|
|
|
|
{
|
|
|
|
*(.kend)
|
|
|
|
}
|
|
|
|
}
|