Deleted Added
sdiff udiff text old ( 3812:eaa215123a26 ) new ( 10880:61a56f76222b )
full compact
1/*
2 * Copyright (c) 2003-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 31 unchanged lines hidden (view full) ---

40
41class EcoffObject : public ObjectFile
42{
43 protected:
44 ecoff_exechdr *execHdr;
45 ecoff_filehdr *fileHdr;
46 ecoff_aouthdr *aoutHdr;
47
48 EcoffObject(const std::string &_filename, int _fd,
49 size_t _len, uint8_t *_data,
50 Arch _arch, OpSys _opSys);
51
52 public:
53 virtual ~EcoffObject() {}
54
55 virtual bool loadGlobalSymbols(SymbolTable *symtab, Addr addrMask =
56 std::numeric_limits<Addr>::max());
57 virtual bool loadLocalSymbols(SymbolTable *symtab, Addr addrMask =
58 std::numeric_limits<Addr>::max());
59
60 static ObjectFile *tryFile(const std::string &fname, int fd,
61 size_t len, uint8_t *data);
62};
63
64#endif // __ECOFF_OBJECT_HH__