diff --git a/ape/ape.S b/ape/ape.S index 9ff9f4cd9..5934353c7 100644 --- a/ape/ape.S +++ b/ape/ape.S @@ -1425,8 +1425,8 @@ golong: cli // Long mode is long. .code64 -long: push $GDT_LONG_DATA - pop %rax +long: xor %eax,%eax + mov $GDT_LONG_DATA,%al mov %eax,%ds mov %eax,%ss mov %eax,%es