Home | History | Annotate | Download | only in tests

Lines Matching defs:shdr

51   Elf32_Shdr *shdr;
130 shdr = elf32_getshdr (scn);
131 if (shdr == NULL)
139 shdr->sh_type = SHT_PROGBITS;
140 shdr->sh_flags = SHF_ALLOC | SHF_EXECINSTR;
141 shdr->sh_addr = 0;
142 shdr->sh_link = 0;
143 shdr->sh_info = 0;
144 shdr->sh_entsize = 1;
166 shdr = elf32_getshdr (scn);
167 if (shdr == NULL)
175 shdr->sh_type = SHT_PROGBITS;
176 shdr->sh_flags = SHF_ALLOC | SHF_WRITE;
177 shdr->sh_addr = 0;
178 shdr->sh_link = 0;
179 shdr->sh_info = 0;
180 shdr->sh_entsize = 1;
202 shdr = elf32_getshdr (scn);
203 if (shdr == NULL)
211 shdr->sh_type = SHT_PROGBITS;
212 shdr->sh_flags = SHF_ALLOC | SHF_EXECINSTR;
213 shdr->sh_addr = 0;
214 shdr->sh_link = 0;
215 shdr->sh_info = 0;
216 shdr->sh_entsize = 1;
238 shdr = elf32_getshdr (scn);
239 if (shdr == NULL)
247 shdr->sh_type = SHT_NOBITS;
248 shdr->sh_flags = SHF_ALLOC | SHF_EXECINSTR;
249 shdr->sh_addr = 0;
250 shdr->sh_link = 0;
251 shdr->sh_info = 0;
252 shdr->sh_entsize = 1;
253 shdr->sh_size = 100;
275 shdr = elf32_getshdr (scn);
276 if (shdr == NULL)
284 shdr->sh_type = SHT_STRTAB;
285 shdr->sh_flags = 0;
286 shdr->sh_addr = 0;
287 shdr->sh_link = SHN_UNDEF;
288 shdr->sh_info = SHN_UNDEF;
289 shdr->sh_entsize = 1;
308 shdr->sh_name = ebl_strtaboffset (shstrtabse);