os_kernel_lab/labcodes_answer/lab3_result/tools/boot.ld

16 lines
219 B
Plaintext
Raw Normal View History

2014-08-20 15:42:20 +08:00
OUTPUT_FORMAT("elf32-i386")
OUTPUT_ARCH(i386)
SECTIONS {
. = 0x7C00;
.startup : {
*bootasm.o(.text)
}
.text : { *(.text) }
.data : { *(.data .rodata) }
/DISCARD/ : { *(.eh_*) }
}