dtb_object.cc (11189:4237221d3e31) | dtb_object.cc (11392:5967db4cff04) |
---|---|
1/* 2 * Copyright (c) 2013 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; --- 157 unchanged lines hidden (view full) --- 166 if (len > 3) 167 rel_addr = betoh(*static_cast<const uint32_t*>(temp)); 168 if (len == 8) 169 rel_addr = (rel_addr << 32) | betoh(*(static_cast<const uint32_t*>(temp)+1)); 170 171 return rel_addr; 172} 173 | 1/* 2 * Copyright (c) 2013 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; --- 157 unchanged lines hidden (view full) --- 166 if (len > 3) 167 rel_addr = betoh(*static_cast<const uint32_t*>(temp)); 168 if (len == 8) 169 rel_addr = (rel_addr << 32) | betoh(*(static_cast<const uint32_t*>(temp)+1)); 170 171 return rel_addr; 172} 173 |
174bool 175DtbObject::loadAllSymbols(SymbolTable *symtab, Addr base, Addr offset, 176 Addr addr_mask) 177{ 178 return false; 179} |
|
174 175bool | 180 181bool |
176DtbObject::loadGlobalSymbols(SymbolTable *symtab, Addr addrMask) | 182DtbObject::loadGlobalSymbols(SymbolTable *symtab, Addr base, Addr offset, 183 Addr addr_mask) |
177{ 178 // nothing to do here 179 return false; 180} 181 182bool | 184{ 185 // nothing to do here 186 return false; 187} 188 189bool |
183DtbObject::loadLocalSymbols(SymbolTable *symtab, Addr addrMask) | 190DtbObject::loadLocalSymbols(SymbolTable *symtab, Addr base, Addr offset, 191 Addr addr_mask) |
184{ 185 // nothing to do here 186 return false; 187} | 192{ 193 // nothing to do here 194 return false; 195} |