rulimine/decompressor/linker.ld

45 lines
530 B
Plaintext
Raw Normal View History

OUTPUT_FORMAT(elf32-i386)
2021-12-19 03:08:34 +03:00
OUTPUT_ARCH(i386)
ENTRY(_start)
SECTIONS
{
. = 0x70000;
.text : {
2021-12-19 03:08:34 +03:00
*(.entry)
*(.text .text.*)
}
.rodata : {
2021-12-19 03:08:34 +03:00
*(.rodata .rodata.*)
}
.data : {
2021-12-19 03:08:34 +03:00
*(.data .data.*)
}
.bss : {
bss_begin = .;
*(COMMON)
2021-12-19 03:08:34 +03:00
*(.bss .bss.*)
bss_end = .;
}
2021-12-19 03:08:34 +03:00
.symtab 0 : {
*(.symtab)
}
2021-12-19 03:08:34 +03:00
.strtab 0 : {
*(.strtab)
}
2021-12-19 03:08:34 +03:00
.shstrtab 0 : {
*(.shstrtab)
}
/DISCARD/ : {
*(*)
}
}