Lines Matching refs:shdr

58   result = scn->shdr.ELFW(e,LIBELFBITS);  in ElfW2()
70 ElfW2(LIBELFBITS,Shdr) *shdr = elf->state.ELFW(elf,LIBELFBITS).shdr = in ElfW2()
72 if (elf->state.ELFW(elf,LIBELFBITS).shdr == NULL) in ElfW2()
113 memcpy (shdr, file_shdr, size); in ElfW2()
140 CONVERT_TO (shdr[cnt].sh_name, notcvt[cnt].sh_name); in ElfW2()
141 CONVERT_TO (shdr[cnt].sh_type, notcvt[cnt].sh_type); in ElfW2()
142 CONVERT_TO (shdr[cnt].sh_flags, notcvt[cnt].sh_flags); in ElfW2()
143 CONVERT_TO (shdr[cnt].sh_addr, notcvt[cnt].sh_addr); in ElfW2()
144 CONVERT_TO (shdr[cnt].sh_offset, notcvt[cnt].sh_offset); in ElfW2()
145 CONVERT_TO (shdr[cnt].sh_size, notcvt[cnt].sh_size); in ElfW2()
146 CONVERT_TO (shdr[cnt].sh_link, notcvt[cnt].sh_link); in ElfW2()
147 CONVERT_TO (shdr[cnt].sh_info, notcvt[cnt].sh_info); in ElfW2()
148 CONVERT_TO (shdr[cnt].sh_addralign, in ElfW2()
150 CONVERT_TO (shdr[cnt].sh_entsize, notcvt[cnt].sh_entsize); in ElfW2()
155 if (shdr[cnt].sh_type == SHT_SYMTAB_SHNDX in ElfW2()
156 && shdr[cnt].sh_link < shnum) in ElfW2()
157 elf->state.ELFW(elf,LIBELFBITS).scns.data[shdr[cnt].sh_link].shndx_index in ElfW2()
175 elf->state.ELFW(elf,LIBELFBITS).shdr, size, in ElfW2()
189 CONVERT (shdr[cnt].sh_name); in ElfW2()
190 CONVERT (shdr[cnt].sh_type); in ElfW2()
191 CONVERT (shdr[cnt].sh_flags); in ElfW2()
192 CONVERT (shdr[cnt].sh_addr); in ElfW2()
193 CONVERT (shdr[cnt].sh_offset); in ElfW2()
194 CONVERT (shdr[cnt].sh_size); in ElfW2()
195 CONVERT (shdr[cnt].sh_link); in ElfW2()
196 CONVERT (shdr[cnt].sh_info); in ElfW2()
197 CONVERT (shdr[cnt].sh_addralign); in ElfW2()
198 CONVERT (shdr[cnt].sh_entsize); in ElfW2()
208 free (shdr); in ElfW2()
209 elf->state.ELFW(elf,LIBELFBITS).shdr = NULL; in ElfW2()
217 elf->state.ELFW(elf,LIBELFBITS).scns.data[cnt].shdr.ELFW(e,LIBELFBITS) in ElfW2()
218 = &elf->state.ELFW(elf,LIBELFBITS).shdr[cnt]; in ElfW2()
220 result = scn->shdr.ELFW(e,LIBELFBITS); in ElfW2()
257 result = scn->shdr.ELFW(e,LIBELFBITS); in ElfW2()
262 result = scn->shdr.ELFW(e,LIBELFBITS); in ElfW2()
279 result = scn->shdr.ELFW(e,LIBELFBITS); in ElfW2()