Lines Matching refs:Shdr
660 ELi_GetShdr( elElfDesc, i, &(CurrentShdrEx->Shdr)); in elLoadSections()
684 if( (CurrentShdrEx->Shdr.sh_flags == (SHF_ALLOC | SHF_EXECINSTR))&& in elLoadSections()
685 (CurrentShdrEx->Shdr.sh_type == SHT_PROGBITS)) { in elLoadSections()
688 … ELi_CopySectionToBuffer( elElfDesc, MYObject, &(CurrentShdrEx->Shdr)); in elLoadSections()
692 else if( (CurrentShdrEx->Shdr.sh_flags == (SHF_ALLOC | SHF_WRITE))&& in elLoadSections()
693 (CurrentShdrEx->Shdr.sh_type == SHT_PROGBITS)) { in elLoadSections()
696 … ELi_CopySectionToBuffer( elElfDesc, MYObject, &(CurrentShdrEx->Shdr)); in elLoadSections()
700 else if( (CurrentShdrEx->Shdr.sh_flags == (SHF_ALLOC | SHF_WRITE))&& in elLoadSections()
701 (CurrentShdrEx->Shdr.sh_type == SHT_NOBITS)) { in elLoadSections()
704 … ELi_AllocSectionToBuffer( elElfDesc, MYObject, &(CurrentShdrEx->Shdr)); in elLoadSections()
708 else if( (CurrentShdrEx->Shdr.sh_flags == SHF_ALLOC)&& in elLoadSections()
709 (CurrentShdrEx->Shdr.sh_type == SHT_PROGBITS)) { in elLoadSections()
712 … ELi_CopySectionToBuffer( elElfDesc, MYObject, &(CurrentShdrEx->Shdr)); in elLoadSections()
743 if( CurrentShdrEx->Shdr.sh_type == SHT_REL) { in elLoadSections()
746 CurrentShdrEx->Shdr.sh_info); in elLoadSections()
752 num_of_entry = (CurrentShdrEx->Shdr.sh_size) / in elLoadSections()
753 (CurrentShdrEx->Shdr.sh_entsize); in elLoadSections()
757 PRINTDEBUG( "link : %x\n", CurrentShdrEx->Shdr.sh_link); in elLoadSections()
758 PRINTDEBUG( "info : %x\n", CurrentShdrEx->Shdr.sh_info); in elLoadSections()
763 ELi_GetShdr( elElfDesc, CurrentShdrEx->Shdr.sh_link, &(elElfDesc->SymShdr)); in elLoadSections()
764 ELi_GetSent( elElfDesc, CurrentShdrEx->Shdr.sh_link, &(elElfDesc->Sym), in elLoadSections()
775 offset += (u32)(CurrentShdrEx->Shdr.sh_entsize); in elLoadSections()
779 else if( CurrentShdrEx->Shdr.sh_type == SHT_RELA) { in elLoadSections()
782 CurrentShdrEx->Shdr.sh_info); in elLoadSections()
789 num_of_entry = (CurrentShdrEx->Shdr.sh_size) / in elLoadSections()
790 (CurrentShdrEx->Shdr.sh_entsize); in elLoadSections()
793 PRINTDEBUG( "link : %x\n", CurrentShdrEx->Shdr.sh_link); in elLoadSections()
794 PRINTDEBUG( "info : %x\n", CurrentShdrEx->Shdr.sh_info); in elLoadSections()
799 ELi_GetShdr( elElfDesc, CurrentShdrEx->Shdr.sh_link, &(elElfDesc->SymShdr)); in elLoadSections()
800 ELi_GetSent( elElfDesc, CurrentShdrEx->Shdr.sh_link, &(elElfDesc->Sym), in elLoadSections()
811 offset += (u32)(CurrentShdrEx->Shdr.sh_entsize); in elLoadSections()
815 else if( CurrentShdrEx->Shdr.sh_type == SHT_SYMTAB) { in elLoadSections()