Skip to content

Commit 1d8a69c

Browse files
authored
Merge pull request #492 from rust-osdev/fix/nightly-2024-07-14
don't use label starting with `1`
2 parents 2d3bd56 + 3fec974 commit 1d8a69c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/instructions/segmentation.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,10 @@ impl Segment for CS {
7575
unsafe {
7676
asm!(
7777
"push {sel}",
78-
"lea {tmp}, [1f + rip]",
78+
"lea {tmp}, [55f + rip]",
7979
"push {tmp}",
8080
"retfq",
81-
"1:",
81+
"55:",
8282
sel = in(reg) u64::from(sel.0),
8383
tmp = lateout(reg) _,
8484
options(preserves_flags),

0 commit comments

Comments
 (0)