Lines Matching refs:CurrentSymEx

493     ELSymEx*            CurrentSymEx;  in ELi_RelocateSym()  local
535 CurrentSymEx = (ELSymEx*)(elElfDesc->SymExTbl[ELF32_R_SYM( CurrentRela.r_info)]); in ELi_RelocateSym()
538 if( CurrentSymEx == NULL) { in ELi_RelocateSym()
550 if( CurrentSymEx->Sym.st_shndx == SHN_UNDEF) { in ELi_RelocateSym()
552 … ELi_GetStrAdr( elElfDesc, SymShdr->sh_link, CurrentSymEx->Sym.st_name, sym_str, 128); in ELi_RelocateSym()
581 … CurrentShdrEx = ELi_GetShdrExfromList( elElfDesc->ShdrEx, CurrentSymEx->Sym.st_shndx); in ELi_RelocateSym()
583 …sym_loaded_adr += CurrentSymEx->Sym.st_value; //sym_loaded_adr is called S in the specifications in ELi_RelocateSym()
585 thumb_func_flag = CurrentSymEx->thumb_flag; in ELi_RelocateSym()
646 ELSymEx* CurrentSymEx; in ELi_GoPublicGlobalSym() local
661CurrentSymEx = elElfDesc->SymEx; //If traceable not from Tbl but from here, debug information is n… in ELi_GoPublicGlobalSym()
662 while( CurrentSymEx != NULL) { in ELi_GoPublicGlobalSym()
666 if( (ELF32_ST_BIND( CurrentSymEx->Sym.st_info) == STB_GLOBAL) && in ELi_GoPublicGlobalSym()
667 (CurrentSymEx->Sym.st_shndx != SHN_UNDEF)) { in ELi_GoPublicGlobalSym()
674 ELi_GetStrAdr( elElfDesc, SymShdr.sh_link, CurrentSymEx->Sym.st_name, sym_str, 128); in ELi_GoPublicGlobalSym()
681 CurrentShdrEx = ELi_GetShdrExfromList( elElfDesc->ShdrEx, CurrentSymEx->Sym.st_shndx); in ELi_GoPublicGlobalSym()
683 …ExportAdrEntry->adr = (void*)(CurrentShdrEx->loaded_adr + ((CurrentSymEx->Sym.st_value)&0xFFFFFFFE… in ELi_GoPublicGlobalSym()
684 ExportAdrEntry->func_flag = (u16)(ELF32_ST_TYPE( CurrentSymEx->Sym.st_info)); in ELi_GoPublicGlobalSym()
685 ExportAdrEntry->thumb_flag = CurrentSymEx->thumb_flag; in ELi_GoPublicGlobalSym()
691 CurrentSymEx = CurrentSymEx->next; in ELi_GoPublicGlobalSym()
712 ELSymEx* CurrentSymEx; in ELi_BuildSymList() local
735 CurrentSymEx = &DmySymEx; in ELi_BuildSymList()
751 CurrentSymEx->next = ELi_Malloc( elElfDesc, NULL, sizeof(ELSymEx)); in ELi_BuildSymList()
752 if(CurrentSymEx->next == NULL) in ELi_BuildSymList()
754 CurrentSymEx = (ELSymEx*)(CurrentSymEx->next); in ELi_BuildSymList()
756 OSAPI_CPUCOPY8( &TestSym, &(CurrentSymEx->Sym), sizeof(TestSym)); in ELi_BuildSymList()
758 elElfDesc->SymExTbl[i] = CurrentSymEx; in ELi_BuildSymList()
760 PRINTDEBUG( "sym_no: %02x ... st_shndx: %04x\n", i, CurrentSymEx->Sym.st_shndx); in ELi_BuildSymList()
764 CurrentSymEx->next = NULL; in ELi_BuildSymList()
770 CurrentSymEx = elElfDesc->SymEx; in ELi_BuildSymList()
771 while( CurrentSymEx != NULL) { //If traceable from here, there is no debug information in ELi_BuildSymList()
773 if( ELF32_ST_TYPE( CurrentSymEx->Sym.st_info) == STT_FUNC) { in ELi_BuildSymList()
774 CurrentSymEx->thumb_flag = (u16)(ELi_CodeIsThumb( elElfDesc, in ELi_BuildSymList()
775 CurrentSymEx->Sym.st_shndx, in ELi_BuildSymList()
776 CurrentSymEx->Sym.st_value)); in ELi_BuildSymList()
778 CurrentSymEx->thumb_flag = 0; in ELi_BuildSymList()
781 CurrentSymEx = CurrentSymEx->next; in ELi_BuildSymList()
797 ELSymEx* CurrentSymEx; in ELi_FreeSymList() local
807 CurrentSymEx = elElfDesc->SymEx; in ELi_FreeSymList()
808 if( CurrentSymEx) { in ELi_FreeSymList()
810 FwdSymEx = CurrentSymEx; in ELi_FreeSymList()
811 CurrentSymEx = CurrentSymEx->next; in ELi_FreeSymList()
813 }while( CurrentSymEx != NULL); in ELi_FreeSymList()
1114 ELSymEx* CurrentSymEx; local
1118 CurrentSymEx = elElfDesc->SymEx;
1122 while( CurrentSymEx != NULL) {
1124 if( CurrentSymEx->Sym.st_shndx == sh_index) {
1125 ELi_GetStrAdr( elElfDesc, SymShdr->sh_link, CurrentSymEx->Sym.st_name, str_adr, 3);
1131 if( CurrentSymEx->Sym.st_value > offset) {
1136 CurrentSymEx = CurrentSymEx->next;