[kaffe] CVS kaffe (guilhem): Moved fdlibm functions into their own namespace.

Kaffe CVS cvs-commits at kaffe.org
Fri Jul 15 06:49:22 PDT 2005


PatchSet 6732 
Date: 2005/07/15 13:43:00
Author: guilhem
Branch: HEAD
Tag: (none) 
Log:
Moved fdlibm functions into their own namespace.

        * developers/math_symbols, developers/build_mathnamespace: Added a
        dwarf script to build the namespace.h file.

        * libraries/clib/fdlibm/namespace.h: New generated file.

        * libraries/clib/fdlibm/fdlibm.h,
        libraries/clib/fdlibm/mprec.h: Include namespace.h.

        * libraries/clib/fdlibm/Makefile.am: Added namespace.h.

        * libraries/clib/fdlibm/Makefile.in: Regenerated.

Members: 
	ChangeLog:1.4256->1.4257 
	developers/build_mathnamespace:INITIAL->1.1 
	developers/math_symbols:INITIAL->1.1 
	libraries/clib/fdlibm/Makefile.am:1.6->1.7 
	libraries/clib/fdlibm/Makefile.in:1.8->1.9 
	libraries/clib/fdlibm/fdlibm.h:1.1->1.2 
	libraries/clib/fdlibm/mprec.h:1.3->1.4 
	libraries/clib/fdlibm/namespace.h:INITIAL->1.1 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4256 kaffe/ChangeLog:1.4257
--- kaffe/ChangeLog:1.4256	Thu Jul 14 14:15:09 2005
+++ kaffe/ChangeLog	Fri Jul 15 13:43:00 2005
@@ -1,3 +1,22 @@
+2005-07-15  Guilhem Lavaux  <guilhem at kaffe.org>
+
+	* developers/math_symbols, developers/build_mathnamespace: Added a
+	dwarf script to build the namespace.h file.
+	
+	* libraries/clib/fdlibm/namespace.h: New generated file.
+
+	* libraries/clib/fdlibm/fdlibm.h,
+	libraries/clib/fdlibm/mprec.h: Include namespace.h.
+
+	* libraries/clib/fdlibm/Makefile.am: Added namespace.h.
+
+	* libraries/clib/fdlibm/Makefile.in: Regenerated.
+
+2005-07-14  Guilhem Lavaux  <guilhem at kaffe.org>
+
+	* kaffe/kaffevm/gcFuncs.c
+	(destroyClass): Fixed comment.
+
 2005-07-14  Guilhem Lavaux  <guilhem at kaffe.org>
 
 	* libraries/clib/fdlibm/ieeefp.h: Readded arm specific ifdefs.
===================================================================
Checking out kaffe/developers/build_mathnamespace
RCS:  /home/cvs/kaffe/kaffe/developers/build_mathnamespace,v
VERS: 1.1
***************
--- /dev/null	Sun Aug  4 19:57:58 2002
+++ kaffe/developers/build_mathnamespace	Fri Jul 15 13:49:21 2005
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+echo "/* Warning ! This is a generated file. Use build_mathnamespace to regenerate it */"
+while read fun;do
+	echo "#define ${fun} KaffeMath_${fun}"
+done
===================================================================
Checking out kaffe/developers/math_symbols
RCS:  /home/cvs/kaffe/kaffe/developers/math_symbols,v
VERS: 1.1
***************
--- /dev/null	Sun Aug  4 19:57:58 2002
+++ kaffe/developers/math_symbols	Fri Jul 15 13:49:21 2005
@@ -0,0 +1,51 @@
+acos
+asin
+atan
+atan2
+cos
+sin
+tan
+cosh
+sinh
+exp
+frexp
+ldexp
+log
+log10
+modf
+pow
+sqrt
+ceil
+fabs
+floor
+fmod
+erf
+erfc
+gamma
+hypot
+isnan
+finite
+j0
+j1
+jn
+lgamma
+y0
+y1
+yn
+acosh
+asinh
+cbrt
+logb
+nextafter
+remainder
+logb
+scalb
+significand
+logbf
+scalbf
+significandf
+copysign
+ilogb
+rint
+rintf
+scalbn
Index: kaffe/libraries/clib/fdlibm/Makefile.am
diff -u kaffe/libraries/clib/fdlibm/Makefile.am:1.6 kaffe/libraries/clib/fdlibm/Makefile.am:1.7
--- kaffe/libraries/clib/fdlibm/Makefile.am:1.6	Sun Jul  3 16:28:32 2005
+++ kaffe/libraries/clib/fdlibm/Makefile.am	Fri Jul 15 13:43:05 2005
@@ -16,6 +16,7 @@
 			fdlibm.h \
 			ieeefp.h \
 			java-assert.h \
+			namespace.h \
 			k_cos.c \
 			k_rem_pio2.c \
 			k_sin.c \
Index: kaffe/libraries/clib/fdlibm/Makefile.in
diff -u kaffe/libraries/clib/fdlibm/Makefile.in:1.8 kaffe/libraries/clib/fdlibm/Makefile.in:1.9
--- kaffe/libraries/clib/fdlibm/Makefile.in:1.8	Sun Jul  3 16:28:32 2005
+++ kaffe/libraries/clib/fdlibm/Makefile.in	Fri Jul 15 13:43:05 2005
@@ -386,6 +386,7 @@
 			fdlibm.h \
 			ieeefp.h \
 			java-assert.h \
+			namespace.h \
 			k_cos.c \
 			k_rem_pio2.c \
 			k_sin.c \
Index: kaffe/libraries/clib/fdlibm/fdlibm.h
diff -u kaffe/libraries/clib/fdlibm/fdlibm.h:1.1 kaffe/libraries/clib/fdlibm/fdlibm.h:1.2
--- kaffe/libraries/clib/fdlibm/fdlibm.h:1.1	Fri Apr 22 17:03:49 2005
+++ kaffe/libraries/clib/fdlibm/fdlibm.h	Fri Jul 15 13:43:05 2005
@@ -24,6 +24,8 @@
 
 /* GCJ LOCAL: Include files.  */
 #include "ieeefp.h"
+/* KAFFE LOCAL: */
+#include "namespace.h"
 
 #include "mprec.h"
 
Index: kaffe/libraries/clib/fdlibm/mprec.h
diff -u kaffe/libraries/clib/fdlibm/mprec.h:1.3 kaffe/libraries/clib/fdlibm/mprec.h:1.4
--- kaffe/libraries/clib/fdlibm/mprec.h:1.3	Fri May 13 17:09:08 2005
+++ kaffe/libraries/clib/fdlibm/mprec.h	Fri Jul 15 13:43:05 2005
@@ -32,6 +32,7 @@
 #include <config.h>
 #include "config-int.h"
 #include "ieeefp.h"
+#include "namespace.h"
 
 #if defined HAVE_SYS_TYPES_H
 #include <sys/types.h>
===================================================================
Checking out kaffe/libraries/clib/fdlibm/namespace.h
RCS:  /home/cvs/kaffe/kaffe/libraries/clib/fdlibm/namespace.h,v
VERS: 1.1
***************
--- /dev/null	Sun Aug  4 19:57:58 2002
+++ kaffe/libraries/clib/fdlibm/namespace.h	Fri Jul 15 13:49:22 2005
@@ -0,0 +1,52 @@
+/* Warning ! This is a generated file. Use build_mathnamespace to regenerate it */
+#define acos KaffeMath_acos
+#define asin KaffeMath_asin
+#define atan KaffeMath_atan
+#define atan2 KaffeMath_atan2
+#define cos KaffeMath_cos
+#define sin KaffeMath_sin
+#define tan KaffeMath_tan
+#define cosh KaffeMath_cosh
+#define sinh KaffeMath_sinh
+#define exp KaffeMath_exp
+#define frexp KaffeMath_frexp
+#define ldexp KaffeMath_ldexp
+#define log KaffeMath_log
+#define log10 KaffeMath_log10
+#define modf KaffeMath_modf
+#define pow KaffeMath_pow
+#define sqrt KaffeMath_sqrt
+#define ceil KaffeMath_ceil
+#define fabs KaffeMath_fabs
+#define floor KaffeMath_floor
+#define fmod KaffeMath_fmod
+#define erf KaffeMath_erf
+#define erfc KaffeMath_erfc
+#define gamma KaffeMath_gamma
+#define hypot KaffeMath_hypot
+#define isnan KaffeMath_isnan
+#define finite KaffeMath_finite
+#define j0 KaffeMath_j0
+#define j1 KaffeMath_j1
+#define jn KaffeMath_jn
+#define lgamma KaffeMath_lgamma
+#define y0 KaffeMath_y0
+#define y1 KaffeMath_y1
+#define yn KaffeMath_yn
+#define acosh KaffeMath_acosh
+#define asinh KaffeMath_asinh
+#define cbrt KaffeMath_cbrt
+#define logb KaffeMath_logb
+#define nextafter KaffeMath_nextafter
+#define remainder KaffeMath_remainder
+#define logb KaffeMath_logb
+#define scalb KaffeMath_scalb
+#define significand KaffeMath_significand
+#define logbf KaffeMath_logbf
+#define scalbf KaffeMath_scalbf
+#define significandf KaffeMath_significandf
+#define copysign KaffeMath_copysign
+#define ilogb KaffeMath_ilogb
+#define rint KaffeMath_rint
+#define rintf KaffeMath_rintf
+#define scalbn KaffeMath_scalbn



More information about the kaffe mailing list