This is the mail archive of the
mailing list for the GCC project.
Re: [m68k] Fix m68k-netbsdelf bootstrap
Richard Henderson wrote:
On Tue, Jan 13, 2004 at 02:52:52PM +0100, Andreas Schwab wrote:
This is easy, now that we require C89. Tested with a ia64->m68k-linux
cross compiler. Could you please double check?
I was going to say it wouldn't work, but then I recalled the
way cpp expands macros allows overriding REGISTER_PREFIX after
the definition REGISTER_NAMES.
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
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
#define M68K_FP_REG_NAME "fp"
// Bernardo Innocenti - Develer S.r.l., R&D dept.