| /TwlSDK-5.5/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 | 345 ELi_GetSent( ElfHandle, CurrentShdrEx->Shdr.sh_link, &(ElfHandle->Sym), in ELi_LoadObject() 347 … ELi_GetStrAdr( ElfHandle, ElfHandle->SymShdr.sh_link, ElfHandle->Sym.st_name, sym_str, 128); in ELi_LoadObject() 353 printf( "%08x ", (int)(ElfHandle->Sym.st_value)); in ELi_LoadObject() 384 ELi_GetSent( ElfHandle, CurrentShdrEx->Shdr.sh_link, &(ElfHandle->Sym), in ELi_LoadObject() 386 … ELi_GetStrAdr( ElfHandle, ElfHandle->SymShdr.sh_link, ElfHandle->Sym.st_name, sym_str, 128); in ELi_LoadObject() 392 printf( "%08x ", (int)(ElfHandle->Sym.st_value)); in ELi_LoadObject()
|
| /TwlSDK-5.5/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 | 486 CurrentSymEx->Sym.st_name, in ELi_LoadObject() 492 … length = ELi_GetStrLen( ElfHandle, CurrentShdrEx->Shdr.sh_link, CurrentSymEx->Sym.st_name ) + 1; in ELi_LoadObject() 500 CurrentSymEx->Sym.st_name, in ELi_LoadObject() 510 … CurrentSymEx->Sym.st_name = StrShEx->str_table_size; //Correct symbol entry data in ELi_LoadObject() 519 if( ((ELF32_ST_BIND( (CurrentSymEx->Sym.st_info))) != STB_LOCAL)&& in ELi_LoadObject() 528 if( (CurrentSymEx->Sym.st_shndx != SHN_UNDEF) && in ELi_LoadObject() 529 (CurrentSymEx->Sym.st_shndx < SHN_LORESERVE)) { in ELi_LoadObject() 530 …CurrentSymEx->Sym.st_shndx = shdr_table[CurrentSymEx->Sym.st_shndx]; //Update section number for t… in ELi_LoadObject()
|
| /TwlSDK-5.5/build/libraries/el/common/src/ |
| D | loader_subset.c | 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() 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() [all …]
|
| D | elf_loader.c | 770 ELi_GetSent( elElfDesc, CurrentShdrEx->Shdr.sh_link, &(elElfDesc->Sym), in elLoadSections() 772 … ELi_GetStrAdr( elElfDesc, elElfDesc->SymShdr.sh_link, elElfDesc->Sym.st_name, sym_str, 128); in elLoadSections() 777 PRINTDEBUG( "%08x ", elElfDesc->Sym.st_value); in elLoadSections() 806 ELi_GetSent( elElfDesc, CurrentShdrEx->Shdr.sh_link, &(elElfDesc->Sym), in elLoadSections() 808 … ELi_GetStrAdr( elElfDesc, elElfDesc->SymShdr.sh_link, elElfDesc->Sym.st_name, sym_str, 128); in elLoadSections() 813 PRINTDEBUG( "%08x ", elElfDesc->Sym.st_value); in elLoadSections()
|
| /TwlSDK-5.5/build/libraries/el/common/include/ |
| D | elf_loader.h | 61 Elf32_Sym Sym; member 146 Elf32_Sym Sym; /* Symbol entry */ member
|