| /TwlSDK-5.1.0/build/tools/makelst/ |
| D | loader_subset.c | 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() [all …]
|
| D | elf_loader.h | 47 Elf32_Sym Sym; member 69 Elf32_Sym Sym; /* Symbol entry */ member
|
| D | elf_loader.c | 339 ELi_GetSent( ElfHandle, CurrentShdrEx->Shdr.sh_link, &(ElfHandle->Sym), in ELi_LoadObject() 341 … ELi_GetStrAdr( ElfHandle, ElfHandle->SymShdr.sh_link, ElfHandle->Sym.st_name, sym_str, 128); in ELi_LoadObject() 347 printf( "%08x ", (int)(ElfHandle->Sym.st_value)); in ELi_LoadObject() 378 ELi_GetSent( ElfHandle, CurrentShdrEx->Shdr.sh_link, &(ElfHandle->Sym), in ELi_LoadObject() 380 … ELi_GetStrAdr( ElfHandle, ElfHandle->SymShdr.sh_link, ElfHandle->Sym.st_name, sym_str, 128); in ELi_LoadObject() 386 printf( "%08x ", (int)(ElfHandle->Sym.st_value)); in ELi_LoadObject()
|
| /TwlSDK-5.1.0/build/tools/stripdebug/ |
| D | loader_subset.c | 125 memcpy( (u8*)load_adr, &(CurrentSymEx->Sym), in ELi_CopySymToBuffer() 347 memcpy( &(CurrentSymEx->Sym), &TestSym, sizeof(TestSym)); in ELi_BuildSymList() 358 if( ELF32_ST_TYPE( CurrentSymEx->Sym.st_info) == STT_FUNC) { in ELi_BuildSymList() 359 … CurrentSymEx->thumb_flag = (u16)(ELi_CodeIsThumb( elElfDesc, CurrentSymEx->Sym.st_shndx, in ELi_BuildSymList() 360 CurrentSymEx->Sym.st_value)); in ELi_BuildSymList() 508 if( CurrentSymEx->Sym.st_shndx == sh_index) { in ELi_CodeIsThumb() 509 ELi_GetStrAdr( ElfHandle, SymShdr->sh_link, CurrentSymEx->Sym.st_name, str_adr, 3); in ELi_CodeIsThumb() 515 if( CurrentSymEx->Sym.st_value > offset) { in ELi_CodeIsThumb()
|
| D | elf_loader.h | 61 Elf32_Sym Sym; member 83 Elf32_Sym Sym; /* Symbol entry */ member
|
| D | elf_loader.c | 480 CurrentSymEx->Sym.st_name, in ELi_LoadObject() 486 … length = ELi_GetStrLen( ElfHandle, CurrentShdrEx->Shdr.sh_link, CurrentSymEx->Sym.st_name ) + 1; in ELi_LoadObject() 494 CurrentSymEx->Sym.st_name, in ELi_LoadObject() 504 … CurrentSymEx->Sym.st_name = StrShEx->str_table_size; //Correct symbol entry data in ELi_LoadObject() 513 if( ((ELF32_ST_BIND( (CurrentSymEx->Sym.st_info))) != STB_LOCAL)&& in ELi_LoadObject() 522 if( (CurrentSymEx->Sym.st_shndx != SHN_UNDEF) && in ELi_LoadObject() 523 (CurrentSymEx->Sym.st_shndx < SHN_LORESERVE)) { in ELi_LoadObject() 524 …CurrentSymEx->Sym.st_shndx = shdr_table[CurrentSymEx->Sym.st_shndx]; //Update section number for t… in ELi_LoadObject()
|
| /TwlSDK-5.1.0/build/libraries/el/common/src/ |
| D | loader_subset.c | 514 if( CurrentSymEx->Sym.st_shndx == SHN_UNDEF) { in ELi_RelocateSym() 516 … ELi_GetStrAdr( elElfDesc, SymShdr->sh_link, CurrentSymEx->Sym.st_name, sym_str, 128); in ELi_RelocateSym() 545 … CurrentShdrEx = ELi_GetShdrExfromList( elElfDesc->ShdrEx, CurrentSymEx->Sym.st_shndx); in ELi_RelocateSym() 547 …sym_loaded_adr += CurrentSymEx->Sym.st_value; //sym_loaded_adr is called S in the specifications in ELi_RelocateSym() 630 if( (ELF32_ST_BIND( CurrentSymEx->Sym.st_info) == STB_GLOBAL) && in ELi_GoPublicGlobalSym() 631 (CurrentSymEx->Sym.st_shndx != SHN_UNDEF)) { in ELi_GoPublicGlobalSym() 638 ELi_GetStrAdr( elElfDesc, SymShdr.sh_link, CurrentSymEx->Sym.st_name, sym_str, 128); in ELi_GoPublicGlobalSym() 645 CurrentShdrEx = ELi_GetShdrExfromList( elElfDesc->ShdrEx, CurrentSymEx->Sym.st_shndx); in ELi_GoPublicGlobalSym() 647 …ExportAdrEntry->adr = (void*)(CurrentShdrEx->loaded_adr + ((CurrentSymEx->Sym.st_value)&0xFFFFFFFE… in ELi_GoPublicGlobalSym() 648 ExportAdrEntry->func_flag = (u16)(ELF32_ST_TYPE( CurrentSymEx->Sym.st_info)); in ELi_GoPublicGlobalSym() [all …]
|
| D | elf_loader.c | 758 ELi_GetSent( elElfDesc, CurrentShdrEx->Shdr.sh_link, &(elElfDesc->Sym), in elLoadSections() 760 … ELi_GetStrAdr( elElfDesc, elElfDesc->SymShdr.sh_link, elElfDesc->Sym.st_name, sym_str, 128); in elLoadSections() 765 PRINTDEBUG( "%08x ", elElfDesc->Sym.st_value); in elLoadSections() 794 ELi_GetSent( elElfDesc, CurrentShdrEx->Shdr.sh_link, &(elElfDesc->Sym), in elLoadSections() 796 … ELi_GetStrAdr( elElfDesc, elElfDesc->SymShdr.sh_link, elElfDesc->Sym.st_name, sym_str, 128); in elLoadSections() 801 PRINTDEBUG( "%08x ", elElfDesc->Sym.st_value); in elLoadSections()
|
| /TwlSDK-5.1.0/build/libraries/el/common/include/ |
| D | elf_loader.h | 61 Elf32_Sym Sym; member 146 Elf32_Sym Sym; /* Symbol entry */ member
|