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()
110 memcpy (shdr, file_shdr, size); in ElfW2()
130 CONVERT_TO (shdr[cnt].sh_name, notcvt[cnt].sh_name); in ElfW2()
131 CONVERT_TO (shdr[cnt].sh_type, notcvt[cnt].sh_type); in ElfW2()
132 CONVERT_TO (shdr[cnt].sh_flags, notcvt[cnt].sh_flags); in ElfW2()
133 CONVERT_TO (shdr[cnt].sh_addr, notcvt[cnt].sh_addr); in ElfW2()
134 CONVERT_TO (shdr[cnt].sh_offset, notcvt[cnt].sh_offset); in ElfW2()
135 CONVERT_TO (shdr[cnt].sh_size, notcvt[cnt].sh_size); in ElfW2()
136 CONVERT_TO (shdr[cnt].sh_link, notcvt[cnt].sh_link); in ElfW2()
137 CONVERT_TO (shdr[cnt].sh_info, notcvt[cnt].sh_info); in ElfW2()
138 CONVERT_TO (shdr[cnt].sh_addralign, in ElfW2()
140 CONVERT_TO (shdr[cnt].sh_entsize, notcvt[cnt].sh_entsize); in ElfW2()
145 if (shdr[cnt].sh_type == SHT_SYMTAB_SHNDX in ElfW2()
146 && shdr[cnt].sh_link < shnum) in ElfW2()
147 elf->state.ELFW(elf,LIBELFBITS).scns.data[shdr[cnt].sh_link].shndx_index in ElfW2()
162 elf->state.ELFW(elf,LIBELFBITS).shdr, size, in ElfW2()
176 CONVERT (shdr[cnt].sh_name); in ElfW2()
177 CONVERT (shdr[cnt].sh_type); in ElfW2()
178 CONVERT (shdr[cnt].sh_flags); in ElfW2()
179 CONVERT (shdr[cnt].sh_addr); in ElfW2()
180 CONVERT (shdr[cnt].sh_offset); in ElfW2()
181 CONVERT (shdr[cnt].sh_size); in ElfW2()
182 CONVERT (shdr[cnt].sh_link); in ElfW2()
183 CONVERT (shdr[cnt].sh_info); in ElfW2()
184 CONVERT (shdr[cnt].sh_addralign); in ElfW2()
185 CONVERT (shdr[cnt].sh_entsize); in ElfW2()
195 free (shdr); in ElfW2()
196 elf->state.ELFW(elf,LIBELFBITS).shdr = NULL; in ElfW2()
204 elf->state.ELFW(elf,LIBELFBITS).scns.data[cnt].shdr.ELFW(e,LIBELFBITS) in ElfW2()
205 = &elf->state.ELFW(elf,LIBELFBITS).shdr[cnt]; in ElfW2()
207 result = scn->shdr.ELFW(e,LIBELFBITS); in ElfW2()
244 result = scn->shdr.ELFW(e,LIBELFBITS);
249 result = scn->shdr.ELFW(e,LIBELFBITS);
266 result = scn->shdr.ELFW(e,LIBELFBITS);