Author: tkreuzer
Date: Sun May 3 18:15:19 2015
New Revision: 67537
URL:
http://svn.reactos.org/svn/reactos?rev=67537&view=rev
Log:
[CRT]
- Implement portable fabsf.c
- Move some ARM stubs to a better location
- Add stubs for __dtoi64, __i64tos, __u64tos, _clearfp
Added:
trunk/reactos/lib/sdk/crt/float/arm/ (with props)
trunk/reactos/lib/sdk/crt/float/arm/_clearfp.s (with props)
trunk/reactos/lib/sdk/crt/float/arm/_controlfp.s (with props)
trunk/reactos/lib/sdk/crt/float/arm/_fpreset.s (with props)
trunk/reactos/lib/sdk/crt/float/arm/_statusfp.s (with props)
trunk/reactos/lib/sdk/crt/math/arm/__dtoi64.s (with props)
trunk/reactos/lib/sdk/crt/math/arm/__i64tos.s (with props)
trunk/reactos/lib/sdk/crt/math/arm/__u64tos.s (with props)
trunk/reactos/lib/sdk/crt/math/fabsf.c (with props)
Removed:
trunk/reactos/lib/sdk/crt/math/arm/_controlfp.s
trunk/reactos/lib/sdk/crt/math/arm/_fpreset.s
trunk/reactos/lib/sdk/crt/math/arm/_statusfp.s
Propchange: trunk/reactos/lib/sdk/crt/float/arm/
------------------------------------------------------------------------------
--- bugtraq:logregex (added)
+++ bugtraq:logregex Sun May 3 18:15:19 2015
@@ -0,0 +1 @@
+((CORE|ROSTESTS|ROSAPPS)-\d+)(,? ?((CORE|ROSTESTS|ROSAPPS)-\d+))*(,? ?(and |or
)?((CORE|ROSTESTS|ROSAPPS)-\d+))?
Propchange: trunk/reactos/lib/sdk/crt/float/arm/
------------------------------------------------------------------------------
bugtraq:message = See issue %BUGID% for more details.
Propchange: trunk/reactos/lib/sdk/crt/float/arm/
------------------------------------------------------------------------------
bugtraq:url =
https://jira.reactos.org/browse/%BUGID%
Propchange: trunk/reactos/lib/sdk/crt/float/arm/
------------------------------------------------------------------------------
tsvn:logminsize = 10
Added: trunk/reactos/lib/sdk/crt/float/arm/_clearfp.s
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/float/arm/_cle…
==============================================================================
--- trunk/reactos/lib/sdk/crt/float/arm/_clearfp.s (added)
+++ trunk/reactos/lib/sdk/crt/float/arm/_clearfp.s [iso-8859-1] Sun May 3 18:15:19 2015
@@ -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(a)reactos.org)
+ */
+
+/* INCLUDES ******************************************************************/
+
+#include <kxarm.h>
+
+/* CODE **********************************************************************/
+
+ TEXTAREA
+
+ LEAF_ENTRY _clearfp
+
+ __assertfail
+ bx lr
+
+ LEAF_END _clearfp
+
+ END
+/* EOF */
Propchange: trunk/reactos/lib/sdk/crt/float/arm/_clearfp.s
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/reactos/lib/sdk/crt/float/arm/_controlfp.s
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/float/arm/_con…
==============================================================================
--- trunk/reactos/lib/sdk/crt/float/arm/_controlfp.s (added)
+++ trunk/reactos/lib/sdk/crt/float/arm/_controlfp.s [iso-8859-1] Sun May 3 18:15:19
2015
@@ -0,0 +1,24 @@
+/*
+ * COPYRIGHT: BSD - See COPYING.ARM in the top level directory
+ * PROJECT: ReactOS CRT library
+ * PURPOSE: Implementation of _controlfp
+ * PROGRAMMER: Timo Kreuzer (timo.kreuzer(a)reactos.org)
+ */
+
+/* INCLUDES ******************************************************************/
+
+#include <kxarm.h>
+
+/* CODE **********************************************************************/
+
+ TEXTAREA
+
+ LEAF_ENTRY _controlfp
+
+ __assertfail
+ bx lr
+
+ LEAF_END _controlfp
+
+ END
+/* EOF */
Propchange: trunk/reactos/lib/sdk/crt/float/arm/_controlfp.s
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/reactos/lib/sdk/crt/float/arm/_fpreset.s
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/float/arm/_fpr…
==============================================================================
--- trunk/reactos/lib/sdk/crt/float/arm/_fpreset.s (added)
+++ trunk/reactos/lib/sdk/crt/float/arm/_fpreset.s [iso-8859-1] Sun May 3 18:15:19 2015
@@ -0,0 +1,24 @@
+/*
+ * COPYRIGHT: BSD - See COPYING.ARM in the top level directory
+ * PROJECT: ReactOS CRT library
+ * PURPOSE: Implementation of _fpreset
+ * PROGRAMMER: Timo Kreuzer (timo.kreuzer(a)reactos.org)
+ */
+
+/* INCLUDES ******************************************************************/
+
+#include <kxarm.h>
+
+/* CODE **********************************************************************/
+
+ TEXTAREA
+
+ LEAF_ENTRY _fpreset
+
+ __assertfail
+ bx lr
+
+ LEAF_END _fpreset
+
+ END
+/* EOF */
Propchange: trunk/reactos/lib/sdk/crt/float/arm/_fpreset.s
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/reactos/lib/sdk/crt/float/arm/_statusfp.s
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/float/arm/_sta…
==============================================================================
--- trunk/reactos/lib/sdk/crt/float/arm/_statusfp.s (added)
+++ trunk/reactos/lib/sdk/crt/float/arm/_statusfp.s [iso-8859-1] Sun May 3 18:15:19 2015
@@ -0,0 +1,24 @@
+/*
+ * COPYRIGHT: BSD - See COPYING.ARM in the top level directory
+ * PROJECT: ReactOS CRT library
+ * PURPOSE: Implementation of _statusfp
+ * PROGRAMMER: Timo Kreuzer (timo.kreuzer(a)reactos.org)
+ */
+
+/* INCLUDES ******************************************************************/
+
+#include <kxarm.h>
+
+/* CODE **********************************************************************/
+
+ TEXTAREA
+
+ LEAF_ENTRY _statusfp
+
+ __assertfail
+ bx lr
+
+ LEAF_END _statusfp
+
+ END
+/* EOF */
Propchange: trunk/reactos/lib/sdk/crt/float/arm/_statusfp.s
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/reactos/lib/sdk/crt/math/arm/__dtoi64.s
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/math/arm/__dto…
==============================================================================
--- trunk/reactos/lib/sdk/crt/math/arm/__dtoi64.s (added)
+++ trunk/reactos/lib/sdk/crt/math/arm/__dtoi64.s [iso-8859-1] Sun May 3 18:15:19 2015
@@ -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(a)reactos.org)
+ */
+
+/* INCLUDES ******************************************************************/
+
+#include <kxarm.h>
+
+/* CODE **********************************************************************/
+
+ TEXTAREA
+
+ LEAF_ENTRY __dtoi64
+
+ __assertfail
+ bx lr
+
+ LEAF_END __dtoi64
+
+ END
+/* EOF */
Propchange: trunk/reactos/lib/sdk/crt/math/arm/__dtoi64.s
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/reactos/lib/sdk/crt/math/arm/__i64tos.s
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/math/arm/__i64…
==============================================================================
--- trunk/reactos/lib/sdk/crt/math/arm/__i64tos.s (added)
+++ trunk/reactos/lib/sdk/crt/math/arm/__i64tos.s [iso-8859-1] Sun May 3 18:15:19 2015
@@ -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(a)reactos.org)
+ */
+
+/* INCLUDES ******************************************************************/
+
+#include <kxarm.h>
+
+/* CODE **********************************************************************/
+
+ TEXTAREA
+
+ LEAF_ENTRY __i64tos
+
+ __assertfail
+ bx lr
+
+ LEAF_END __i64tos
+
+ END
+/* EOF */
Propchange: trunk/reactos/lib/sdk/crt/math/arm/__i64tos.s
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/reactos/lib/sdk/crt/math/arm/__u64tos.s
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/math/arm/__u64…
==============================================================================
--- trunk/reactos/lib/sdk/crt/math/arm/__u64tos.s (added)
+++ trunk/reactos/lib/sdk/crt/math/arm/__u64tos.s [iso-8859-1] Sun May 3 18:15:19 2015
@@ -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(a)reactos.org)
+ */
+
+/* INCLUDES ******************************************************************/
+
+#include <kxarm.h>
+
+/* CODE **********************************************************************/
+
+ TEXTAREA
+
+ LEAF_ENTRY __u64tos
+
+ __assertfail
+ bx lr
+
+ LEAF_END __u64tos
+
+ END
+/* EOF */
Propchange: trunk/reactos/lib/sdk/crt/math/arm/__u64tos.s
------------------------------------------------------------------------------
svn:eol-style = native
Removed: trunk/reactos/lib/sdk/crt/math/arm/_controlfp.s
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/math/arm/_cont…
==============================================================================
--- trunk/reactos/lib/sdk/crt/math/arm/_controlfp.s [iso-8859-1] (original)
+++ trunk/reactos/lib/sdk/crt/math/arm/_controlfp.s (removed)
@@ -1,24 +0,0 @@
-/*
- * COPYRIGHT: BSD - See COPYING.ARM in the top level directory
- * PROJECT: ReactOS CRT library
- * PURPOSE: Implementation of _controlfp
- * PROGRAMMER: Timo Kreuzer (timo.kreuzer(a)reactos.org)
- */
-
-/* INCLUDES ******************************************************************/
-
-#include <kxarm.h>
-
-/* CODE **********************************************************************/
-
- TEXTAREA
-
- LEAF_ENTRY _controlfp
-
- __assertfail
- bx lr
-
- LEAF_END _controlfp
-
- END
-/* EOF */
Removed: trunk/reactos/lib/sdk/crt/math/arm/_fpreset.s
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/math/arm/_fpre…
==============================================================================
--- trunk/reactos/lib/sdk/crt/math/arm/_fpreset.s [iso-8859-1] (original)
+++ trunk/reactos/lib/sdk/crt/math/arm/_fpreset.s (removed)
@@ -1,24 +0,0 @@
-/*
- * COPYRIGHT: BSD - See COPYING.ARM in the top level directory
- * PROJECT: ReactOS CRT library
- * PURPOSE: Implementation of _fpreset
- * PROGRAMMER: Timo Kreuzer (timo.kreuzer(a)reactos.org)
- */
-
-/* INCLUDES ******************************************************************/
-
-#include <kxarm.h>
-
-/* CODE **********************************************************************/
-
- TEXTAREA
-
- LEAF_ENTRY _fpreset
-
- __assertfail
- bx lr
-
- LEAF_END _fpreset
-
- END
-/* EOF */
Removed: trunk/reactos/lib/sdk/crt/math/arm/_statusfp.s
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/math/arm/_stat…
==============================================================================
--- trunk/reactos/lib/sdk/crt/math/arm/_statusfp.s [iso-8859-1] (original)
+++ trunk/reactos/lib/sdk/crt/math/arm/_statusfp.s (removed)
@@ -1,24 +0,0 @@
-/*
- * COPYRIGHT: BSD - See COPYING.ARM in the top level directory
- * PROJECT: ReactOS CRT library
- * PURPOSE: Implementation of _statusfp
- * PROGRAMMER: Timo Kreuzer (timo.kreuzer(a)reactos.org)
- */
-
-/* INCLUDES ******************************************************************/
-
-#include <kxarm.h>
-
-/* CODE **********************************************************************/
-
- TEXTAREA
-
- LEAF_ENTRY _statusfp
-
- __assertfail
- bx lr
-
- LEAF_END _statusfp
-
- END
-/* EOF */
Added: trunk/reactos/lib/sdk/crt/math/fabsf.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/math/fabsf.c?r…
==============================================================================
--- trunk/reactos/lib/sdk/crt/math/fabsf.c (added)
+++ trunk/reactos/lib/sdk/crt/math/fabsf.c [iso-8859-1] Sun May 3 18:15:19 2015
@@ -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);
+}
+
Propchange: trunk/reactos/lib/sdk/crt/math/fabsf.c
------------------------------------------------------------------------------
svn:eol-style = native