OUTPUT_FORMAT(elf32-i386) ENTRY(_start) SECTIONS { . = 0x4000; .text : { KEEP(*(.entry*)) KEEP(*(.realmode*)) *(.text*) } .rodata : { *(.rodata*) } .data : { *(.data*) } .bss : { bss_begin = .; *(COMMON) *(.bss*) bss_end = .; } }