This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [m68k] Remove SGS assembler support


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]