diff options
author | Nathan Binkert <binkertn@umich.edu> | 2007-05-26 18:15:22 -0700 |
---|---|---|
committer | Nathan Binkert <binkertn@umich.edu> | 2007-05-26 18:15:22 -0700 |
commit | 4f0f217c1b6a8c888ff8a1c60d1eb36cbdf14490 (patch) | |
tree | ad4f2696a1ada8f8a3e63bb4830f8011d6d25593 /src/base/loader | |
parent | 44ebb8d3e27329e9f0b501897585359b4ab696f2 (diff) | |
download | gem5-4f0f217c1b6a8c888ff8a1c60d1eb36cbdf14490.tar.xz |
Get rid of GNU libelf and its autoconf nastiness and replace
it with FreeBSD's implementation
--HG--
extra : convert_revision : ef9c4551b9a6b54b76a89f286ff9804c55790621
Diffstat (limited to 'src/base/loader')
-rw-r--r-- | src/base/loader/elf_object.cc | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/base/loader/elf_object.cc b/src/base/loader/elf_object.cc index 8f157da28..f76ea593b 100644 --- a/src/base/loader/elf_object.cc +++ b/src/base/loader/elf_object.cc @@ -31,23 +31,14 @@ #include <string> -// Because of the -Wundef flag we have to do this -#define __LIBELF_INTERNAL__ 0 -#define __LIBELF_NEED_LINK_H 0 -#define __LIBELF_SYMBOL_VERSIONS 0 - #include "gelf.h" #include "base/loader/elf_object.hh" -#include "base/misc.hh" - #include "base/loader/symtab.hh" - +#include "base/misc.hh" #include "base/trace.hh" // for DPRINTF - #include "sim/byteswap.hh" - using namespace std; ObjectFile * |