Browse Source

* fixed errors

git-svn-id: trunk@2270 -
florian 19 years ago
parent
commit
4af9d14a64
3 changed files with 3 additions and 3 deletions
  1. 1 1
      rtl/linux/x86_64/cprt0.as
  2. 1 1
      rtl/linux/x86_64/gprt0.as
  3. 1 1
      rtl/linux/x86_64/prt0.as

+ 1 - 1
rtl/linux/x86_64/cprt0.as

@@ -84,7 +84,7 @@ main_stub:
         pushq   %rax
 
         /* Save initial stackpointer */
-        movl    %rsp,__stkptr
+        movq    %rsp,__stkptr
 
         /* start the program */
         xorq    %rbp,%rbp

+ 1 - 1
rtl/linux/x86_64/gprt0.as

@@ -92,7 +92,7 @@ main_stub:
         call    atexit
 
         /* Save initial stackpointer */
-        movl    %rsp,__stkptr
+        movq    %rsp,__stkptr
 
         /* start the program */
         xorq    %rbp,%rbp

+ 1 - 1
rtl/linux/x86_64/prt0.as

@@ -49,7 +49,7 @@ _start:
         andq     $~15,%rsp            /* Align the stack to a 16 byte boundary to follow the ABI.  */
 
         /* Save initial stackpointer */
-        movl    %rsp,__stkptr
+        movq    %rsp,__stkptr
 
         xorq    %rbp, %rbp
         call    PASCALMAIN