This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/14352] New: New FP code not compiled for non-arm-elf targets
- From: "drow at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Mar 2004 00:06:56 -0000
- Subject: [Bug target/14352] New: New FP code not compiled for non-arm-elf targets
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Most of the ARM target makefile fragments reference arm/lib1funcs.asm, but only
t-arm-elf references all the symbols that need to be defined to get the new
floating point code:
LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_tls _bb_init_func \
_call_via_rX _interwork_call_via_rX \
_negdf2 _addsubdf3 _muldivdf3 _cmpdf2 _unorddf2 _fixdfsi _fixunsdfsi \
_truncdfsf2 _negsf2 _addsubsf3 _muldivsf3 _cmpsf2 _unordsf2 \
_fixsfsi _fixunssfsi
t-linux just says this:
LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_lnx
This generates undefined references in libgcc_s.so to, for instance, the functions
defined by L_addsubdf3.
If I copy LIB1ASMFUNCS from t-arm-elf to t-linux that solves the problem (for
this particular target at least, and keeping _dvmd_lnx...)
--
Summary: New FP code not compiled for non-arm-elf targets
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: target
AssignedTo: rearnsha at gcc dot gnu dot org
ReportedBy: drow at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: arm-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14352