style: fix sorting of includes and whitespace in some files

This commit is contained in:
Nathan Binkert
2010-09-10 14:58:04 -07:00
parent 47ef97b9ca
commit afafaf1dcb
19 changed files with 34 additions and 46 deletions

View File

@@ -31,11 +31,8 @@
#include <string>
#include "base/loader/aout_object.hh"
#include "base/loader/symtab.hh"
#include "base/trace.hh" // for DPRINTF
#include "base/trace.hh"
#include "base/loader/exec_aout.h"
using namespace std;

View File

@@ -31,14 +31,19 @@
#include <string>
#include "base/loader/ecoff_object.hh"
#include "base/misc.hh"
#include "base/loader/symtab.hh"
#include "base/misc.hh"
#include "base/trace.hh"
#include "base/types.hh"
#include "base/trace.hh" // for DPRINTF
#include "base/loader/exec_ecoff.h"
// 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;

View File

@@ -38,7 +38,7 @@
#include "base/loader/elf_object.hh"
#include "base/loader/symtab.hh"
#include "base/misc.hh"
#include "base/trace.hh" // for DPRINTF
#include "base/trace.hh"
#include "sim/byteswap.hh"
using namespace std;

View File

@@ -37,9 +37,6 @@
#ifndef _SYS_EXEC_ECOFF_H_
#define _SYS_EXEC_ECOFF_H_
//Only alpha will be able to load ecoff files for now
#include "arch/alpha/ecoff_machdep.h"
struct ecoff_filehdr {
coff_ushort f_magic; /* magic number */
coff_ushort f_nscns; /* # of sections */