* fixed R_TOC bugs introduced by new register allocator conversion

This commit is contained in:
Jonas Maebe 2003-03-19 14:26:26 +00:00
parent e8c5bed564
commit 5893b9bb19
2 changed files with 10 additions and 4 deletions

View File

@ -2043,7 +2043,7 @@ const
tmpref.offset := ref.offset;
tmpref.symaddr := refs_full;
tmpref.base.enum:= R_INTREGISTER;
tmpref.base.number:= NR_R0;
tmpref.base.number:= NR_RTOC;
list.concat(taicpu.op_reg_ref(A_LWZ,tmpreg,tmpref));
reference_reset(tmpref);
@ -2199,7 +2199,10 @@ begin
end.
{
$Log$
Revision 1.74 2003-03-13 22:57:45 olle
Revision 1.75 2003-03-19 14:26:26 jonas
* fixed R_TOC bugs introduced by new register allocator conversion
Revision 1.74 2003/03/13 22:57:45 olle
* change in a_loadaddr_ref_reg
Revision 1.73 2003/03/12 22:43:38 jonas

View File

@ -218,7 +218,7 @@ uses
NR_R27 = $1C00; NR_R28 = $1D00; NR_R29 = $1E00;
NR_R30 = $1F00; NR_R31 = $2000;
NR_RTOC = NR_R3;
NR_RTOC = NR_R2;
{Super registers:}
RS_R0 = $01; RS_R1 = $02; RS_R2 = $03;
@ -876,7 +876,10 @@ implementation
end.
{
$Log$
Revision 1.45 2003-03-11 21:46:24 jonas
Revision 1.46 2003-03-19 14:26:26 jonas
* fixed R_TOC bugs introduced by new register allocator conversion
Revision 1.45 2003/03/11 21:46:24 jonas
* lots of new regallocator fixes, both in generic and ppc-specific code
(ppc compiler still can't compile the linux system unit though)