Merge zizzer:/bk/newmem
into zed.eecs.umich.edu:/z/hsul/work/m5/newmem --HG-- extra : convert_revision : 5f4b39beba9f672ba1741cb45f4c3cf853ce574b
This commit is contained in:
commit
74745cfeac
|
@ -399,8 +399,15 @@ def makeEnv(label, objsfx, strip = False, **kwargs):
|
|||
envList.append(newEnv)
|
||||
|
||||
# Debug binary
|
||||
# Solaris seems to have some issue with DWARF2 debugging information, it's ok
|
||||
# with stabs though
|
||||
if sys.platform == 'sunos5':
|
||||
debug_flag = '-gstabs+'
|
||||
else:
|
||||
debug_flag = '-ggdb3'
|
||||
|
||||
makeEnv('debug', '.do',
|
||||
CCFLAGS = Split('-g3 -gdwarf-2 -O0'),
|
||||
CCFLAGS = Split('%s -O0' % debug_flag),
|
||||
CPPDEFINES = 'DEBUG')
|
||||
|
||||
# Optimized binary
|
||||
|
|
|
@ -696,7 +696,7 @@ class ScalarBase : public DataAccess
|
|||
|
||||
protected:
|
||||
/** The storage of this stat. */
|
||||
char storage[sizeof(Storage)];
|
||||
char storage[sizeof(Storage)] __attribute__ ((aligned (8)));
|
||||
|
||||
/** The parameters for this stat. */
|
||||
Params params;
|
||||
|
@ -1637,7 +1637,7 @@ class DistBase : public DataAccess
|
|||
|
||||
protected:
|
||||
/** The storage for this stat. */
|
||||
char storage[sizeof(Storage)];
|
||||
char storage[sizeof(Storage)] __attribute__ ((aligned (8)));
|
||||
|
||||
/** The parameters for this stat. */
|
||||
Params params;
|
||||
|
|
Loading…
Reference in a new issue