[patch] m68k: Use ASSEMBLER_DIALECT

Rask Ingemann Lambertsen rask@sygehus.dk
Mon Aug 27 20:01:00 GMT 2007


On Mon, Aug 27, 2007 at 01:17:25PM -0400, Bernardo Innocenti wrote:

> Even more time ago, I proposed to kill off the Motorola syntax,
> but it turned out that OpenBSD/m68k were still using an old version
> of as which didn't support the MIT syntax.  For some reason related
> to security, they wanted to keep using the old as along with the
> latest versions of GCC.
> 
> If OpenBSD finally upgraded their assembler, then we could get
> rid of the assembly variant altogether.
 
   I agree with Andreas Schwab and Roman Zippel here: If you're going to
drop one of the syntaxes, definitely drop the MIT one. The Motorola syntax
is easier to read, in particular when it comes to addresses.

   (I've never understood the point of the MIT syntax: Presumably, the
Motorola syntax appeared first. Why invent something clearly inferior to
replace it?)

> AmigaOS, which is an unofficial port, also defaults to the
> Motorola syntax, but they use a recent gas so they wouldn't
> notice if we switch.

   That seems like good news to me. The ADE/Geekgadgets AmigaOS port used
the MIT syntax and I cursed it for doing so every time I used -S. Good
riddance, I say.

-- 
Rask Ingemann Lambertsen



More information about the Gcc-patches mailing list