kamg@526: # jprovino@4165: # Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved. kamg@526: # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. kamg@526: # kamg@526: # This code is free software; you can redistribute it and/or modify it kamg@526: # under the terms of the GNU General Public License version 2 only, as kamg@526: # published by the Free Software Foundation. kamg@526: # kamg@526: # This code is distributed in the hope that it will be useful, but WITHOUT kamg@526: # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or kamg@526: # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License kamg@526: # version 2 for more details (a copy is included in the LICENSE file that kamg@526: # accompanied this code). kamg@526: # kamg@526: # You should have received a copy of the GNU General Public License version kamg@526: # 2 along with this work; if not, write to the Free Software Foundation, kamg@526: # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. kamg@526: # trims@1907: # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA trims@1907: # or visit www.oracle.com if you need additional information or have any trims@1907: # questions. kamg@526: # kamg@526: # kamg@526: kamg@526: # kamg@526: # IA64 only uses c++ based interpreter kamg@526: CFLAGS += -DCC_INTERP -D_LP64=1 -DVM_LITTLE_ENDIAN kamg@526: ifeq ($(VERSION),debug) kamg@526: ASM_FLAGS= -DDEBUG kamg@526: else kamg@526: ASM_FLAGS= kamg@526: endif kamg@526: # workaround gcc bug in compiling varargs kamg@526: OPT_CFLAGS/jni.o = -O0 kamg@526: kamg@526: # gcc/ia64 has a bug that internal gcc functions linked with libjvm.so kamg@526: # are made public. Hiding those symbols will cause undefined symbol error kamg@526: # when VM is dropped into older JDK. We probably will need an IA64 kamg@526: # mapfile to include those symbols as a workaround. Disable linker mapfile kamg@526: # for now. kamg@526: LDNOMAP=true