[patch] m68k: Replace FP_REG with A6_REG.

Kazu Hirata kazu@codesourcery.com
Mon Jun 18 21:12:00 GMT 2007


Hi Bernardo,

>> Attached is a patch to replace FP_REG with A6_REG as suggested by
>> Roman.
> 
> The m68k-*-amigaos target moves FP to A5 because A6 is often
> reserved to invoke OS libraries through a jump table.
> 
> I know the Amiga port is unofficial, but we can easily
> avoid making the life of Gunther Nikl harder.

Yup.  That's why I'm defining FRAME_POINTER_REGNUM to be A6_REG, not 
FP_REG.  It should be easy for Gunther Nikl to replace A6_REG with A5_REG.

Kazu Hirata



More information about the Gcc-patches mailing list