This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libffi/20730] Assembler illegal subtraction in libffi on Solaris 8 Intel


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]