This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [m68k] Fix m68k-netbsdelf bootstrap
On Fri, Jan 23, 2004 at 01:52:06PM +0100, Bernardo Innocenti wrote:
> Gunther Nikl wrote:
> >On Thu, Jan 22, 2004 at 01:04:25AM +0100, Bernardo Innocenti wrote:
> >
> >>>[M68K_REGNAME define]
> >>
> >>Anyway, this conditional code is going to be ripped out now that
> >>Gunther confirmed that GAS knows about %fp in m68k-amigaos.
> >
> > I would prefer to have the "FRAME_POINTER_REGNUM == 14" in the macro
> > definition.
>
> Ok then, we'll move definition of FRAME_POINTER_REGNUM to
> config.gcc/tm_defines, which is also nicer.
Is that really necessary? FRAME_POINTER_REGNUM can be (re-)defined
after M68K_REGNAME is defined since M68K_REGNAME gets evaluated only
when its used.
The same is true for all other usage of FRAME_POINTER_REGNUM.
Gunther