diff options
author | Nathan Binkert <binkertn@umich.edu> | 2004-01-08 12:25:49 -0500 |
---|---|---|
committer | Nathan Binkert <binkertn@umich.edu> | 2004-01-08 12:25:49 -0500 |
commit | a3691fe09e663871d4dd46c4fcc05407ac8c448a (patch) | |
tree | c3b7dc2570d60e47a46e0413bbeb9a831aa1fa13 /base/loader/elf_object.hh | |
parent | 9dcfdce732260895096b8c5d439c8ed8efb2c47e (diff) | |
parent | 14b4119aafccefb1dea2854bba8a70fa670cbef5 (diff) | |
download | gem5-a3691fe09e663871d4dd46c4fcc05407ac8c448a.tar.xz |
Merge zizzer.eecs.umich.edu:/bk/m5
into ziff.eecs.umich.edu:/z/binkertn/research/m5/latest
--HG--
extra : convert_revision : b7411b25ae9e3a546996aec59e1a67cbe728da85
Diffstat (limited to 'base/loader/elf_object.hh')
-rw-r--r-- | base/loader/elf_object.hh | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/base/loader/elf_object.hh b/base/loader/elf_object.hh index 10d97d089..afd4cd62b 100644 --- a/base/loader/elf_object.hh +++ b/base/loader/elf_object.hh @@ -29,20 +29,13 @@ #ifndef __ELF_OBJECT_HH__ #define __ELF_OBJECT_HH__ +#include <libelf/gelf.h> +#include <libelf/libelf.h> #include "base/loader/object_file.hh" -// forward decls: avoid including exec_elf.hh here -struct Elf64_Ehdr; -struct Elf64_Phdr; - class ElfObject : public ObjectFile { protected: - Elf64_Ehdr *ehdr; - Elf64_Phdr *phdr; - - int textPhdrIdx; - int dataPhdrIdx; ElfObject(const std::string &_filename, int _fd, size_t _len, uint8_t *_data, |