[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-libc-dev] A possible workaround to bug #21872
From: |
Dmitry K. |
Subject: |
[avr-libc-dev] A possible workaround to bug #21872 |
Date: |
Wed, 23 Jan 2008 09:03:20 +1000 |
User-agent: |
KMail/1.5 |
Hi.
Avr-libc bug #21872: __floatunsisf/undisf incorrectly named
This bug is fixed at the end of 2007 in HEAD and 1.6
branches.
(Remember: It enlarges the program size approx. by 1kB. The
reason is incorrect name of function unsigned_long_to_float
conversion. So the libgcc's variant is used: large if flash
and RAM. This bug is actual with new compiler - 4.2 - for
all Avr-libc branches, including 1.4, 1.2 and so on.)
This is actually to users who are not happy to load
a corrected CVS Avr-libc version.
The possible workaround is to add the needed function
manualy like:
extern float __floatunssisf (unsigned long u);
float __floatunsisf (unsigned long u)
{
return __floatunssisf (u);
}
This is not the best method. This is the simplest
to understand.
Regards,
Dmitry.
- [avr-libc-dev] A possible workaround to bug #21872,
Dmitry K. <=