gem5/ext/libelf
Andreas Hansson 406891c62a scons: Enforce gcc >= 4.4 or clang >= 2.9 and c++0x support
This patch checks that the compiler in use is either gcc >= 4.4 or
clang >= 2.9. and enables building with --std=c++0x in all cases. As a
consequence, we can tidy up the hashmap and always have static_assert
available. If anyone wants to use alternative compilers, icc for
example supports c++0x to a similar level and could be added if
needed.

This patch opens up for a more elaborate use of c++0x features that
are present in gcc 4.4 and clang 2.9, e.g. auto typed variables,
variadic templates, rvalues and move semantics, and strongly typed
enums. There will be no going back on this one...
2013-01-07 13:05:39 -05:00
..
_libelf.h LibElf: Build the error management code in libelf. 2011-06-12 23:51:59 -07:00
elf32.h Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
elf64.h Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
elf_begin.c Fix compiling on Solaris since Nate's libelf change 2007-05-30 17:08:12 -04:00
elf_cntl.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
elf_common.h Fix compiling on Solaris since Nate's libelf change 2007-05-30 17:08:12 -04:00
elf_data.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
elf_end.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
elf_errmsg.c LibElf: Build the error management code in libelf. 2011-06-12 23:51:59 -07:00
elf_errno.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
elf_fill.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
elf_flag.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
elf_getarhdr.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
elf_getarsym.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
elf_getbase.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
elf_getident.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
elf_hash.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
elf_kind.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
elf_memory.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
elf_next.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
elf_phnum.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
elf_queue.h Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
elf_rand.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
elf_rawfile.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
elf_scn.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
elf_shnum.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
elf_shstrndx.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
elf_strptr.c Fix compiling on Solaris since Nate's libelf change 2007-05-30 17:08:12 -04:00
elf_types.m4 Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
elf_update.c Fix compiling on Solaris since Nate's libelf change 2007-05-30 17:08:12 -04:00
elf_version.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
gelf.h Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
gelf_checksum.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
gelf_dyn.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
gelf_ehdr.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
gelf_fsize.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
gelf_getclass.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
gelf_phdr.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
gelf_rel.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
gelf_rela.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
gelf_shdr.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
gelf_sym.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
gelf_symshndx.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
gelf_xlate.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
libelf.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
libelf.h Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
libelf_align.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
libelf_allocate.c Fix compiling on Solaris since Nate's libelf change 2007-05-30 17:08:12 -04:00
libelf_ar.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
libelf_checksum.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
libelf_convert.m4 Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
libelf_data.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
libelf_ehdr.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
libelf_extended.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
libelf_fsize.m4 Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
libelf_msize.m4 Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
libelf_phdr.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
libelf_shdr.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
libelf_xlate.c Get rid of GNU libelf and its autoconf nastiness and replace 2007-05-26 18:15:22 -07:00
SConscript scons: Enforce gcc >= 4.4 or clang >= 2.9 and c++0x support 2013-01-07 13:05:39 -05:00