/[avr-libc]
ViewVC logotype

Revision 2428


Jump to revision: Previous Next
Author: amylaar
Date: Thu May 1 14:13:18 2014 UTC (9 years, 6 months ago)
Changed paths: 4
Log Message:
Provide a proper sqrtf declaration in math.h .
While we could have also get a functional header declaration using
__asm__ to make references use the sqrt symbol, it is preferable to
provide an actual sqrtf symbol in the library, so that code that
expects to be able to use sqrtf directly - like
gcc/gcc/testsuite/gcc.dg/pr41963.c - will work.

        * include/math.h (sqrtf): Don't #define, declare.
        * libm/fplib/asmdef.h (ALIAS_ENTRY): Define.
        * libm/fplib/sqrt.S (sqrtf): New ALIAS_ENTRY.

Changed paths:

Path Details
Directorytrunk/avr-libc/ChangeLog modified , text changed
Directorytrunk/avr-libc/include/math.h modified , text changed
Directorytrunk/avr-libc/libm/fplib/asmdef.h modified , text changed
Directorytrunk/avr-libc/libm/fplib/sqrt.S modified , text changed

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.5