Use linker script to add boot sector magic
This commit is contained in:
@@ -17,4 +17,9 @@ SECTIONS {
|
||||
.data : {
|
||||
*(.data)
|
||||
}
|
||||
|
||||
. = 0x7dfe;
|
||||
.magic : {
|
||||
SHORT(0xAA55);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user