os_kernel_lab/labcodes/lab8/tools/boot.ld
2013-09-17 22:21:48 +08:00

16 lines
219 B
Plaintext

OUTPUT_FORMAT("elf32-i386")
OUTPUT_ARCH(i386)
SECTIONS {
. = 0x7C00;
.startup : {
*bootasm.o(.text)
}
.text : { *(.text) }
.data : { *(.data .rodata) }
/DISCARD/ : { *(.eh_*) }
}