* 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:
Jonas Maebe 2008-01-18 23:09:37 +00:00
parent 95c991872b
commit 8c45c66e13

View File

@ -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