소스 검색

Fix i386-darwin rtl build failure

git-svn-id: trunk@40778 -
pierre 6 년 전
부모
커밋
e30aa5945d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      rtl/darwin/x86/x86hnd.inc

+ 1 - 1
rtl/darwin/x86/x86hnd.inc

@@ -95,7 +95,7 @@ begin
       { the ABI expects the stack pointer to be 4 bytes off alignment }
       { due to the return address which has been pushed -- but take into account
         that esp may already unaligned in case of a leaf routine }
-      if (sigcontext^.uc_mcontext^.ts.rsp and 15)=0 then
+      if (sigcontext^.uc_mcontext^.ts.esp and 15)=0 then
         dec(sigcontext^.uc_mcontext^.ts.esp,sizeof(pointer));
       { return to run time error handler }
       sigcontext^.uc_mcontext^.ts.eip:=ptruint(@HandleErrorAddrFrame);