Skip to content

Commit

Permalink
Merge pull request #492 from rust-osdev/fix/nightly-2024-07-14
Browse files Browse the repository at this point in the history
don't use label starting with `1`
  • Loading branch information
phil-opp committed Jul 22, 2024
2 parents 2d3bd56 + 3fec974 commit 1d8a69c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/instructions/segmentation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,10 @@ impl Segment for CS {
unsafe {
asm!(
"push {sel}",
"lea {tmp}, [1f + rip]",
"lea {tmp}, [55f + rip]",
"push {tmp}",
"retfq",
"1:",
"55:",
sel = in(reg) u64::from(sel.0),
tmp = lateout(reg) _,
options(preserves_flags),
Expand Down

0 comments on commit 1d8a69c

Please sign in to comment.