32 lines
360 B
Text
32 lines
360 B
Text
OUTPUT_FORMAT(elf32-i386)
|
|
ENTRY(_start)
|
|
|
|
SECTIONS {
|
|
. = 0x0500;
|
|
|
|
_stage1_start = .;
|
|
|
|
.header : {
|
|
KEEP(*(.header))
|
|
}
|
|
|
|
.text : ALIGN(8) {
|
|
*(.text .text.*)
|
|
}
|
|
|
|
.data : ALIGN(8) {
|
|
*(.data .data.*)
|
|
}
|
|
|
|
.rodata : ALIGN(8) {
|
|
*(.rodata .rodata.*)
|
|
}
|
|
|
|
_stage1_end = .;
|
|
|
|
.bss(NOLOAD) : ALIGN(8) {
|
|
_bss_start = .;
|
|
*(.bss .bss.*)
|
|
_bss_end = .;
|
|
}
|
|
}
|