os_kernel_lab/labcodes/lab2/tools/boot.ld

16 lines
219 B
Plaintext
Raw Permalink Normal View History

2012-08-22 12:32:13 +08:00
OUTPUT_FORMAT("elf32-i386")
OUTPUT_ARCH(i386)
SECTIONS {
. = 0x7C00;
.startup : {
*bootasm.o(.text)
}
.text : { *(.text) }
.data : { *(.data .rodata) }
/DISCARD/ : { *(.eh_*) }
}