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

Jeffrey A Law law@cygnus.com
Mon Aug 10 09:00:00 GMT 1998

  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.

More information about the Gcc-bugs mailing list