Skip to content

Commit 54adb4c

Browse files
committed
Rename boot sector linker script
1 parent b14b4e3 commit 54adb4c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

bios/boot_sector/16-bit-linker.ld renamed to bios/boot_sector/boot-sector-link.ld

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,6 @@ SECTIONS {
5151
{
5252
SHORT(0xaa55) /* magic number for bootable disk */
5353
}
54+
55+
_second_stage_start = .;
5456
}

bios/boot_sector/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ fn main() {
44
let local_path = Path::new(env!("CARGO_MANIFEST_DIR"));
55
println!(
66
"cargo:rustc-link-arg-bins=--script={}",
7-
local_path.join("16-bit-linker.ld").display()
7+
local_path.join("boot-sector-link.ld").display()
88
)
99
}

0 commit comments

Comments
 (0)