Ver Fonte

* fix argc error

git-svn-id: trunk@14250 -
pierre há 16 anos atrás
pai
commit
26869de684
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      rtl/solaris/x86_64/start.inc

+ 2 - 2
rtl/solaris/x86_64/start.inc

@@ -197,8 +197,8 @@ asm
  * the argv array to the start of the argv array.
  */
 *)
-   movq   0x16(%rbp),%rax
-   movq   %rax,argc
+   movq   0x10(%rbp),%rax
+   movl   %eax,argc
    movq   _environ,%rcx
    testq  %rcx,%rcx
    jne    .Label3