@@ -239,6 +239,7 @@
DEBUG_CFLAGS/aarch64 = -g
DEBUG_CFLAGS/arm = -g
DEBUG_CFLAGS/ppc = -g
+ DEBUG_CFLAGS/zero = -g
DEBUG_CFLAGS += $(DEBUG_CFLAGS/$(BUILDARCH))
ifeq ($(DEBUG_CFLAGS/$(BUILDARCH)),)
DEBUG_CFLAGS += -gstabs
@@ -250,6 +251,7 @@
FASTDEBUG_CFLAGS/aarch64 = -g
FASTDEBUG_CFLAGS/arm = -g
FASTDEBUG_CFLAGS/ppc = -g
+ FASTDEBUG_CFLAGS/zero = -g
FASTDEBUG_CFLAGS += $(DEBUG_CFLAGS/$(BUILDARCH))
ifeq ($(FASTDEBUG_CFLAGS/$(BUILDARCH)),)
FASTDEBUG_CFLAGS += -gstabs
@@ -260,6 +262,7 @@
OPT_CFLAGS/aarch64 = -g
OPT_CFLAGS/arm = -g
OPT_CFLAGS/ppc = -g
+ OPT_CFLAGS/zero = -g
OPT_CFLAGS += $(OPT_CFLAGS/$(BUILDARCH))
ifeq ($(OPT_CFLAGS/$(BUILDARCH)),)
OPT_CFLAGS += -gstabs
@@ -57,6 +57,12 @@
// GC Ergo Flags
define_pd_global(intx, CMSYoungGenPerWorker, 16*M); // default max size of CMS young gen, per GC worker thread
+#ifdef AARCH64
+// This is declared as _pd for AARCH64 only in globals.hpp
+// so must match with definition here.
+define_pd_global(bool, UseBiasedLocking, false);
+#endif
+
#define ARCH_FLAGS(develop, product, diagnostic, experimental, notproduct)
#endif // CPU_ZERO_VM_GLOBALS_ZERO_HPP
exporting patch:
# HG changeset patch
# User Edward Nevill edward.nevill@linaro.org
# Date 1379692792 -3600
# Fri Sep 20 16:59:52 2013 +0100
# Node ID 1ad828f81a1b51c724a02d4e107824dddb4242ec
# Parent e9b5be85ca1dfbe9b2ead47614705d341c35183b
Fix self hosted build on RTSM model
@@ -989,6 +989,9 @@
x86_64:Linux:*:*)
echo x86_64-unknown-linux-gnu
exit ;;
+ aarch64:Linux:*:*)
+ echo aarch64-unknown-linux-gnu
+ exit ;;
xtensa*:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-gnu
exit ;;