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