os_kernel_lab/code/lab2/tools/boot.ld
2012-08-22 12:32:13 +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_*) }
}