diff mbox

RFR: JDK9: Add missing aarch64 platform files

Message ID 1400503078.9093.4.camel@localhost.localdomain
State New
Headers show

Commit Message

Edward Nevill May 19, 2014, 12:37 p.m. UTC
Hi,

The following aarch64 platform specific files seem to be missing in the jdk9 tree.

hotspot/make/linux/makefiles/aarch64.make
hotspot/make/linux/platform_aarch64
jdk/src/solaris/bin/aarch64/jvm.cfg

It does not build natively, or x-compiled without them.

Ok to push?

Ed.

--- CUT HERE ---
# HG changeset patch
# User Edward Nevill edward.nevill@linaro.org
# Date 1400502685 -3600
#      Mon May 19 13:31:25 2014 +0100
# Node ID ccec36f8fb8c943c471fe83b755506d27cc9e1e0
# Parent  a1363bc1be1dbe8a3bbe72732c30a27487753ed6
Add missing aarch64 platform files

Comments

Andrew Haley May 19, 2014, 1:04 p.m. UTC | #1
On 05/19/2014 01:37 PM, Edward Nevill wrote:
> The following aarch64 platform specific files seem to be missing in the jdk9 tree.
> 
> hotspot/make/linux/makefiles/aarch64.make
> hotspot/make/linux/platform_aarch64
> jdk/src/solaris/bin/aarch64/jvm.cfg
> 
> It does not build natively, or x-compiled without them.
> 
> Ok to push?

Please let me do it: they're all in my tree.

Andrew.
diff mbox

Patch

diff -r a1363bc1be1d -r ccec36f8fb8c make/linux/makefiles/aarch64.make
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/make/linux/makefiles/aarch64.make	Mon May 19 13:31:25 2014 +0100
@@ -0,0 +1,38 @@ 
+#
+# Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+#
+# This code is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License version 2 only, as
+# published by the Free Software Foundation.
+#
+# This code is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+# version 2 for more details (a copy is included in the LICENSE file that
+# accompanied this code).
+#
+# You should have received a copy of the GNU General Public License version
+# 2 along with this work; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+#
+# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+# or visit www.oracle.com if you need additional information or have any
+# questions.
+#  
+#
+
+# The copied fdlibm routines in sharedRuntimeTrig.o must not be optimized
+OPT_CFLAGS/sharedRuntimeTrig.o = $(OPT_CFLAGS/NOOPT)
+# The copied fdlibm routines in sharedRuntimeTrans.o must not be optimized
+OPT_CFLAGS/sharedRuntimeTrans.o = $(OPT_CFLAGS/NOOPT)
+# Must also specify if CPU is little endian
+CFLAGS += -DVM_LITTLE_ENDIAN
+
+ifeq ($(BUILTIN_SIM), true)
+CFLAGS  += -DBUILTIN_SIM -DALLOW_OPERATOR_NEW_USAGE
+endif
+
+# CFLAGS += -D_LP64=1
+
+OPT_CFLAGS/compactingPermGenGen.o = -O1
diff -r a1363bc1be1d -r ccec36f8fb8c make/linux/platform_aarch64
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/make/linux/platform_aarch64	Mon May 19 13:31:25 2014 +0100
@@ -0,0 +1,15 @@ 
+os_family = linux
+
+arch = aarch64
+
+arch_model = aarch64
+
+os_arch = linux_aarch64
+
+os_arch_model = linux_aarch64
+
+lib_arch = aarch64
+
+compiler = gcc
+
+sysdefs = -DLINUX -D_GNU_SOURCE -DAARCH64
--- CUT HERE ---


--- CUT HERE ---
# HG changeset patch
# User Edward Nevill edward.nevill@linaro.org
# Date 1400502736 -3600
#      Mon May 19 13:32:16 2014 +0100
# Node ID eb1b4daa7e45e3caa7d8032d2fe2d2fd437337a3
# Parent  4dfa2ea6a6e7bfe71d0a0a23a88da70cf7373619
Add missing jvm.cfg

diff -r 4dfa2ea6a6e7 -r eb1b4daa7e45 src/solaris/bin/aarch64/jvm.cfg
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/solaris/bin/aarch64/jvm.cfg	Mon May 19 13:32:16 2014 +0100
@@ -0,0 +1,38 @@ 
+#
+# 
+# 
+# Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+#
+# This code is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License version 2 only, as
+# published by the Free Software Foundation.  Oracle designates this
+# particular file as subject to the "Classpath" exception as provided
+# by Oracle in the LICENSE file that accompanied this code.
+#
+# This code is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+# version 2 for more details (a copy is included in the LICENSE file that
+# accompanied this code).
+#
+# You should have received a copy of the GNU General Public License version
+# 2 along with this work; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+#
+# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+# or visit www.oracle.com if you need additional information or have any
+# questions.
+#
+#
+# List of JVMs that can be used as an option to java, javac, etc.
+# Order is important -- first in this list is the default JVM.
+# NOTE that this both this file and its format are UNSUPPORTED and
+# WILL GO AWAY in a future release.
+#
+# You may also select a JVM in an arbitrary location with the
+# "-XXaltjvm=<jvm_dir>" option, but that too is unsupported
+# and may not be available in a future release.
+#
+-server KNOWN
+-client IGNORE
--- CUT HERE ---