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