mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 07:26:24 +02:00
* assembler wouldn't include always anymore ->changed i386 to cpui386.
Changed assembler SELF reference from ESI to EAX. (probably now hidden param instead of fixed register ESI) Alternative solution for Mantis #21242 git-svn-id: trunk@20968 -
This commit is contained in:
parent
5dac788b71
commit
9f6121e878
@ -87,7 +87,7 @@ Type
|
|||||||
|
|
||||||
implementation
|
implementation
|
||||||
|
|
||||||
{$ifdef i386}
|
{$ifdef cpui386}
|
||||||
{$i bzip2i386.inc}
|
{$i bzip2i386.inc}
|
||||||
{$endif}
|
{$endif}
|
||||||
|
|
||||||
|
@ -33,11 +33,11 @@ asm
|
|||||||
{ mov edx,offset c
|
{ mov edx,offset c
|
||||||
call mcount}
|
call mcount}
|
||||||
xor edx,edx
|
xor edx,edx
|
||||||
lea ebx,[esi+Tbzip2_decode_stream.cftab]
|
lea ebx,[eax+Tbzip2_decode_stream.cftab]
|
||||||
mov ecx,[esi+Tbzip2_decode_stream.tt_count]
|
mov ecx,[eax+Tbzip2_decode_stream.tt_count]
|
||||||
push esi
|
push esi
|
||||||
push ebp
|
push ebp
|
||||||
mov esi,[esi+Tbzip2_decode_stream.tt]
|
mov esi,[eax+Tbzip2_decode_stream.tt]
|
||||||
mov edi,esi
|
mov edi,esi
|
||||||
lea ebp,[4*ecx+esi]
|
lea ebp,[4*ecx+esi]
|
||||||
jmp @a2
|
jmp @a2
|
||||||
|
@ -8,11 +8,11 @@ asm
|
|||||||
{ mov edx,offset c
|
{ mov edx,offset c
|
||||||
call mcount}
|
call mcount}
|
||||||
xor edx,edx
|
xor edx,edx
|
||||||
lea ebx,[esi+TDecompressBzip2Stream.cftab]
|
lea ebx,[eax+TDecompressBzip2Stream.cftab]
|
||||||
mov ecx,[esi+TDecompressBzip2Stream.tt_count]
|
mov ecx,[eax+TDecompressBzip2Stream.tt_count]
|
||||||
push esi
|
push esi
|
||||||
push ebp
|
push ebp
|
||||||
mov esi,[esi+TDecompressBzip2Stream.tt]
|
mov esi,[eax+TDecompressBzip2Stream.tt]
|
||||||
mov edi,esi
|
mov edi,esi
|
||||||
lea ebp,[4*ecx+esi]
|
lea ebp,[4*ecx+esi]
|
||||||
jmp @a2
|
jmp @a2
|
||||||
|
@ -96,7 +96,7 @@ Type
|
|||||||
|
|
||||||
implementation
|
implementation
|
||||||
|
|
||||||
{$ifdef i386}
|
{$ifdef cpui386}
|
||||||
{$i bzip2si386.inc}
|
{$i bzip2si386.inc}
|
||||||
{$endif}
|
{$endif}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user