1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/make/aix/makefiles/fastdebug.make Fri Sep 06 20:08:29 2013 +0200 1.3 @@ -0,0 +1,73 @@ 1.4 +# 1.5 +# Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved. 1.6 +# Copyright 2012, 2013 SAP AG. All rights reserved. 1.7 +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 +# 1.9 +# This code is free software; you can redistribute it and/or modify it 1.10 +# under the terms of the GNU General Public License version 2 only, as 1.11 +# published by the Free Software Foundation. 1.12 +# 1.13 +# This code is distributed in the hope that it will be useful, but WITHOUT 1.14 +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 1.15 +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 1.16 +# version 2 for more details (a copy is included in the LICENSE file that 1.17 +# accompanied this code). 1.18 +# 1.19 +# You should have received a copy of the GNU General Public License version 1.20 +# 2 along with this work; if not, write to the Free Software Foundation, 1.21 +# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 1.22 +# 1.23 +# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 1.24 +# or visit www.oracle.com if you need additional information or have any 1.25 +# questions. 1.26 +# 1.27 +# 1.28 + 1.29 +# Sets make macros for making debug version of VM 1.30 + 1.31 +# Compiler specific OPT_CFLAGS are passed in from gcc.make, sparcWorks.make 1.32 +# Pare down optimization to -O2 if xlCV10.1 is in use. 1.33 +OPT_CFLAGS/DEFAULT= $(OPT_CFLAGS) $(QV10_OPT_CONSERVATIVE) 1.34 +OPT_CFLAGS/BYFILE = $(OPT_CFLAGS/$@)$(OPT_CFLAGS/DEFAULT$(OPT_CFLAGS/$@)) 1.35 + 1.36 +# (OPT_CFLAGS/SLOWER is also available, to alter compilation of buggy files) 1.37 + 1.38 +ifeq ($(BUILDARCH), ia64) 1.39 + # Bug in GCC, causes hang. -O1 will override the -O3 specified earlier 1.40 + OPT_CFLAGS/callGenerator.o += -O1 1.41 + OPT_CFLAGS/ciTypeFlow.o += -O1 1.42 + OPT_CFLAGS/compile.o += -O1 1.43 + OPT_CFLAGS/concurrentMarkSweepGeneration.o += -O1 1.44 + OPT_CFLAGS/doCall.o += -O1 1.45 + OPT_CFLAGS/generateOopMap.o += -O1 1.46 + OPT_CFLAGS/generateOptoStub.o += -O1 1.47 + OPT_CFLAGS/graphKit.o += -O1 1.48 + OPT_CFLAGS/instanceKlass.o += -O1 1.49 + OPT_CFLAGS/interpreterRT_ia64.o += -O1 1.50 + OPT_CFLAGS/output.o += -O1 1.51 + OPT_CFLAGS/parse1.o += -O1 1.52 + OPT_CFLAGS/runtime.o += -O1 1.53 + OPT_CFLAGS/synchronizer.o += -O1 1.54 +endif 1.55 + 1.56 + 1.57 +# If you set HOTSPARC_GENERIC=yes, you disable all OPT_CFLAGS settings 1.58 +CFLAGS$(HOTSPARC_GENERIC) += $(OPT_CFLAGS/BYFILE) 1.59 + 1.60 +# Set the environment variable HOTSPARC_GENERIC to "true" 1.61 +# to inhibit the effect of the previous line on CFLAGS. 1.62 + 1.63 +# Linker mapfile 1.64 +MAPFILE = $(GAMMADIR)/make/aix/makefiles/mapfile-vers-debug 1.65 + 1.66 +# xlc 10.1 parameters for ipa linkage. 1.67 +# - remove ipa linkage altogether. Does not seem to benefit performance, 1.68 +# but increases code footprint. 1.69 +# - this is a debug build in the end. Extra effort for ipa linkage is thus 1.70 +# not justified. 1.71 +LFLAGS_QIPA= 1.72 + 1.73 +G_SUFFIX = _g 1.74 +VERSION = optimized 1.75 +SYSDEFS += -DASSERT -DFASTDEBUG 1.76 +PICFLAGS = DEFAULT