mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 13:59:29 +02:00
Fix i386-darwin rtl build failure
git-svn-id: trunk@40778 -
This commit is contained in:
parent
170ec00348
commit
e30aa5945d
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user