update name of code to labcodes
This commit is contained in:
15
labcodes/lab2/tools/boot.ld
Normal file
15
labcodes/lab2/tools/boot.ld
Normal file
@@ -0,0 +1,15 @@
|
||||
OUTPUT_FORMAT("elf32-i386")
|
||||
OUTPUT_ARCH(i386)
|
||||
|
||||
SECTIONS {
|
||||
. = 0x7C00;
|
||||
|
||||
.startup : {
|
||||
*bootasm.o(.text)
|
||||
}
|
||||
|
||||
.text : { *(.text) }
|
||||
.data : { *(.data .rodata) }
|
||||
|
||||
/DISCARD/ : { *(.eh_*) }
|
||||
}
|
||||
Reference in New Issue
Block a user