summaryrefslogtreecommitdiff
path: root/libjava
diff options
context:
space:
mode:
authormrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>2005-03-22 20:10:16 +0000
committermrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>2005-03-22 20:10:16 +0000
commitbc732eb9d21afa687f67373b9205cafcd3ae3b1d (patch)
treeb177f6f63be35b555c3f0326af1584bc49fe603c /libjava
parent4c636429760dfacc5cebaeee025512225e37b277 (diff)
downloadgcc-bc732eb9d21afa687f67373b9205cafcd3ae3b1d.tar.gz
* include/posix.h: .dylib is used on all Apple MACH platforms.
* java/lang/ieeefp.h: ppc64 is also __IEEE_BIG_ENDIAN. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96889 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava')
-rw-r--r--libjava/ChangeLog5
-rw-r--r--libjava/include/posix.h2
-rw-r--r--libjava/java/lang/ieeefp.h2
3 files changed, 7 insertions, 2 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog
index a744f8d6fd2..276cb725f2f 100644
--- a/libjava/ChangeLog
+++ b/libjava/ChangeLog
@@ -1,3 +1,8 @@
+2005-03-22 Mike Stump <mrs@apple.com>
+
+ * include/posix.h: .dylib is used on all Apple MACH platforms.
+ * java/lang/ieeefp.h: ppc64 is also __IEEE_BIG_ENDIAN.
+
2005-03-22 Tom Tromey <tromey@redhat.com>
* gnu/gcj/tools/gcj_dbtool/Main.java (usage): Fixed output.
diff --git a/libjava/include/posix.h b/libjava/include/posix.h
index c8cd5e25e28..28ac243e7c1 100644
--- a/libjava/include/posix.h
+++ b/libjava/include/posix.h
@@ -42,7 +42,7 @@ details. */
// Prefix and suffix for shared libraries.
#define _Jv_platform_solib_prefix "lib"
-#if defined(__APPLE__) && defined(__MACH__) && defined(__ppc__)
+#if defined(__APPLE__) && defined(__MACH__)
#define _Jv_platform_solib_suffix ".dylib"
#else
#define _Jv_platform_solib_suffix ".so"
diff --git a/libjava/java/lang/ieeefp.h b/libjava/java/lang/ieeefp.h
index 58547267628..3638d546eab 100644
--- a/libjava/java/lang/ieeefp.h
+++ b/libjava/java/lang/ieeefp.h
@@ -120,7 +120,7 @@
#define __IEEE_LITTLE_ENDIAN
#endif
-#if defined (__PPC__) || defined (__ppc__)
+#if defined (__PPC__) || defined (__ppc__) || defined (__ppc64__)
#if (defined(_BIG_ENDIAN) && _BIG_ENDIAN) || (defined(_AIX) && _AIX) \
|| defined (__APPLE__)
#define __IEEE_BIG_ENDIAN