Lines Matching refs:Sym
246 ELi_GetEntry( ElfHandle, SymShdr, i, &(CurrentSymEx->Sym)); in ELi_RelocateSym()
249 CurrentShdrEx = ELi_GetShdrExfromList( ElfHandle->ShdrEx, CurrentSymEx->Sym.st_shndx); in ELi_RelocateSym()
265 if( ELF32_ST_TYPE( CurrentSymEx->Sym.st_info) == STT_FUNC) { in ELi_RelocateSym()
266 CurrentSymEx->thumb_flag = (u16)(ELi_CodeIsThumb( ElfHandle, CurrentSymEx->Sym.st_shndx, in ELi_RelocateSym()
267 CurrentSymEx->Sym.st_value)); in ELi_RelocateSym()
302 if( CurrentSymEx->Sym.st_shndx == SHN_UNDEF) { in ELi_RelocateSym()
304 … ELi_GetStrAdr( ElfHandle, SymShdr->sh_link, CurrentSymEx->Sym.st_name, sym_str, 128); in ELi_RelocateSym()
337 … CurrentShdrEx = ELi_GetShdrExfromList( ElfHandle->ShdrEx, CurrentSymEx->Sym.st_shndx); in ELi_RelocateSym()
339 …sym_loaded_adr += CurrentSymEx->Sym.st_value; //sym_loaded_adr is called S in the specifications in ELi_RelocateSym()
360 if( ((ELF32_ST_BIND( CurrentSymEx->Sym.st_info) == STB_GLOBAL) || in ELi_RelocateSym()
361 (ELF32_ST_BIND( CurrentSymEx->Sym.st_info) == STB_WEAK) || in ELi_RelocateSym()
362 (ELF32_ST_BIND( CurrentSymEx->Sym.st_info) == STB_MW_SPECIFIC))&& in ELi_RelocateSym()
363 (CurrentSymEx->Sym.st_shndx != SHN_UNDEF)) { in ELi_RelocateSym()
369 ELi_GetStrAdr( ElfHandle, SymShdr->sh_link, CurrentSymEx->Sym.st_name, sym_str, 128); in ELi_RelocateSym()
375 CurrentShdrEx = ELi_GetShdrExfromList( ElfHandle->ShdrEx, CurrentSymEx->Sym.st_shndx); in ELi_RelocateSym()
377 …ExportAdrEntry->adr = (void*)(CurrentShdrEx->loaded_adr + ((CurrentSymEx->Sym.st_value)&0xFFFFFFFE… in ELi_RelocateSym()
378 ExportAdrEntry->func_flag = (u16)(ELF32_ST_TYPE( CurrentSymEx->Sym.st_info)); in ELi_RelocateSym()
445 ELi_GetEntry( ElfHandle, SymShdr, i, &(CurrentSymEx->Sym)); in ELi_DiscriminateGlobalSym()
448 CurrentShdrEx = ELi_GetShdrExfromList( ElfHandle->ShdrEx, CurrentSymEx->Sym.st_shndx); in ELi_DiscriminateGlobalSym()
464 if( ELF32_ST_TYPE( CurrentSymEx->Sym.st_info) == STT_FUNC) { in ELi_DiscriminateGlobalSym()
465 CurrentSymEx->thumb_flag = (u16)(ELi_CodeIsThumb( ElfHandle, CurrentSymEx->Sym.st_shndx, in ELi_DiscriminateGlobalSym()
466 CurrentSymEx->Sym.st_value)); in ELi_DiscriminateGlobalSym()
477 if( ((ELF32_ST_BIND( CurrentSymEx->Sym.st_info) == STB_GLOBAL) || in ELi_DiscriminateGlobalSym()
478 (ELF32_ST_BIND( CurrentSymEx->Sym.st_info) == STB_WEAK) || in ELi_DiscriminateGlobalSym()
479 (ELF32_ST_BIND( CurrentSymEx->Sym.st_info) == STB_MW_SPECIFIC))&& in ELi_DiscriminateGlobalSym()
480 (CurrentSymEx->Sym.st_shndx != SHN_UNDEF)) { in ELi_DiscriminateGlobalSym()
486 ELi_GetStrAdr( ElfHandle, SymShdr->sh_link, CurrentSymEx->Sym.st_name, sym_str, 128); in ELi_DiscriminateGlobalSym()
492 if( (CurrentSymEx->Sym.st_shndx) < SHN_LORESERVE) { //When there is a related section in ELi_DiscriminateGlobalSym()
493 if( (CurrentSymEx->Sym.st_shndx == SHN_ABS)) { in ELi_DiscriminateGlobalSym()
495 ExportAdrEntry->adr = (void*)((CurrentSymEx->Sym.st_value)&0xFFFFFFFE); in ELi_DiscriminateGlobalSym()
497 … CurrentShdrEx = ELi_GetShdrExfromList( ElfHandle->ShdrEx, CurrentSymEx->Sym.st_shndx); in ELi_DiscriminateGlobalSym()
499 …ExportAdrEntry->adr = (void*)(CurrentShdrEx->loaded_adr + ((CurrentSymEx->Sym.st_value)&0xFFFFFFFE… in ELi_DiscriminateGlobalSym()
501 ExportAdrEntry->func_flag = (u16)(ELF32_ST_TYPE( CurrentSymEx->Sym.st_info)); in ELi_DiscriminateGlobalSym()
721 if( CurrentSymEx->Sym.st_shndx == sh_index) { in ELi_CodeIsThumb()
722 ELi_GetStrAdr( ElfHandle, SymShdr->sh_link, CurrentSymEx->Sym.st_name, str_adr, 3); in ELi_CodeIsThumb()
728 if( CurrentSymEx->Sym.st_value > offset) { in ELi_CodeIsThumb()