Explorar el Código

* fix argc error

git-svn-id: trunk@14250 -
pierre hace 16 años
padre
commit
26869de684
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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