This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Cleanups for the m68k backend
On Monday 07 July 2003 11:24, Andreas Schwab wrote:
> Bernardo Innocenti <bernie@develer.com> writes:
> |> If we deprecate these remaining platforms, we can finally say
> |> goodbye to this dual-syntax maintenance hell.
>
> Note that GAS accepts both syntaxes, so if every supported target is
> using GAS then we can rip it out immediately. Anyone knows what
> assembler OpenBSD is using? The only other obstacle would be
> m68000-hp-hpux* with the native assembler.
Not a problem:
m68000-hp-hpux*) # HP 9000 series 300
if test x$gas = xyes
then
tm_file=m68k/hp310g.h
else
tm_file=m68k/hp310.h
fi
both hp310.h and hp310g.h include hp320.h, which contains:
#ifndef USE_GAS
#define MOTOROLA /* Use Motorola syntax rather than "MIT" */
#define SGS /* Uses SGS assembler */
#define SGS_CMP_ORDER /* Takes cmp operands in reverse order */
#define HPUX_ASM
[...]
So we're either using GAS, supporting both syntaxes, or the SGS
assembler which is basically MOTOROLA + some tweaks.
--
// Bernardo Innocenti - Develer S.r.l., R&D dept.
\X/ http://www.develer.com/
Please don't send Word attachments - http://www.gnu.org/philosophy/no-word-attachments.html