limine/decompressor/linker.ld

41 lines
567 B
Plaintext
Raw Permalink Normal View History

OUTPUT_FORMAT(elf32-i386)
2021-12-19 03:08:34 +03:00
OUTPUT_ARCH(i386)
ENTRY(_start)
PHDRS
{
text PT_LOAD FLAGS(0x05);
rodata PT_LOAD FLAGS(0x04);
data PT_LOAD FLAGS(0x06);
}
SECTIONS
{
. = 0x70000;
.text : {
2021-12-19 03:08:34 +03:00
*(.entry)
*(.text .text.*)
} :text
.rodata : {
*(.rodata .rodata.*)
} :rodata
2022-08-12 14:10:36 +03:00
.data : {
2021-12-19 03:08:34 +03:00
*(.data .data.*)
} :data
.bss : {
bss_begin = .;
2021-12-19 03:08:34 +03:00
*(.bss .bss.*)
2023-07-15 02:10:06 +03:00
*(COMMON)
bss_end = .;
} :data
/DISCARD/ : {
2024-06-01 18:38:23 +03:00
*(.eh_frame*)
2022-08-12 14:10:36 +03:00
*(.note .note.*)
}
}