This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libffi/20730] Assembler illegal subtraction in libffi on Solaris 8 Intel
- From: "pfelecan at acm dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Apr 2005 13:39:01 -0000
- Subject: [Bug libffi/20730] Assembler illegal subtraction in libffi on Solaris 8 Intel
- References: <20050402160749.20730.pfelecan@acm.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pfelecan at acm dot org 2005-04-03 13:38 -------
(In reply to comment #9)
> Ok for the preprocessed source line 91 for the preproceser source:
> .long .LFB1-.
assembled on Solaris 10 Intel:
/usr/ccs/bin/as -V -Qy -s -o sysv.o sysv.s
as: Sun Compiler Common 10 s10_73 11/23/2004
Assembler:
"sysv.s", line 91 : Warning: Illegal subtraction - symbols
from different sections: ".LFB1", ".DOT-0"
> This is valid as far as I know.
> Again can you try with the GNU binutils.
it's successful with gas:
gnu-as -v -o sysv.o sysv.s
GNU assembler version 2.14 (i386-pc-solaris2.8) using BFD version 2.14 20030612
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20730