mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-29 15:00:27 +02:00
* removed accidentally committed global disable of assembler int_str
* fixed compilation of int_str on darwin/pic * disabled int_str for darwin because it crashes git-svn-id: trunk@9785 -
This commit is contained in:
parent
95c991872b
commit
8c45c66e13
@ -1095,8 +1095,8 @@ end;
|
|||||||
{****************************************************************************
|
{****************************************************************************
|
||||||
Str()
|
Str()
|
||||||
****************************************************************************}
|
****************************************************************************}
|
||||||
{$ifdef disabled}
|
|
||||||
|
|
||||||
|
{$ifndef darwin}
|
||||||
{$define FPC_SYSTEM_HAS_INT_STR_LONGWORD}
|
{$define FPC_SYSTEM_HAS_INT_STR_LONGWORD}
|
||||||
{$define FPC_SYSTEM_HAS_INT_STR_LONGINT}
|
{$define FPC_SYSTEM_HAS_INT_STR_LONGINT}
|
||||||
|
|
||||||
@ -1146,7 +1146,7 @@ str_int_shortcut:
|
|||||||
.Lpic:
|
.Lpic:
|
||||||
pop %ebx
|
pop %ebx
|
||||||
{$ifdef darwin}
|
{$ifdef darwin}
|
||||||
movl digits-.LPIC(%ebx),%ebx
|
movl digits-.Lpic(%ebx),%ebx
|
||||||
{$else}
|
{$else}
|
||||||
addl $_GLOBAL_OFFSET_TABLE_,%ebx
|
addl $_GLOBAL_OFFSET_TABLE_,%ebx
|
||||||
movl digits@GOT(%ebx),%ebx
|
movl digits@GOT(%ebx),%ebx
|
||||||
@ -1198,8 +1198,7 @@ str_int_shortcut:
|
|||||||
popl %edi
|
popl %edi
|
||||||
popl %esi
|
popl %esi
|
||||||
end;
|
end;
|
||||||
|
{$endif not darwin}
|
||||||
{$endif disabled}
|
|
||||||
|
|
||||||
{****************************************************************************
|
{****************************************************************************
|
||||||
Bounds Check
|
Bounds Check
|
||||||
|
Loading…
Reference in New Issue
Block a user