Subject: Re: gcc-2.7.2, "operand mismatch", how did we fix it?
To: None <firstname.lastname@example.org>
From: Niklas Hallqvist <email@example.com>
Date: 04/10/1996 07:19:45
>>>>> "Peter" == Peter Seebach <firstname.lastname@example.org> 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
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: email@example.com GSM: +46-(0)70-714 10 35
S-412 63 GOTEBORG WWW: Here
Sweden IRC: niklas (#NetBSD)