This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/16314] EP9312 gcc: undefined reference to __divdf3
- From: "rearnsha at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Nov 2004 11:03:32 -0000
- Subject: [Bug target/16314] EP9312 gcc: undefined reference to __divdf3
- References: <20040701131953.16314.wouter@vidicode.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From rearnsha at gcc dot gnu dot org 2004-11-23 11:03 -------
Subject: Re: EP9312 gcc: undefined reference to __divdf3
On Tue, 2004-11-23 at 06:04, zhangyijin_2008 at 163 dot com wrote:
> I use this function and I test it can run ok. But I don`t know can it run ok
> always?
> ldfd f1, [fp, #-24]
> ldfd f0, [fp, #-32]
> dvfd f0, f1, f0
These are FPA instructions, the ep9312 does not have an FPA co-processor
and your linux kernel is emulating their behaviour in software. That
won't work on an embedded system.
R.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16314