mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-07 06:53:33 +00:00
Don't pushpop in long mode without stack (#611)
This commit is contained in:
parent
9b89a7c51d
commit
569c031934
1 changed files with 2 additions and 2 deletions
|
@ -1425,8 +1425,8 @@ golong: cli
|
||||||
|
|
||||||
// Long mode is long.
|
// Long mode is long.
|
||||||
.code64
|
.code64
|
||||||
long: push $GDT_LONG_DATA
|
long: xor %eax,%eax
|
||||||
pop %rax
|
mov $GDT_LONG_DATA,%al
|
||||||
mov %eax,%ds
|
mov %eax,%ds
|
||||||
mov %eax,%ss
|
mov %eax,%ss
|
||||||
mov %eax,%es
|
mov %eax,%es
|
||||||
|
|
Loading…
Reference in a new issue