Lines Matching refs:symbol
277 ElfFileSymbol symbol; in ReadSymbolTable() local
290 symbol.is_in_text_section = true; in ReadSymbolTable()
299 symbol.name = symbol_name_or_err.get(); in ReadSymbolTable()
300 symbol.vaddr = symbol_ref->getValue(); in ReadSymbolTable()
301 if ((symbol.vaddr & 1) != 0 && is_arm) { in ReadSymbolTable()
303 symbol.vaddr &= ~1; in ReadSymbolTable()
305 symbol.len = symbol_ref->getSize(); in ReadSymbolTable()
308 symbol.is_func = true; in ReadSymbolTable()
310 if (symbol.is_in_text_section) { in ReadSymbolTable()
311 symbol.is_label = true; in ReadSymbolTable()
314 const char* p = (symbol.name.compare(0, linker_prefix.size(), linker_prefix) == 0) in ReadSymbolTable()
315 ? symbol.name.c_str() + linker_prefix.size() in ReadSymbolTable()
316 : symbol.name.c_str(); in ReadSymbolTable()
318 symbol.is_label = false; in ReadSymbolTable()
324 callback(symbol); in ReadSymbolTable()
348 ElfFileSymbol symbol; in AddSymbolForPltSection() local
349 symbol.vaddr = shdr->sh_addr; in AddSymbolForPltSection()
350 symbol.len = shdr->sh_size; in AddSymbolForPltSection()
351 symbol.is_func = true; in AddSymbolForPltSection()
352 symbol.is_label = true; in AddSymbolForPltSection()
353 symbol.is_in_text_section = true; in AddSymbolForPltSection()
354 symbol.name = "@plt"; in AddSymbolForPltSection()
355 callback(symbol); in AddSymbolForPltSection()