[m68k] Remove SGS assembler support

Ian Lance Taylor ian@wasabisystems.com
Mon Feb 9 04:18:00 GMT 2004


Bernardo Innocenti <bernie@develer.com> writes:

> I'd also like to remove register prefix handling (%/ and the stuff you've
> taken care of earlier).  To my surprise, I've discovered that we still
> have one live target that doesn't use register prefixes: m68k-aout.
> 
> I wonder which weird assembler they use: gas always used '%' afaik.
> Do you know anyone still using this target?  I'm afraid we're too
> late to obsolete m68k-aout at this time :-(

gas has never required the '%' prefix for m68k targets which used the
a.out object file format, such as SunOS.  I suspect that the native
SunOS assembler did not accept the '%' prefix, and that m68k-aout was
copied from that.

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.

Ian



More information about the Gcc-patches mailing list