17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
18 # |
18 # |
19 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, |
19 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, |
20 # CA 95054 USA or visit www.sun.com if you need additional information or |
20 # CA 95054 USA or visit www.sun.com if you need additional information or |
21 # have any questions. |
21 # have any questions. |
22 # |
22 # |
23 # |
23 # |
24 |
24 |
25 # Must also specify if CPU is little endian |
25 # Must also specify if CPU is little endian |
26 CFLAGS += -DVM_LITTLE_ENDIAN |
26 CFLAGS += -DVM_LITTLE_ENDIAN |
27 |
27 |
43 |
43 |
44 # Temporary until SS10 C++ compiler is fixed |
44 # Temporary until SS10 C++ compiler is fixed |
45 OPT_CFLAGS/generateOptoStub.o = -xO2 |
45 OPT_CFLAGS/generateOptoStub.o = -xO2 |
46 OPT_CFLAGS/thread.o = -xO2 |
46 OPT_CFLAGS/thread.o = -xO2 |
47 |
47 |
|
48 # Work around for 6624782 |
|
49 OPT_CFLAGS/instanceKlass.o = -Qoption ube -no_a2lf |
|
50 OPT_CFLAGS/objArrayKlass.o = -Qoption ube -no_a2lf |
|
51 |
48 else |
52 else |
49 |
53 |
50 ifeq ("${Platform_compiler}", "gcc") |
54 ifeq ("${Platform_compiler}", "gcc") |
51 # gcc |
55 # gcc |
52 # The serviceability agent relies on frame pointer (%rbp) to walk thread stack |
56 # The serviceability agent relies on frame pointer (%rbp) to walk thread stack |