summaryrefslogtreecommitdiffstats
path: root/libjava/java
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2000-03-26 20:33:04 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2000-03-26 20:33:04 +0000
commit02ddd4c0408d678a216bde8231e93a5b6f8e0d47 (patch)
tree316c5bb1d7d3464e8a5a904b6040f521f3b9a97f /libjava/java
parent246d629b7c6b4563bfb5948573defcd8f8daefbb (diff)
downloadppe42-gcc-02ddd4c0408d678a216bde8231e93a5b6f8e0d47.tar.gz
ppe42-gcc-02ddd4c0408d678a216bde8231e93a5b6f8e0d47.zip
2000-03-26 Tom Tromey <tromey@cygnus.com>
* java/lang/mprec.h: Use SIZEOF_VOID_P. * interpret.cc: Use SIZEOF_VOID_P. * include/java-cpool.h (_Jv_storeLong): Use SIZEOF_VOID_P. (_Jv_loadLong): Likewise. (_Jv_storeDouble): Likewise. * configure: Rebuilt. * configure.in: Check size of void*. * resolve.cc (ncode): Use FFI_PREP_RAW_CLOSURE and FFI_RAW_SIZE. 2000-03-26 Hans Boehm <boehm@acm.org> * include/java-cpool.h (_Jv_storeLong, _Jv_loadLong, _Jv_storeDouble, _Jv_loadDouble): Define differently on 64 bit machine. * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN appropriately on IA64. * java/lang/mprec.h: Don't define Pack_32 on 64 bit machine. * javaprims.h (_Jv_word): Added `l' and `d' entries in 64 bit case. * resolve.cc (FFI_PREP_RAW_CLOSURE): New define. (FFI_RAW_SIZE): Likewise. (_Jv_InterpMethod::ncode): Use them. * interpret.cc (PUSHL, PUSHD, POPL, POPD, LOADL, LOADD, STOREL, STORED): Define differently on a 64 bit machine. (continue1): Use ffi_java_raw_call when appropriate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32754 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java')
-rw-r--r--libjava/java/lang/mprec.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libjava/java/lang/mprec.h b/libjava/java/lang/mprec.h
index 61d9d50dead..4baac323ad3 100644
--- a/libjava/java/lang/mprec.h
+++ b/libjava/java/lang/mprec.h
@@ -284,9 +284,11 @@ extern double rnd_prod(double, double), rnd_quot(double, double);
*/
#ifndef Pack_32
+#if SIZEOF_VOID_P != 8
#define Pack_32
#endif
#endif
+#endif
#define MAX_BIGNUMS 16
OpenPOWER on IntegriCloud