object_file.hh (3584:8c3cdb2c001c) | object_file.hh (3812:eaa215123a26) |
---|---|
1/* 2 * Copyright (c) 2002-2004 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; --- 64 unchanged lines hidden (view full) --- 73 74 public: 75 virtual ~ObjectFile(); 76 77 void close(); 78 79 virtual bool loadSections(Port *memPort, Addr addrMask = 80 std::numeric_limits<Addr>::max()); | 1/* 2 * Copyright (c) 2002-2004 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; --- 64 unchanged lines hidden (view full) --- 73 74 public: 75 virtual ~ObjectFile(); 76 77 void close(); 78 79 virtual bool loadSections(Port *memPort, Addr addrMask = 80 std::numeric_limits<Addr>::max()); |
81 virtual bool loadGlobalSymbols(SymbolTable *symtab) = 0; 82 virtual bool loadLocalSymbols(SymbolTable *symtab) = 0; | 81 virtual bool loadGlobalSymbols(SymbolTable *symtab, Addr addrMask = 82 std::numeric_limits<Addr>::max()) = 0; 83 virtual bool loadLocalSymbols(SymbolTable *symtab, Addr addrMask = 84 std::numeric_limits<Addr>::max()) = 0; |
83 84 Arch getArch() const { return arch; } 85 OpSys getOpSys() const { return opSys; } 86 87 protected: 88 89 struct Section { 90 Addr baseAddr; --- 34 unchanged lines hidden --- | 85 86 Arch getArch() const { return arch; } 87 OpSys getOpSys() const { return opSys; } 88 89 protected: 90 91 struct Section { 92 Addr baseAddr; --- 34 unchanged lines hidden --- |