Lines Matching refs:shdr

56   result = scn->shdr.ELFW(e,LIBELFBITS);
68 ElfW2(LIBELFBITS,Shdr) *shdr = elf->state.ELFW(elf,LIBELFBITS).shdr =
70 if (elf->state.ELFW(elf,LIBELFBITS).shdr == NULL)
111 memcpy (shdr, file_shdr, size);
138 CONVERT_TO (shdr[cnt].sh_name, notcvt[cnt].sh_name);
139 CONVERT_TO (shdr[cnt].sh_type, notcvt[cnt].sh_type);
140 CONVERT_TO (shdr[cnt].sh_flags, notcvt[cnt].sh_flags);
141 CONVERT_TO (shdr[cnt].sh_addr, notcvt[cnt].sh_addr);
142 CONVERT_TO (shdr[cnt].sh_offset, notcvt[cnt].sh_offset);
143 CONVERT_TO (shdr[cnt].sh_size, notcvt[cnt].sh_size);
144 CONVERT_TO (shdr[cnt].sh_link, notcvt[cnt].sh_link);
145 CONVERT_TO (shdr[cnt].sh_info, notcvt[cnt].sh_info);
146 CONVERT_TO (shdr[cnt].sh_addralign,
148 CONVERT_TO (shdr[cnt].sh_entsize, notcvt[cnt].sh_entsize);
153 if (shdr[cnt].sh_type == SHT_SYMTAB_SHNDX
154 && shdr[cnt].sh_link < shnum)
155 elf->state.ELFW(elf,LIBELFBITS).scns.data[shdr[cnt].sh_link].shndx_index
173 elf->state.ELFW(elf,LIBELFBITS).shdr, size,
187 CONVERT (shdr[cnt].sh_name);
188 CONVERT (shdr[cnt].sh_type);
189 CONVERT (shdr[cnt].sh_flags);
190 CONVERT (shdr[cnt].sh_addr);
191 CONVERT (shdr[cnt].sh_offset);
192 CONVERT (shdr[cnt].sh_size);
193 CONVERT (shdr[cnt].sh_link);
194 CONVERT (shdr[cnt].sh_info);
195 CONVERT (shdr[cnt].sh_addralign);
196 CONVERT (shdr[cnt].sh_entsize);
206 free (shdr);
207 elf->state.ELFW(elf,LIBELFBITS).shdr = NULL;
215 elf->state.ELFW(elf,LIBELFBITS).scns.data[cnt].shdr.ELFW(e,LIBELFBITS)
216 = &elf->state.ELFW(elf,LIBELFBITS).shdr[cnt];
218 result = scn->shdr.ELFW(e,LIBELFBITS);
255 result = scn->shdr.ELFW(e,LIBELFBITS);
260 result = scn->shdr.ELFW(e,LIBELFBITS);
277 result = scn->shdr.ELFW(e,LIBELFBITS);