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

On Tue, Feb 17, 2004 at 08:55:22PM +0100, Bernardo Innocenti wrote:
> Ian Lance Taylor wrote:
> >> 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 checked how GAS 2.x copes with the register prefix. Using the same
 logic in an older version doesn't seem to be a straight forward change.

> >I suppose it depends upon how much the gcc cleanup is worth.
> The most valuable cleanup would be removing the distinction between
> MOTOROLA and MIT syntaxes.  This could be done once the OpenBSD/m68k
> platforms migrate to binutils 2.x, or when they are dropped ;-)

  The AmigaOS/68k port uses MIT syntax because the AmigaOS/68k port is
  a simple a.out port and thus doesn't need any special features. So
  far GAS 1.x (with some enhancements) was sufficient and AFAICT, its
  faster than a BFD-based version.
  I would like to keep MIT syntax and maybe converting the MOTOROLA
  define into a commandline switch.


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