Lines Matching refs:Shdr
87 ELi_GetShdr( ElfHandle, i, &(CurrentShdrEx->Shdr));
94 CurrentShdrEx->Shdr.sh_name,
100 …h = ELi_GetStrLen( ElfHandle, ElfHandle->CurrentEhdr.e_shstrndx, CurrentShdrEx->Shdr.sh_name ) + 1;
108 CurrentShdrEx->Shdr.sh_name,
114 special_sect_name = CurrentShdrEx->Shdr.sh_size;
123 CurrentShdrEx->Shdr.sh_name = special_sect_name;
124 CurrentShdrEx->Shdr.sh_type = SPECIAL_SECTION_TYPE;
125 CurrentShdrEx->Shdr.sh_flags = 0;
126 CurrentShdrEx->Shdr.sh_addr = 0;
127 CurrentShdrEx->Shdr.sh_offset = 0;
128 …CurrentShdrEx->Shdr.sh_size = (stripped_section_num)*4; //(ElfHandle->CurrentEhdr.e_shnum)*4; (Whe…
129 CurrentShdrEx->Shdr.sh_link = 0;
130 CurrentShdrEx->Shdr.sh_info = 0;
131 CurrentShdrEx->Shdr.sh_addralign = 4;
132 CurrentShdrEx->Shdr.sh_entsize = 4;
156 if( CurrentShdrEx->Shdr.sh_type == SPECIAL_SECTION_TYPE) {
159 u32 sh_size = CurrentShdrEx->Shdr.sh_size;
175 … if( CurrentShdrEx->Shdr.sh_type != SHT_NULL) { //NULL section (section 0) has no content
178 ELi_CopySectionToBuffer( ElfHandle, &(CurrentShdrEx->Shdr));
182 if( (CurrentShdrEx->Shdr.sh_type == SHT_STRTAB)&&
186 CurrentShdrEx->Shdr.sh_size += (strlen( SPECIAL_SECTION_NAME) + 1);
216 CurrentShdrEx->Shdr.sh_offset = (CurrentShdrEx->loaded_adr - (u32)buf);
219 memcpy( (u8*)tmp_buf, &(CurrentShdrEx->Shdr),