OSDN Git Service

PR classpath/23863:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 9 Jun 2006 16:18:51 +0000 (16:18 +0000)
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 9 Jun 2006 16:18:51 +0000 (16:18 +0000)
commit3ea5c5657d2daabc5556e9c98c0cff44b6870a6c
treef374e71fb1e5c8b4fa2d9292b8b24097a564e434
parent48591d852fc71f04d7083dcb0b37cf27b5d6942b
PR classpath/23863:
* native/fdlibm/dtoa.c (_dtoa): Free contents of _Jv_reent when
finished.
* native/fdlibm/mprec.c: New version from newlib.  Commented out
some includes.  Added <assert.h>.
(_reent, _Bigint): New defines.
(_REENT_CHECK_MP, _REENT_MP_FREELIST, _REENT_MP_P5S): Likewise.
(__ULong, __Long): New types.
(_calloc_r): New function.
(Balloc): Dynamically add new _freelist entries as needed.
* native/fdlibm/mprec.h (struct _Jv_Bigint): Don't use
MAX_BIGNUMS to size _x[].
(struct _Jv_reent): _freelist now a _Jv_Bigint**.  Removed
_allocation_map, num.  Added _max_k.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114511 138bc75d-0d04-0410-961f-82ee72b054a4
libjava/classpath/ChangeLog.gcj
libjava/classpath/native/fdlibm/dtoa.c
libjava/classpath/native/fdlibm/mprec.c
libjava/classpath/native/fdlibm/mprec.h