gem5/ext/libelf
Andreas Hansson 4731979ab0 scons: Fix libelf linking errors when using clang/llvm
This patch fixes a linking error that occurs when using clang/llvm in
combination with older versions of glibc. The fix involves adding
-std=gnu89 to the command line when compiling libelf as clang defaults
to c99, causing issues with the symbols in sysmacros.h being defined
multiple times.
2013-01-07 13:05:35 -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: Fix libelf linking errors when using clang/llvm 2013-01-07 13:05:35 -05:00