2020-09-06 04:35:32 +03:00
|
|
|
OUTPUT_FORMAT(elf32-i386)
|
2021-12-19 03:08:34 +03:00
|
|
|
OUTPUT_ARCH(i386)
|
2020-09-18 23:15:27 +03:00
|
|
|
ENTRY(_start)
|
2020-09-06 04:35:32 +03:00
|
|
|
|
|
|
|
SECTIONS
|
|
|
|
{
|
2020-09-06 06:15:55 +03:00
|
|
|
. = 0x70000;
|
2020-09-06 04:35:32 +03:00
|
|
|
|
|
|
|
.text : {
|
2021-12-19 03:08:34 +03:00
|
|
|
*(.entry)
|
|
|
|
*(.text .text.*)
|
2020-09-06 04:35:32 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.rodata : {
|
2021-12-19 03:08:34 +03:00
|
|
|
*(.rodata .rodata.*)
|
2020-09-06 04:35:32 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.data : {
|
2021-12-19 03:08:34 +03:00
|
|
|
*(.data .data.*)
|
2020-09-06 04:35:32 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.bss : {
|
|
|
|
bss_begin = .;
|
|
|
|
*(COMMON)
|
2021-12-19 03:08:34 +03:00
|
|
|
*(.bss .bss.*)
|
2020-09-06 04:35:32 +03:00
|
|
|
bss_end = .;
|
|
|
|
}
|
2020-09-25 23:36:26 +03:00
|
|
|
|
2021-12-19 03:08:34 +03:00
|
|
|
.symtab 0 : {
|
2021-05-31 01:32:43 +03:00
|
|
|
*(.symtab)
|
|
|
|
}
|
|
|
|
|
2021-12-19 03:08:34 +03:00
|
|
|
.strtab 0 : {
|
2021-05-31 01:32:43 +03:00
|
|
|
*(.strtab)
|
|
|
|
}
|
|
|
|
|
2021-12-19 03:08:34 +03:00
|
|
|
.shstrtab 0 : {
|
2021-05-31 01:32:43 +03:00
|
|
|
*(.shstrtab)
|
|
|
|
}
|
|
|
|
|
2020-09-25 23:36:26 +03:00
|
|
|
/DISCARD/ : {
|
|
|
|
*(*)
|
|
|
|
}
|
2020-09-06 04:35:32 +03:00
|
|
|
}
|