Explorar o código

* Fix incorrect instruction size

git-svn-id: trunk@15935 -
pierre %!s(int64=15) %!d(string=hai) anos
pai
achega
61547f6a5a
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      rtl/win64/system.pp

+ 2 - 2
rtl/win64/system.pp

@@ -408,14 +408,14 @@ procedure Exe_entry;[public,alias:'_FPC_EXE_Entry'];
      end;
      end;
      StackTop:=st;
      StackTop:=st;
      asm
      asm
-        xorl %rax,%rax
+        xorq %rax,%rax
         movw %ss,%ax
         movw %ss,%ax
 {$ifdef FPC_HAS_RIP_RELATIVE}
 {$ifdef FPC_HAS_RIP_RELATIVE}
         movl %eax,_SS(%rip)
         movl %eax,_SS(%rip)
 {$else}
 {$else}
         movl %eax,_SS
         movl %eax,_SS
 {$endif}
 {$endif}
-        xorl %rbp,%rbp
+        xorq %rbp,%rbp
         call PASCALMAIN
         call PASCALMAIN
         popq %rbp
         popq %rbp
         popq %rax
         popq %rax