ecoff_object.hh (2665:a124942bacb8) ecoff_object.hh (3812:eaa215123a26)
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;

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

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
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;

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

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);
56 virtual bool loadLocalSymbols(SymbolTable *symtab);
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());
57
58 static ObjectFile *tryFile(const std::string &fname, int fd,
59 size_t len, uint8_t *data);
60};
61
62#endif // __ECOFF_OBJECT_HH__
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__