This is the mail archive of the gcc-bugs@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]

Re: --enable-shared doesn't work on Sun-3



  In message <9808101507.AA18906@moene.indiv.nluug.nl>you write:
  > >  The problem is gas, not egcs.
  > 
  > Is it ?
Yes.  I happen to know this code in the m68k compiler -- I wrote it
many eons ago.

  > Note that on my m68k-next-nextstep3 system exactly the same code is  
  > generated, and the native compiler on my system _is_ gas.
And it's accepted?  In that case, NeXT must have hacked the assembler.

  > I don't know what to think of this; either:
  > 
  > 1. The S[t]un assembler recognises the jbsr aap,a1 construct as
  >    special and generate the right stuff for PIC - then we can't
  >    do nothing here, although Kate could try to use the original
  >    Sun assembler.
Right.  This is exactly what is happening.

  > or:
  > 
  > 2. jbsr aap,a1 is simply jbsr aap(a1) in Motorola/MIT syntax, and
  >    then egcs can be repaired to generate the correct assembler.
Nope.
jeff


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