Browse Source

* fix argc error

git-svn-id: trunk@14250 -
pierre 15 years ago
parent
commit
26869de684
1 changed files with 2 additions and 2 deletions
  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