mirror of
https://github.com/limine-bootloader/limine
synced 2024-12-02 21:26:59 +03:00
76 lines
1.0 KiB
Plaintext
76 lines
1.0 KiB
Plaintext
OUTPUT_FORMAT(elf32-i386)
|
|
ENTRY(_start)
|
|
|
|
SECTIONS
|
|
{
|
|
. = 0x8000;
|
|
|
|
.entry : {
|
|
*(.entry*)
|
|
}
|
|
|
|
.realmode : {
|
|
*(.realmode*)
|
|
}
|
|
|
|
.stage2.text : {
|
|
*.s2.o(.text*)
|
|
}
|
|
|
|
.stage2.build-id : {
|
|
build_id_s2 = .;
|
|
*build-id.s2.o(*)
|
|
}
|
|
|
|
.stage2.data : {
|
|
*.s2.o(.data*)
|
|
*.s2.o(.rodata*)
|
|
*(.stage2_map)
|
|
}
|
|
|
|
.stage3.text : {
|
|
stage3_addr = .;
|
|
*(.stage3_entry*)
|
|
*(.text*)
|
|
}
|
|
|
|
.stage3.build-id : {
|
|
build_id_s3 = .;
|
|
*build-id.s3.o(*)
|
|
}
|
|
|
|
.stage3.data : {
|
|
*(.data*)
|
|
*(.rodata*)
|
|
*(.full_map*)
|
|
limine_sys_size = . - 0x8000;
|
|
}
|
|
|
|
.note.gnu.build-id : {
|
|
*(.note.gnu.build-id)
|
|
}
|
|
|
|
.bss : {
|
|
bss_begin = .;
|
|
*(COMMON)
|
|
*(.bss*)
|
|
bss_end = .;
|
|
}
|
|
|
|
.symtab 0 : {
|
|
*(.symtab)
|
|
}
|
|
|
|
.strtab 0 : {
|
|
*(.strtab)
|
|
}
|
|
|
|
.shstrtab 0 : {
|
|
*(.shstrtab)
|
|
}
|
|
|
|
/DISCARD/ : {
|
|
*(*)
|
|
}
|
|
}
|