Lines Matching refs:Shdr
290 void* ELi_CopySectionToBuffer( ELDesc* elElfDesc, ELObject* MYObject, Elf32_Shdr* Shdr) in ELi_CopySectionToBuffer() argument
296 load_start = ELi_ALIGN( ((u32)(MYObject->buf_current)), (Shdr->sh_addralign)); in ELi_CopySectionToBuffer()
298 sh_size = Shdr->sh_size; in ELi_CopySectionToBuffer()
305 (u32)(elElfDesc->elf_offset)+(u32)(Shdr->sh_offset), in ELi_CopySectionToBuffer()
324 void* ELi_AllocSectionToBuffer( ELDesc* elElfDesc, ELObject* MYObject, Elf32_Shdr* Shdr) in ELi_AllocSectionToBuffer() argument
331 load_start = ELi_ALIGN( ((u32)(MYObject->buf_current)), (Shdr->sh_addralign)); in ELi_AllocSectionToBuffer()
333 sh_size = Shdr->sh_size; in ELi_AllocSectionToBuffer()
366 void ELi_GetShdr( ELDesc* elElfDesc, u32 index, Elf32_Shdr* Shdr) in ELi_GetShdr() argument
372 (void)elElfDesc->i_elReadStub( Shdr, in ELi_GetShdr()
384 Elf32_Shdr Shdr; in ELi_GetSent() local
386 ELi_GetShdr( elElfDesc, index, &Shdr); in ELi_GetSent()
391 (u32)(elElfDesc->elf_offset) + (u32)(Shdr.sh_offset) + offset, in ELi_GetSent()
402 void ELi_GetEntry( ELDesc* elElfDesc, Elf32_Shdr* Shdr, u32 index, void* entry_buf) in ELi_GetEntry() argument
406 offset = (u32)(Shdr->sh_offset) + ((Shdr->sh_entsize) * index); in ELi_GetEntry()
412 Shdr->sh_entsize); in ELi_GetEntry()