6903453: Zero build on ARM and IA-64
authorgbenson
Mon, 23 Nov 2009 10:04:47 +0000
changeset 4286 ac64f44f4d19
parent 4144 09e0b33177af
child 4287 78820074e4d5
6903453: Zero build on ARM and IA-64 Summary: Correctly set uname on ARM, and correctly build fdlibm on IA-64 Reviewed-by: ohair
jdk/make/common/shared/Platform.gmk
jdk/src/share/native/java/lang/fdlibm/include/fdlibm.h
--- a/jdk/make/common/shared/Platform.gmk	Wed Jul 05 17:03:05 2017 +0200
+++ b/jdk/make/common/shared/Platform.gmk	Mon Nov 23 10:04:47 2009 +0000
@@ -165,6 +165,9 @@
                 sparc*) \
                     echo sparc \
                     ;; \
+                arm*) \
+                    echo arm \
+                    ;; \
                 *) \
                     echo $(mach) \
                     ;; \
--- a/jdk/src/share/native/java/lang/fdlibm/include/fdlibm.h	Wed Jul 05 17:03:05 2017 +0200
+++ b/jdk/src/share/native/java/lang/fdlibm/include/fdlibm.h	Mon Nov 23 10:04:47 2009 +0000
@@ -29,7 +29,7 @@
 #ifdef __NEWVALID       /* special setup for Sun test regime */
 #if defined(i386) || defined(i486) || \
         defined(intel) || defined(x86) || \
-        defined(i86pc) || defined(_M_IA64)
+        defined(i86pc) || defined(_M_IA64) || defined(ia64)
 #define _LITTLE_ENDIAN
 #endif
 #endif