소스 검색

* fix argc error

git-svn-id: trunk@14250 -
pierre 16 년 전
부모
커밋
26869de684
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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