summaryrefslogtreecommitdiff
path: root/src/base
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2007-05-26 18:15:22 -0700
committerNathan Binkert <binkertn@umich.edu>2007-05-26 18:15:22 -0700
commit4f0f217c1b6a8c888ff8a1c60d1eb36cbdf14490 (patch)
treead4f2696a1ada8f8a3e63bb4830f8011d6d25593 /src/base
parent44ebb8d3e27329e9f0b501897585359b4ab696f2 (diff)
downloadgem5-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')
-rw-r--r--src/base/loader/elf_object.cc11
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 *