mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 02:07:53 +02:00
- disable the i386 assembly code for Linux/i386 as it doesn't work with a
fixed stack (uses hardcoded stack offsets) (mantis #38260) git-svn-id: trunk@47871 -
This commit is contained in:
parent
1cc31e73da
commit
ea55c5f7e3
@ -15,10 +15,10 @@
|
||||
|
||||
// Normally, if an optimized version is available for OS/CPU, that will be used
|
||||
// Define to use existing unoptimized implementation
|
||||
{ the assembler implementation does not work on darwin }
|
||||
{$ifdef darwin}
|
||||
{ the i386 assembler implementation does not work on platforms with a fixed stack }
|
||||
{$if DEFINED(CPU386) and (defined(darwin) or defined(linux))}
|
||||
{$DEFINE SHA1PASCAL}
|
||||
{$endif darwin}
|
||||
{$endif}
|
||||
|
||||
unit sha1;
|
||||
{$mode objfpc}{$h+}
|
||||
|
Loading…
Reference in New Issue
Block a user