2014-07-18 14:24:15 +00:00
|
|
|
--- /dev/null
|
|
|
|
+++ jdk8/jdk/src/solaris/bin/aarch64/jvm.cfg
|
2014-07-18 15:26:47 +00:00
|
|
|
@@ -0,0 +1,2 @@
|
2014-07-18 14:24:15 +00:00
|
|
|
+-server KNOWN
|
2014-07-22 15:20:29 +00:00
|
|
|
+-client IGNORE
|
2014-07-18 14:24:15 +00:00
|
|
|
--- jdk8/common/autoconf/generated-configure.sh
|
|
|
|
+++ jdk8/common/autoconf/generated-configure.sh
|
2014-08-28 16:13:56 +00:00
|
|
|
@@ -6731,8 +6731,9 @@
|
2014-07-18 14:24:15 +00:00
|
|
|
# The aliases save the names the user supplied, while $host etc.
|
|
|
|
# will get canonicalized.
|
|
|
|
test -n "$target_alias" &&
|
|
|
|
- test "$program_prefix$program_suffix$program_transform_name" = \
|
|
|
|
- NONENONEs,x,x, &&
|
|
|
|
+ test "$target_alias" != "$host_alias" &&
|
|
|
|
+ test "$program_prefix$program_suffix$program_transform_name" = \
|
|
|
|
+ NONENONEs,x,x, &&
|
|
|
|
program_prefix=${target_alias}-
|
|
|
|
|
|
|
|
# Figure out the build and target systems. # Note that in autoconf terminology, "build" is obvious, but "target"
|
2014-08-28 16:13:56 +00:00
|
|
|
@@ -7950,6 +7963,9 @@
|
|
|
|
if test "x$JVM_VARIANT_ZEROSHARK" = xtrue ; then
|
2014-07-18 14:24:15 +00:00
|
|
|
INCLUDE_SA=false
|
|
|
|
fi
|
|
|
|
+ if test "x$OPENJDK_TARGET_CPU" = xaarch64; then
|
2014-08-28 16:13:56 +00:00
|
|
|
+ INCLUDE_SA=false
|
|
|
|
+ fi
|
|
|
|
if test "x$VAR_CPU" = xppc64 ; then
|
2014-07-18 14:24:15 +00:00
|
|
|
INCLUDE_SA=false
|
|
|
|
fi
|
2014-08-28 16:13:56 +00:00
|
|
|
@@ -29957,6 +29973,9 @@
|
2014-07-18 14:24:15 +00:00
|
|
|
s390)
|
2014-08-28 16:13:56 +00:00
|
|
|
ZERO_ARCHFLAG="${COMPILER_TARGET_BITS_FLAG}31"
|
|
|
|
;;
|
2014-07-18 14:24:15 +00:00
|
|
|
+ aarch64)
|
|
|
|
+ ZERO_ARCHFLAG=""
|
2014-08-28 16:13:56 +00:00
|
|
|
+ ;;
|
2014-07-18 14:24:15 +00:00
|
|
|
*)
|
2014-08-28 16:13:56 +00:00
|
|
|
ZERO_ARCHFLAG="${COMPILER_TARGET_BITS_FLAG}${OPENJDK_TARGET_CPU_BITS}"
|
|
|
|
esac
|
2014-07-18 14:24:15 +00:00
|
|
|
--- jdk8/common/autoconf/jdk-options.m4
|
|
|
|
+++ jdk8/common/autoconf/jdk-options.m4
|
2014-08-28 16:13:56 +00:00
|
|
|
@@ -117,11 +117,6 @@
|
2014-07-18 14:24:15 +00:00
|
|
|
JVM_VARIANT_ZEROSHARK=`$ECHO "$JVM_VARIANTS" | $SED -e '/,zeroshark,/!s/.*/false/g' -e '/,zeroshark,/s/.*/true/g'`
|
2014-08-28 16:13:56 +00:00
|
|
|
JVM_VARIANT_CORE=`$ECHO "$JVM_VARIANTS" | $SED -e '/,core,/!s/.*/false/g' -e '/,core,/s/.*/true/g'`
|
2014-07-18 14:24:15 +00:00
|
|
|
|
|
|
|
- if test "x$JVM_VARIANT_CLIENT" = xtrue; then
|
|
|
|
- if test "x$OPENJDK_TARGET_CPU_BITS" = x64; then
|
|
|
|
- AC_MSG_ERROR([You cannot build a client JVM for a 64-bit machine.])
|
|
|
|
- fi
|
|
|
|
- fi
|
|
|
|
if test "x$JVM_VARIANT_KERNEL" = xtrue; then
|
|
|
|
if test "x$OPENJDK_TARGET_CPU_BITS" = x64; then
|
|
|
|
AC_MSG_ERROR([You cannot build a kernel JVM for a 64-bit machine.])
|
2014-08-28 16:13:56 +00:00
|
|
|
@@ -159,6 +154,9 @@
|
2014-07-18 14:24:15 +00:00
|
|
|
INCLUDE_SA=false
|
|
|
|
fi
|
2014-08-28 16:13:56 +00:00
|
|
|
if test "x$VAR_CPU" = xppc64 ; then
|
2014-07-18 14:24:15 +00:00
|
|
|
+ INCLUDE_SA=false
|
|
|
|
+ fi
|
|
|
|
+ if test "x$OPENJDK_TARGET_CPU" = xaarch64; then
|
|
|
|
INCLUDE_SA=false
|
|
|
|
fi
|
2015-05-25 11:10:28 +00:00
|
|
|
if test "x$OPENJDK_TARGET_CPU" = xaarch64; then
|
2014-08-28 16:13:56 +00:00
|
|
|
@@ -460,12 +458,6 @@
|
2014-07-18 14:24:15 +00:00
|
|
|
AC_MSG_ERROR([Update version must have a value])
|
|
|
|
elif test "x$with_update_version" != x; then
|
|
|
|
JDK_UPDATE_VERSION="$with_update_version"
|
|
|
|
- # On macosx 10.7, it's not possible to set --with-update-version=0X due
|
|
|
|
- # to a bug in expr (which reduces it to just X). To work around this, we
|
|
|
|
- # always add a 0 to one digit update versions.
|
|
|
|
- if test "${#JDK_UPDATE_VERSION}" = "1"; then
|
|
|
|
- JDK_UPDATE_VERSION="0${JDK_UPDATE_VERSION}"
|
|
|
|
- fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
AC_ARG_WITH(user-release-suffix, [AS_HELP_STRING([--with-user-release-suffix],
|
|
|
|
--- jdk8/common/autoconf/toolchain.m4
|
|
|
|
+++ jdk8/common/autoconf/toolchain.m4
|
2014-08-28 16:13:56 +00:00
|
|
|
@@ -1158,6 +1158,9 @@
|
2014-07-18 14:24:15 +00:00
|
|
|
s390)
|
2014-08-28 16:13:56 +00:00
|
|
|
ZERO_ARCHFLAG="${COMPILER_TARGET_BITS_FLAG}31"
|
2014-07-18 14:24:15 +00:00
|
|
|
;;
|
|
|
|
+ aarch64)
|
|
|
|
+ ZERO_ARCHFLAG=""
|
|
|
|
+ ;;
|
|
|
|
*)
|
2014-08-28 16:13:56 +00:00
|
|
|
ZERO_ARCHFLAG="${COMPILER_TARGET_BITS_FLAG}${OPENJDK_TARGET_CPU_BITS}"
|
2014-07-18 14:24:15 +00:00
|
|
|
esac
|
|
|
|
--- jdk8/jdk/make/lib/SoundLibraries.gmk
|
|
|
|
+++ jdk8/jdk/make/lib/SoundLibraries.gmk
|
2014-08-28 16:13:56 +00:00
|
|
|
@@ -138,6 +138,10 @@
|
2014-07-18 14:24:15 +00:00
|
|
|
|
2014-08-28 16:13:56 +00:00
|
|
|
ifeq ($(OPENJDK_TARGET_CPU), ppc64)
|
|
|
|
LIBJSOUND_CFLAGS += -DX_ARCH=X_PPC64
|
2014-07-18 14:24:15 +00:00
|
|
|
+ endif
|
|
|
|
+
|
|
|
|
+ ifeq ($(OPENJDK_TARGET_CPU), aarch64)
|
|
|
|
+ LIBJSOUND_CFLAGS += -DX_ARCH=X_AARCH64
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
--- jdk8/jdk/make/CompileJavaClasses.gmk
|
|
|
|
+++ jdk8/jdk/make/CompileJavaClasses.gmk
|
|
|
|
@@ -390,7 +390,7 @@
|
|
|
|
|
|
|
|
##########################################################################################
|
|
|
|
|
|
|
|
-all: $(BUILD_JDK) $(BUILD_SECURITY) $(COPY_EXTRA) \
|
|
|
|
+all: $(BUILD_JDK) $(BUILD_SECURITY) $(BUILD_JOBJC) $(BUILD_JOBJC_HEADERS) $(COPY_EXTRA) \
|
|
|
|
$(JDK_OUTPUTDIR)/classes/META-INF/services/com.sun.tools.xjc.Plugin \
|
|
|
|
$(BUILD_ACCESSBRIDGE_32) $(BUILD_ACCESSBRIDGE_64) \
|
|
|
|
$(BUILD_ACCESSBRIDGE_LEGACY)
|