25 # Sets make macros for making debug version of VM |
25 # Sets make macros for making debug version of VM |
26 |
26 |
27 # Compiler specific DEBUG_CFLAGS are passed in from gcc.make, sparcWorks.make |
27 # Compiler specific DEBUG_CFLAGS are passed in from gcc.make, sparcWorks.make |
28 DEBUG_CFLAGS/DEFAULT= $(DEBUG_CFLAGS) |
28 DEBUG_CFLAGS/DEFAULT= $(DEBUG_CFLAGS) |
29 DEBUG_CFLAGS/BYFILE = $(DEBUG_CFLAGS/$@)$(DEBUG_CFLAGS/DEFAULT$(DEBUG_CFLAGS/$@)) |
29 DEBUG_CFLAGS/BYFILE = $(DEBUG_CFLAGS/$@)$(DEBUG_CFLAGS/DEFAULT$(DEBUG_CFLAGS/$@)) |
30 CFLAGS += $(DEBUG_CFLAGS/BYFILE) |
30 |
|
31 # _NMT_NOINLINE_ informs NMT that no inlining by Compiler |
|
32 CFLAGS += $(DEBUG_CFLAGS/BYFILE) -D_NMT_NOINLINE_ |
31 |
33 |
32 # Set the environment variable HOTSPARC_GENERIC to "true" |
34 # Set the environment variable HOTSPARC_GENERIC to "true" |
33 # to inhibit the effect of the previous line on CFLAGS. |
35 # to inhibit the effect of the previous line on CFLAGS. |
34 |
36 |
35 # Linker mapfile |
37 # Linker mapfile |