This is the mail archive of the
mailing list for the GCC project.
Re: [m68k] Fix m68k-netbsdelf bootstrap
On Wed, Jan 14, 2004 at 12:49:37AM +0100, Bernardo Innocenti wrote:
> Richard Henderson wrote:
> >Well, there's still the matter of a6 vs fp. Do all assemblers
> >support a6? (I'd hope so, but...).
> The opposite is most likely true: several m68k assemblers I used on
> the Amiga didn't have any "fp" register, because using link/unlink
> wasn't common practice. Even most C compilers didn't use it by
I can understand that an m68k assembler doesn't know a %FP register
but not knowing %A6 would be a bug.
> Anyway, I like seeing "fp" in GCC's output as it helps reading
> the code. Could we add yet another hook in m68k.h such as
> #undef M68K_FP_REG_NAME
> #define M68K_FP_REG_NAME "fp"
The problem I have with this is the fact %FP might be bound to a different
register, eg. with m68k-amigaos %FP == %A5.