Blob Blame History Raw
diff -r e1bfd77b6e1a make/common/Defs-linux.gmk
--- openjdk/jdk/make/common/Defs-linux.gmk	Tue Jan 27 02:53:44 2015 +0000
+++ openjdk/jdk/make/common/Defs-linux.gmk	Fri Feb 13 12:42:28 2015 +0000
@@ -199,16 +199,9 @@
 CFLAGS_REQUIRED_mips    +=
 CFLAGS_REQUIRED_mipsel  += -D_LITTLE_ENDIAN
 CFLAGS_REQUIRED_ppc     += -m32 -fsigned-char -D_BIG_ENDIAN
-ifeq ($(ARCH),ppc64)
-  ifeq ($(OPENJDK_TARGET_CPU_ENDIAN),big)
-    CFLAGS_REQUIRED_ppc64   += -m64 -D_BIG_ENDIAN
-    LDFLAGS_COMMON_ppc64    += -m64 -L/lib64 -Wl,-melf64ppc
-  else ifeq ($(OPENJDK_TARGET_CPU_ENDIAN),little)
-    CFLAGS_REQUIRED_ppc64   += -D_LITTLE_ENDIAN -DABI_ELFv2
-  else
-    $(error Expected big/little for ARCH=ppc64, got OPENJDK_TARGET_CPU_ENDIAN=$(OPENJDK_TARGET_CPU_ENDIAN))
-  endif
-endif
+CFLAGS_REQUIRED_ppc64   += -m64 -D_BIG_ENDIAN
+LDFLAGS_COMMON_ppc64    += -m64 -L/lib64 -Wl,-melf64ppc
+CFLAGS_REQUIRED_ppc64le += -D_LITTLE_ENDIAN -DABI_ELFv2
 CFLAGS_REQUIRED_s390    +=
 CFLAGS_REQUIRED_s390x   += -m64
 CFLAGS_REQUIRED_sh      += -mieee
diff -r e1bfd77b6e1a make/common/shared/Platform.gmk
--- openjdk/jdk/make/common/shared/Platform.gmk	Tue Jan 27 02:53:44 2015 +0000
+++ openjdk/jdk/make/common/shared/Platform.gmk	Fri Feb 13 12:42:28 2015 +0000
@@ -217,7 +217,6 @@
   else ifeq ($(ARCH), ppc64le)
     ARCH_DATA_MODEL=64
     OPENJDK_TARGET_CPU_ENDIAN=little
-    ARCH := ppc64
   else
     # Most archs are 32-bit
     ifndef ARCH_DATA_MODEL
diff -r e1bfd77b6e1a make/javax/sound/SoundDefs.gmk
--- openjdk/jdk/make/javax/sound/SoundDefs.gmk	Tue Jan 27 02:53:44 2015 +0000
+++ openjdk/jdk/make/javax/sound/SoundDefs.gmk	Fri Feb 13 12:42:28 2015 +0000
@@ -110,6 +110,10 @@
     CPPFLAGS += -DX_ARCH=X_PPC64
   endif # ARCH ppc64
 
+  ifeq ($(ARCH), ppc64le)
+    CPPFLAGS += -DX_ARCH=X_PPC64LE
+  endif # ARCH ppc64le
+
   ifeq ($(ARCH), s390)
     CPPFLAGS += -DX_ARCH=X_S390
   endif # ARCH s390
diff -r e1bfd77b6e1a src/share/native/com/sun/media/sound/SoundDefs.h
--- openjdk/jdk/src/share/native/com/sun/media/sound/SoundDefs.h	Tue Jan 27 02:53:44 2015 +0000
+++ openjdk/jdk/src/share/native/com/sun/media/sound/SoundDefs.h	Fri Feb 13 12:42:28 2015 +0000
@@ -52,6 +52,7 @@
 #define X_S390X         15
 #define X_SH            16
 #define X_AARCH64       17
+#define X_PPC64LE       18
 
 // **********************************
 // Make sure you set X_PLATFORM and X_ARCH defines correctly.
diff -r e1bfd77b6e1a src/solaris/bin/ppc64le/jvm.cfg
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ openjdk/jdk/src/solaris/bin/ppc64le/jvm.cfg	Fri Feb 13 12:42:28 2015 +0000
@@ -0,0 +1,33 @@
+# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+#
+# This code is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License version 2 only, as
+# published by the Free Software Foundation.  Oracle designates this
+# particular file as subject to the "Classpath" exception as provided
+# by Oracle in the LICENSE file that accompanied this code.
+#
+# This code is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+# version 2 for more details (a copy is included in the LICENSE file that
+# accompanied this code).
+#
+# You should have received a copy of the GNU General Public License version
+# 2 along with this work; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+#
+# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+# or visit www.oracle.com if you need additional information or have any
+# questions.
+#
+# List of JVMs that can be used as an option to java, javac, etc.
+# Order is important -- first in this list is the default JVM.
+# NOTE that this both this file and its format are UNSUPPORTED and
+# WILL GO AWAY in a future release.
+#
+# You may also select a JVM in an arbitrary location with the
+# "-XXaltjvm=<jvm_dir>" option, but that too is unsupported
+# and may not be available in a future release.
+#
+-server KNOWN