|
|
8f84c8 |
diff -r 59d5dc6a0d95 common/autoconf/hotspot-spec.gmk.in
|
|
|
8f84c8 |
--- openjdk///common/autoconf/hotspot-spec.gmk.in Wed May 25 13:42:38 2016 +0100
|
|
|
8f84c8 |
+++ openjdk///common/autoconf/hotspot-spec.gmk.in Thu May 26 04:43:57 2016 +0100
|
|
|
d934b5 |
@@ -71,6 +71,10 @@
|
|
|
d934b5 |
LIBARCH=$(OPENJDK_TARGET_CPU_LEGACY_LIB)
|
|
|
8f84c8 |
# Set the cpu architecture
|
|
|
8f84c8 |
ARCH=$(OPENJDK_TARGET_CPU_ARCH)
|
|
|
d934b5 |
+# ppc64le uses the HotSpot ppc64 build
|
|
|
d934b5 |
+ifeq ($(OPENJDK_TARGET_CPU), ppc64le)
|
|
|
d934b5 |
+ ARCH=ppc64
|
|
|
d934b5 |
+endif
|
|
|
d934b5 |
# Legacy setting for building for a 64 bit machine.
|
|
|
d934b5 |
# If yes then this expands to _LP64:=1
|
|
|
d934b5 |
@LP64@
|
|
|
8f84c8 |
diff -r 59d5dc6a0d95 common/autoconf/jdk-options.m4
|
|
|
8f84c8 |
--- openjdk///common/autoconf/jdk-options.m4 Wed May 25 13:42:38 2016 +0100
|
|
|
8f84c8 |
+++ openjdk///common/autoconf/jdk-options.m4 Thu May 26 04:43:57 2016 +0100
|
|
|
8f84c8 |
@@ -158,7 +158,7 @@
|
|
|
d934b5 |
if test "x$JVM_VARIANT_ZEROSHARK" = xtrue ; then
|
|
|
d934b5 |
INCLUDE_SA=false
|
|
|
d934b5 |
fi
|
|
|
d934b5 |
- if test "x$VAR_CPU" = xppc64 ; then
|
|
|
d934b5 |
+ if test "x$VAR_CPU" = xppc64 -o "x$VAR_CPU" = xppc64le ; then
|
|
|
d934b5 |
INCLUDE_SA=false
|
|
|
d934b5 |
fi
|
|
|
d934b5 |
if test "x$OPENJDK_TARGET_CPU" = xaarch64; then
|
|
|
8f84c8 |
diff -r 59d5dc6a0d95 common/autoconf/platform.m4
|
|
|
8f84c8 |
--- openjdk///common/autoconf/platform.m4 Wed May 25 13:42:38 2016 +0100
|
|
|
8f84c8 |
+++ openjdk///common/autoconf/platform.m4 Thu May 26 04:43:57 2016 +0100
|
|
|
8f84c8 |
@@ -67,7 +67,7 @@
|
|
|
d934b5 |
VAR_CPU_ENDIAN=big
|
|
|
d934b5 |
;;
|
|
|
d934b5 |
powerpc64le)
|
|
|
d934b5 |
- VAR_CPU=ppc64
|
|
|
d934b5 |
+ VAR_CPU=ppc64le
|
|
|
d934b5 |
VAR_CPU_ARCH=ppc
|
|
|
d934b5 |
VAR_CPU_BITS=64
|
|
|
d934b5 |
VAR_CPU_ENDIAN=little
|
|
|
8f84c8 |
diff -r 59d5dc6a0d95 common/autoconf/toolchain.m4
|
|
|
8f84c8 |
--- openjdk///common/autoconf/toolchain.m4 Wed May 25 13:42:38 2016 +0100
|
|
|
8f84c8 |
+++ openjdk///common/autoconf/toolchain.m4 Thu May 26 04:43:57 2016 +0100
|
|
|
d934b5 |
@@ -1056,6 +1056,9 @@
|
|
|
d934b5 |
else
|
|
|
d934b5 |
CCXXFLAGS_JDK="$CCXXFLAGS_JDK -D_BIG_ENDIAN"
|
|
|
d934b5 |
fi
|
|
|
d934b5 |
+ if test "x$OPENJDK_TARGET_CPU" = xppc64le; then
|
|
|
d934b5 |
+ CCXXFLAGS_JDK="$CCXXFLAGS_JDK -DABI_ELFv2"
|
|
|
d934b5 |
+ fi
|
|
|
d934b5 |
if test "x$OPENJDK_TARGET_OS" = xlinux; then
|
|
|
d934b5 |
CCXXFLAGS_JDK="$CCXXFLAGS_JDK -DLINUX"
|
|
|
d934b5 |
fi
|