Use linker script to add boot sector magic

This commit is contained in:
2025-09-29 17:45:21 +02:00
parent 7cbd423ef9
commit 50e3017c5c
2 changed files with 5 additions and 3 deletions

View File

@@ -17,4 +17,9 @@ SECTIONS {
.data : {
*(.data)
}
. = 0x7dfe;
.magic : {
SHORT(0xAA55);
}
}