mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-06 15:38:26 +02:00
- disabled assembler ansistring helpers for darwin/x86 because they don't
keep 16 byte stack alignment git-svn-id: trunk@2852 -
This commit is contained in:
parent
988f689445
commit
15270b67be
@ -1059,6 +1059,9 @@ asm
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
{$ifndef darwin}
|
||||||
|
{ darwin requires that the stack is aligned to 16 bytes when calling another function }
|
||||||
|
|
||||||
{$define FPC_SYSTEM_HAS_ANSISTR_DECR_REF}
|
{$define FPC_SYSTEM_HAS_ANSISTR_DECR_REF}
|
||||||
function fpc_freemem_x(p:pointer):ptrint; [external name 'FPC_FREEMEM_X'];
|
function fpc_freemem_x(p:pointer):ptrint; [external name 'FPC_FREEMEM_X'];
|
||||||
|
|
||||||
@ -1132,3 +1135,4 @@ asm
|
|||||||
// [442] end;
|
// [442] end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
{$endif darwin}
|
||||||
|
Loading…
Reference in New Issue
Block a user