diff -r bbda609c9d24 make/defs.make
--- openjdk/hotspot/make/defs.make Tue Jan 27 00:46:17 2015 +0000
+++ openjdk/hotspot/make/defs.make Fri Feb 13 09:49:46 2015 +0000
@@ -304,6 +304,13 @@
LIBARCH/arm = arm
LIBARCH/zero = $(ZERO_LIBARCH)
+ # Override LIBARCH for ppc64le
+ ifeq ($(ARCH), ppc64)
+ ifeq ($(OPENJDK_TARGET_CPU_ENDIAN), little)
+ LIBARCH = ppc64le
+ endif
+ endif
+
LP64_ARCH = sparcv9 amd64 ia64 ppc64 zero
endif
diff -r bbda609c9d24 src/os/linux/vm/os_linux.cpp
--- openjdk/hotspot/src/os/linux/vm/os_linux.cpp Tue Jan 27 00:46:17 2015 +0000
+++ openjdk/hotspot/src/os/linux/vm/os_linux.cpp Fri Feb 13 09:49:46 2015 +0000
@@ -301,7 +301,11 @@
#elif defined(PPC32)
static char cpu_arch[] = "ppc";
#elif defined(PPC64)
+#if defined(VM_LITTLE_ENDIAN)
+static char cpu_arch[] = "ppc64le";
+#else
static char cpu_arch[] = "ppc64";
+#endif
#elif defined(SPARC)
# ifdef _LP64
static char cpu_arch[] = "sparcv9";