Lines Matching refs:shdr

43   Elf32_Shdr *shdr;  in main()  local
122 shdr = elf32_getshdr (scn); in main()
123 if (shdr == NULL) in main()
131 shdr->sh_type = SHT_PROGBITS; in main()
132 shdr->sh_flags = SHF_ALLOC | SHF_EXECINSTR; in main()
133 shdr->sh_addr = 0; in main()
134 shdr->sh_link = 0; in main()
135 shdr->sh_info = 0; in main()
136 shdr->sh_entsize = 1; in main()
158 shdr = elf32_getshdr (scn); in main()
159 if (shdr == NULL) in main()
167 shdr->sh_type = SHT_PROGBITS; in main()
168 shdr->sh_flags = SHF_ALLOC | SHF_WRITE; in main()
169 shdr->sh_addr = 0; in main()
170 shdr->sh_link = 0; in main()
171 shdr->sh_info = 0; in main()
172 shdr->sh_entsize = 1; in main()
194 shdr = elf32_getshdr (scn); in main()
195 if (shdr == NULL) in main()
203 shdr->sh_type = SHT_PROGBITS; in main()
204 shdr->sh_flags = SHF_ALLOC | SHF_EXECINSTR; in main()
205 shdr->sh_addr = 0; in main()
206 shdr->sh_link = 0; in main()
207 shdr->sh_info = 0; in main()
208 shdr->sh_entsize = 1; in main()
230 shdr = elf32_getshdr (scn); in main()
231 if (shdr == NULL) in main()
239 shdr->sh_type = SHT_NOBITS; in main()
240 shdr->sh_flags = SHF_ALLOC | SHF_EXECINSTR; in main()
241 shdr->sh_addr = 0; in main()
242 shdr->sh_link = 0; in main()
243 shdr->sh_info = 0; in main()
244 shdr->sh_entsize = 1; in main()
245 shdr->sh_size = 100; in main()
267 shdr = elf32_getshdr (scn); in main()
268 if (shdr == NULL) in main()
276 shdr->sh_type = SHT_STRTAB; in main()
277 shdr->sh_flags = 0; in main()
278 shdr->sh_addr = 0; in main()
279 shdr->sh_link = SHN_UNDEF; in main()
280 shdr->sh_info = SHN_UNDEF; in main()
281 shdr->sh_entsize = 1; in main()
300 shdr->sh_name = ebl_strtaboffset (shstrtabse); in main()