deb3d7b
--- openjdk/jdk/make/lib/SoundLibraries.gmk.orig	2015-03-03 20:52:33.000000000 -0500
deb3d7b
+++ openjdk/jdk/make/lib/SoundLibraries.gmk	2015-03-03 20:54:39.000000000 -0500
deb3d7b
@@ -140,6 +140,10 @@
deb3d7b
        LIBJSOUND_CFLAGS += -DX_ARCH=X_PPC64
deb3d7b
   endif
deb3d7b
 
deb3d7b
+  ifeq ($(OPENJDK_TARGET_CPU), ppc64le)
deb3d7b
+       LIBJSOUND_CFLAGS += -DX_ARCH=X_PPC64LE
deb3d7b
+  endif
deb3d7b
+
deb3d7b
   ifeq ($(OPENJDK_TARGET_CPU), aarch64)
deb3d7b
 	LIBJSOUND_CFLAGS += -DX_ARCH=X_AARCH64
deb3d7b
   endif
deb3d7b
diff -r 87c95759b92b src/share/native/com/sun/media/sound/SoundDefs.h
deb3d7b
--- openjdk/jdk/src/share/native/com/sun/media/sound/SoundDefs.h	Wed Feb 11 18:55:05 2015 -0800
deb3d7b
+++ openjdk/jdk/src/share/native/com/sun/media/sound/SoundDefs.h	Tue Feb 17 18:25:01 2015 +0000
deb3d7b
@@ -43,6 +43,8 @@
deb3d7b
 #define X_ARM           7
deb3d7b
 #define X_PPC           8
45afe24
 #define X_AARCH64	9
deb3d7b
+#define X_PPC64         9
deb3d7b
+#define X_PPC64LE      10
deb3d7b
 
deb3d7b
 // **********************************
deb3d7b
 // Make sure you set X_PLATFORM and X_ARCH defines correctly.
deb3d7b
diff -r 87c95759b92b src/solaris/bin/ppc64le/jvm.cfg
deb3d7b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
deb3d7b
+++ openjdk/jdk/src/solaris/bin/ppc64le/jvm.cfg	Tue Feb 17 18:25:01 2015 +0000
deb3d7b
@@ -0,0 +1,33 @@
deb3d7b
+# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
deb3d7b
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
deb3d7b
+#
deb3d7b
+# This code is free software; you can redistribute it and/or modify it
deb3d7b
+# under the terms of the GNU General Public License version 2 only, as
deb3d7b
+# published by the Free Software Foundation.  Oracle designates this
deb3d7b
+# particular file as subject to the "Classpath" exception as provided
deb3d7b
+# by Oracle in the LICENSE file that accompanied this code.
deb3d7b
+#
deb3d7b
+# This code is distributed in the hope that it will be useful, but WITHOUT
deb3d7b
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
deb3d7b
+# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
deb3d7b
+# version 2 for more details (a copy is included in the LICENSE file that
deb3d7b
+# accompanied this code).
deb3d7b
+#
deb3d7b
+# You should have received a copy of the GNU General Public License version
deb3d7b
+# 2 along with this work; if not, write to the Free Software Foundation,
deb3d7b
+# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
deb3d7b
+#
deb3d7b
+# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
deb3d7b
+# or visit www.oracle.com if you need additional information or have any
deb3d7b
+# questions.
deb3d7b
+#
deb3d7b
+# List of JVMs that can be used as an option to java, javac, etc.
deb3d7b
+# Order is important -- first in this list is the default JVM.
deb3d7b
+# NOTE that this both this file and its format are UNSUPPORTED and
deb3d7b
+# WILL GO AWAY in a future release.
deb3d7b
+#
deb3d7b
+# You may also select a JVM in an arbitrary location with the
deb3d7b
+# "-XXaltjvm=<jvm_dir>" option, but that too is unsupported
deb3d7b
+# and may not be available in a future release.
deb3d7b
+#
deb3d7b
+-server KNOWN