Subject: Re: gcc-2.7.2, "operand mismatch", how did we fix it?
To: None <seebs@solon.com>
From: Niklas Hallqvist <niklas@appli.se>
List: port-m68k
Date: 04/10/1996 07:19:45
>>>>> "Peter" == Peter Seebach <seebs@solon.com> writes:
Peter> For a little while after the switch to 2.7.2, there was a
Peter> problem where, with -fpic, gcc's output would choke the
Peter> assembler with /usr/tmp/cca23700.s:176: Error: operands
Peter> mismatch -- statement `jbsr _CharWidth,a1' ignored
Peter> or the equivalent.
The ",a1" notion is a hint to the Sun assembler that this is PIC code.
It's rather obsolete but the compiler still generates it.
Peter> I'm now getting this from gcc 2.7.2, built --with-gas, on
Peter> SunOS, and would like a pointer to the fix.
Hmm, don't you use the NetBSD assembler? Well, then you should not
build with PIC. Neither FSFs assembler nor linker can (yet) deal with
NetBSD PIC.
Niklas
Niklas Hallqvist Phone: +46-(0)31-40 75 00 Home: +46-(0)31-41 93 95
Applitron Datasystem Fax: +46-(0)31-83 39 50 Home: +46-(0)31-41 93 96
Molndalsvagen 95 Email: niklas@appli.se GSM: +46-(0)70-714 10 35
S-412 63 GOTEBORG WWW: Here
Sweden IRC: niklas (#NetBSD)