- Implement portable fabsf.c
- Move some ARM stubs to a better location
- Add stubs for __dtoi64, __i64tos, __u64tos, _clearfp

svn path=/trunk/; revision=67537
This commit is contained in:
Timo Kreuzer 2015-05-03 18:15:19 +00:00
parent f982ad2644
commit 344e771eb2
8 changed files with 114 additions and 0 deletions

View file

@ -0,0 +1,24 @@
/*
* COPYRIGHT: BSD - See COPYING.ARM in the top level directory
* PROJECT: ReactOS CRT library
* PURPOSE: Implementation of _clearfp
* PROGRAMMER: Timo Kreuzer (timo.kreuzer@reactos.org)
*/
/* INCLUDES ******************************************************************/
#include <kxarm.h>
/* CODE **********************************************************************/
TEXTAREA
LEAF_ENTRY _clearfp
__assertfail
bx lr
LEAF_END _clearfp
END
/* EOF */

View file

@ -0,0 +1,24 @@
/*
* COPYRIGHT: BSD - See COPYING.ARM in the top level directory
* PROJECT: ReactOS CRT library
* PURPOSE: Implementation of __dtoi64
* PROGRAMMER: Timo Kreuzer (timo.kreuzer@reactos.org)
*/
/* INCLUDES ******************************************************************/
#include <kxarm.h>
/* CODE **********************************************************************/
TEXTAREA
LEAF_ENTRY __dtoi64
__assertfail
bx lr
LEAF_END __dtoi64
END
/* EOF */

View file

@ -0,0 +1,24 @@
/*
* COPYRIGHT: BSD - See COPYING.ARM in the top level directory
* PROJECT: ReactOS CRT library
* PURPOSE: Implementation of __i64tos
* PROGRAMMER: Timo Kreuzer (timo.kreuzer@reactos.org)
*/
/* INCLUDES ******************************************************************/
#include <kxarm.h>
/* CODE **********************************************************************/
TEXTAREA
LEAF_ENTRY __i64tos
__assertfail
bx lr
LEAF_END __i64tos
END
/* EOF */

View file

@ -0,0 +1,24 @@
/*
* COPYRIGHT: BSD - See COPYING.ARM in the top level directory
* PROJECT: ReactOS CRT library
* PURPOSE: Implementation of __u64tos
* PROGRAMMER: Timo Kreuzer (timo.kreuzer@reactos.org)
*/
/* INCLUDES ******************************************************************/
#include <kxarm.h>
/* CODE **********************************************************************/
TEXTAREA
LEAF_ENTRY __u64tos
__assertfail
bx lr
LEAF_END __u64tos
END
/* EOF */

View file

@ -0,0 +1,18 @@
/*
* COPYRIGHT: BSD - See COPYING.ARM in the top level directory
* PROJECT: ReactOS CRT library
* PURPOSE: Implementation of fabsf
* PROGRAMMER: Timo Kreuzer
*/
#include <math.h>
_Check_return_
float
__cdecl
fabsf(
_In_ float x)
{
return (float)fabs((double)x);
}