diff options
Diffstat (limited to 'src/base/loader/ecoff_object.hh')
-rw-r--r-- | src/base/loader/ecoff_object.hh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/base/loader/ecoff_object.hh b/src/base/loader/ecoff_object.hh index ca6fa2dd0..0a5a43f72 100644 --- a/src/base/loader/ecoff_object.hh +++ b/src/base/loader/ecoff_object.hh @@ -45,8 +45,7 @@ class EcoffObject : public ObjectFile ecoff_filehdr *fileHdr; ecoff_aouthdr *aoutHdr; - EcoffObject(const std::string &_filename, int _fd, - size_t _len, uint8_t *_data, + EcoffObject(const std::string &_filename, size_t _len, uint8_t *_data, Arch _arch, OpSys _opSys); public: @@ -57,7 +56,7 @@ class EcoffObject : public ObjectFile virtual bool loadLocalSymbols(SymbolTable *symtab, Addr addrMask = std::numeric_limits<Addr>::max()); - static ObjectFile *tryFile(const std::string &fname, int fd, + static ObjectFile *tryFile(const std::string &fname, size_t len, uint8_t *data); }; |