ecoff_object.hh (10880:61a56f76222b) ecoff_object.hh (11392:5967db4cff04)
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;

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

46 ecoff_aouthdr *aoutHdr;
47
48 EcoffObject(const std::string &_filename, size_t _len, uint8_t *_data,
49 Arch _arch, OpSys _opSys);
50
51 public:
52 virtual ~EcoffObject() {}
53
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;

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

46 ecoff_aouthdr *aoutHdr;
47
48 EcoffObject(const std::string &_filename, size_t _len, uint8_t *_data,
49 Arch _arch, OpSys _opSys);
50
51 public:
52 virtual ~EcoffObject() {}
53
54 virtual bool loadGlobalSymbols(SymbolTable *symtab, Addr addrMask =
55 std::numeric_limits<Addr>::max());
56 virtual bool loadLocalSymbols(SymbolTable *symtab, Addr addrMask =
57 std::numeric_limits<Addr>::max());
54 virtual bool loadAllSymbols(SymbolTable *symtab, Addr base = 0,
55 Addr offset = 0, Addr addr_mask = maxAddr);
56 virtual bool loadGlobalSymbols(SymbolTable *symtab, Addr base = 0,
57 Addr offset = 0, Addr addr_mask = maxAddr);
58 virtual bool loadLocalSymbols(SymbolTable *symtab, Addr base = 0,
59 Addr offset = 0, Addr addr_mask = maxAddr);
58
59 static ObjectFile *tryFile(const std::string &fname,
60 size_t len, uint8_t *data);
61};
62
63#endif // __ECOFF_OBJECT_HH__
60
61 static ObjectFile *tryFile(const std::string &fname,
62 size_t len, uint8_t *data);
63};
64
65#endif // __ECOFF_OBJECT_HH__