This is the mail archive of the 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

Ian Lance Taylor wrote:
Bernardo Innocenti <> 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.

It was the same also for most Amiga assemblers. Actually, AmigaOS had a small SunOS heritage because it was initially developed on a Sun workstation :-)

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? If so, I will prepare a patch.

 // Bernardo Innocenti - Develer S.r.l., R&D dept.

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