This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: --enable-shared doesn't work on Sun-3
- To: law at cygnus dot com
- Subject: Re: --enable-shared doesn't work on Sun-3
- From: Toon Moene <toon at moene dot indiv dot nluug dot nl>
- Date: Mon, 10 Aug 98 17:07:37 +0200
- Cc: Kate Hedstrom <kate at ahab dot rutgers dot edu>, egcs-bugs at cygnus dot com
- Organization: Moene Computational Physics, Maartensdijk, The Netherlands
- References: <1085.902727553@hurl.cygnus.com>
> The problem is gas, not egcs.
Is it ?
> gas does not accept the PIC code generated for m68ks
> running StunOS; the StunOS assembler should support jbsr
> blah,a1 syntax.
Note that on my m68k-next-nextstep3 system exactly the same code is
generated, and the native compiler on my system _is_ gas.
I personally got a useful reply by John Vickers (don't know why he
didn't sent it to the list):
> I think egcs is doing the right thing for the sun
> assembler, which recognises jbsr
> _demangle_template_template_parm,a1 as some kind of
> voodoo. I think there are comments in the md about this.
> I guess the nature of the voodoo could be figured out by
> playing with sun objdump & sun as.
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.
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.
HTH,
Toon.