This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [m68k] Remove SGS assembler support
Gunther Nikl <gni@gecko.de> writes:
> On Sun, Feb 15, 2004 at 07:29:11PM +0100, Bernardo Innocenti wrote:
> > Ian Lance Taylor wrote:
> > >I think it would be safe to assume that anybody using the m68k-aout
> > >target is using gas, and it is safe for gcc to always emit the
> > >register prefix.
> >
> > That's good. Gunther, Andreas, do you also agree? Can we remove
> > all the REGISTER_PREFIX stuff from the m68k backend?
>
> I don't think so. Only GAS 2.x accepts a REGISTER_PREFIX on targets that
> don't need it. AFAIK, the openbsd target uses a GAS 1.x version.
It would be a trivial change for the OpenBSD m68k assembler to accept
and ignore an optional register prefix. It can already handle a
required register prefix.
I suppose it depends upon how much the gcc cleanup is worth.
Ian