diff options
author | Ali Saidi <saidi@eecs.umich.edu> | 2007-05-30 17:08:12 -0400 |
---|---|---|
committer | Ali Saidi <saidi@eecs.umich.edu> | 2007-05-30 17:08:12 -0400 |
commit | 0193476ea790963884059c27d7fdd607a6f79019 (patch) | |
tree | 88a3fe2434eb3108c57b768652a79cb0c20efe13 /ext/libelf/elf_common.h | |
parent | 4e65d2678d0778915688f3b276543c357b4618ed (diff) | |
download | gem5-0193476ea790963884059c27d7fdd607a6f79019.tar.xz |
Fix compiling on Solaris since Nate's libelf change
SConstruct:
export env after we've set CC/CXX
ext/libelf/SConscript:
pull in the CC/CXX variables from env. Use gm4 if it exists
ext/libelf/elf_begin.c:
ext/libelf/libelf_allocate.c:
include errno.h instead of sys/errno.h
ext/libelf/elf_common.h:
use the more standard uintX_t
ext/libelf/elf_strptr.c:
ext/libelf/elf_update.c:
include sysmacros.h on Solaris for roundup()
--HG--
extra : convert_revision : ea1aab834029399c445dfa4c9f78febf2c3d8f0c
Diffstat (limited to 'ext/libelf/elf_common.h')
-rw-r--r-- | ext/libelf/elf_common.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/libelf/elf_common.h b/ext/libelf/elf_common.h index 0a48d5cb2..c169e7e40 100644 --- a/ext/libelf/elf_common.h +++ b/ext/libelf/elf_common.h @@ -45,9 +45,9 @@ */ typedef struct { - u_int32_t n_namesz; /* Length of name. */ - u_int32_t n_descsz; /* Length of descriptor. */ - u_int32_t n_type; /* Type of this note. */ + uint32_t n_namesz; /* Length of name. */ + uint32_t n_descsz; /* Length of descriptor. */ + uint32_t n_type; /* Type of this note. */ } Elf_Note; /* Indexes into the e_ident array. Keep synced with |