summaryrefslogtreecommitdiff
path: root/src/base/loader/ecoff_object.cc
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2010-09-10 14:58:04 -0700
committerNathan Binkert <nate@binkert.org>2010-09-10 14:58:04 -0700
commitafafaf1dcbab1fac3e3ba2f87dd5138d3ec08588 (patch)
treee13b5f3eaf5c55447898150532d823662d11b5f6 /src/base/loader/ecoff_object.cc
parent47ef97b9caad0a72751523855d145dcd96fc5738 (diff)
downloadgem5-afafaf1dcbab1fac3e3ba2f87dd5138d3ec08588.tar.xz
style: fix sorting of includes and whitespace in some files
Diffstat (limited to 'src/base/loader/ecoff_object.cc')
-rw-r--r--src/base/loader/ecoff_object.cc15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/base/loader/ecoff_object.cc b/src/base/loader/ecoff_object.cc
index d1719f1c6..2027a2e1e 100644
--- a/src/base/loader/ecoff_object.cc
+++ b/src/base/loader/ecoff_object.cc
@@ -31,14 +31,19 @@
#include <string>
#include "base/loader/ecoff_object.hh"
-#include "base/misc.hh"
#include "base/loader/symtab.hh"
-
-#include "base/trace.hh" // for DPRINTF
-
-#include "base/loader/exec_ecoff.h"
+#include "base/misc.hh"
+#include "base/trace.hh"
+#include "base/types.hh"
+
+// Only alpha will be able to load ecoff files for now.
+// base/types.hh and ecoff_machdep.h must be before the other .h files
+// because they are are gathered from other code bases and require some
+// typedefs from those files.
+#include "arch/alpha/ecoff_machdep.h"
#include "base/loader/coff_sym.h"
#include "base/loader/coff_symconst.h"
+#include "base/loader/exec_ecoff.h"
using namespace std;