Lines Matching refs:Shdr
316 void* ELi_CopySectionToBuffer( ELDesc* elElfDesc, ELObject* MYObject, Elf32_Shdr* Shdr) in ELi_CopySectionToBuffer() argument
322 load_start = ELi_ALIGN( ((u32)(MYObject->buf_current)), (Shdr->sh_addralign)); in ELi_CopySectionToBuffer()
324 sh_size = Shdr->sh_size; in ELi_CopySectionToBuffer()
336 (u32)(elElfDesc->elf_offset)+(u32)(Shdr->sh_offset), in ELi_CopySectionToBuffer()
355 void* ELi_AllocSectionToBuffer( ELDesc* elElfDesc, ELObject* MYObject, Elf32_Shdr* Shdr) in ELi_AllocSectionToBuffer() argument
362 load_start = ELi_ALIGN( ((u32)(MYObject->buf_current)), (Shdr->sh_addralign)); in ELi_AllocSectionToBuffer()
364 sh_size = Shdr->sh_size; in ELi_AllocSectionToBuffer()
402 void ELi_GetShdr( ELDesc* elElfDesc, u32 index, Elf32_Shdr* Shdr) in ELi_GetShdr() argument
408 (void)elElfDesc->i_elReadStub( Shdr, in ELi_GetShdr()
420 Elf32_Shdr Shdr; in ELi_GetSent() local
422 ELi_GetShdr( elElfDesc, index, &Shdr); in ELi_GetSent()
427 (u32)(elElfDesc->elf_offset) + (u32)(Shdr.sh_offset) + offset, in ELi_GetSent()
438 void ELi_GetEntry( ELDesc* elElfDesc, Elf32_Shdr* Shdr, u32 index, void* entry_buf) in ELi_GetEntry() argument
442 offset = (u32)(Shdr->sh_offset) + ((Shdr->sh_entsize) * index); in ELi_GetEntry()
448 Shdr->sh_entsize); in ELi_GetEntry()