《操作系统》的实验代码。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
219 B

пре 9 година
  1. OUTPUT_FORMAT("elf32-i386")
  2. OUTPUT_ARCH(i386)
  3. SECTIONS {
  4. . = 0x7C00;
  5. .startup : {
  6. *bootasm.o(.text)
  7. }
  8. .text : { *(.text) }
  9. .data : { *(.data .rodata) }
  10. /DISCARD/ : { *(.eh_*) }
  11. }