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: [patch/m68k] convert USE_GAS into a compile-time constant


On Tue, Feb 17, 2004 at 11:55:58AM +0100, Andreas Schwab wrote:
> Gunther Nikl <gni@gecko.de> writes:
> 
> >   The uses in m68k.c are slightly more difficult to jude. One USE_GAS use
> >   could safely be removed (second use in m68k_output_mi_thunk): it uses the
> >   same test as the m68k.md cases. The first use in m68k_output_mi_thunk is
> >   a bit more difficult for the case "!MOTOROLA": there jra %0,a1" should be
> 
> "jra %0,a1" is not a valid insn.  Old comments indicate that this was a
> hack in the SunOS assembler to support PIC, but gas never implemented
> that.

  Hm, that seems to be true. I suspected that GAS does support it. Then
  "bra.l %0" should be used but that doesn't look correct for !MOTOROLA.
  This part looks strange either way.
  Its probaly the best idea to use the already approved first patch that
  makes USE_GAS a compile-time boolean.

  Gunther


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