* several PC related fixes

This commit is contained in:
florian 2002-08-31 21:29:57 +00:00
parent f107ba3bbe
commit c8a3171dc9
3 changed files with 1976 additions and 1967 deletions

View File

@ -51,7 +51,10 @@ ___fpc_brk_addr:
.long 0 .long 0
/* /*
$Log$ $Log$
Revision 1.7 2002-08-31 16:13:12 florian Revision 1.8 2002-08-31 21:29:57 florian
* several PC related fixes
Revision 1.7 2002/08/31 16:13:12 florian
* made _start global * made _start global
Revision 1.6 2002/08/31 14:02:23 florian Revision 1.6 2002/08/31 14:02:23 florian

View File

@ -952,7 +952,10 @@ end ['R3','R10'];
{ {
$Log$ $Log$
Revision 1.16 2002-08-31 16:08:36 florian Revision 1.17 2002-08-31 21:29:57 florian
* several PC related fixes
Revision 1.16 2002/08/31 16:08:36 florian
* fixed undefined labels * fixed undefined labels
Revision 1.15 2002/08/31 13:11:11 florian Revision 1.15 2002/08/31 13:11:11 florian

View File

@ -147,8 +147,8 @@ end['A0','D0'];
{$ifdef powerpc} {$ifdef powerpc}
{$define fpc_getheapstart_ok} {$define fpc_getheapstart_ok}
asm asm
lis r3,_HEAP@ha lis r3,HEAP@ha
la r3,_HEAP@l(r3) la r3,HEAP@l(r3)
end['R3']; end['R3'];
{$endif powerpc} {$endif powerpc}
{$ifndef fpc_getheapstart_ok} {$ifndef fpc_getheapstart_ok}
@ -175,8 +175,8 @@ end ['D0'];
{$ifdef powerpc} {$ifdef powerpc}
{$define fpc_getheapsize_ok} {$define fpc_getheapsize_ok}
asm asm
lis r9,_HEAPSIZE@ha lis r9,HEAPSIZE@ha
lwz r3,_HEAPSIZE@l(r9) lwz r3,HEAPSIZE@l(r9)
end ['R0','R9']; end ['R0','R9'];
{$endif powerpc} {$endif powerpc}
{$ifndef fpc_getheapsize_ok} {$ifndef fpc_getheapsize_ok}
@ -785,7 +785,10 @@ End.
{ {
$Log$ $Log$
Revision 1.26 2002-08-13 18:11:08 florian Revision 1.27 2002-08-31 21:29:57 florian
* several PC related fixes
Revision 1.26 2002/08/13 18:11:08 florian
* heap stuff for powerpc fixed * heap stuff for powerpc fixed
Revision 1.25 2002/08/03 20:05:13 florian Revision 1.25 2002/08/03 20:05:13 florian