Searched refs:i_shdrp (Results 1 – 4 of 4) sorted by relevance
494 Elf_Internal_Shdr *i_shdrp; /* Section header table, internal form */ in elf_object_p() local684 amt = sizeof (*i_shdrp) * i_ehdrp->e_shnum; in elf_object_p()685 i_shdrp = (Elf_Internal_Shdr *) bfd_alloc (abfd, amt); in elf_object_p()686 if (!i_shdrp) in elf_object_p()690 amt = sizeof (i_shdrp) * num_sec; in elf_object_p()695 memcpy (i_shdrp, &i_shdr, sizeof (*i_shdrp)); in elf_object_p()696 for (shdrp = i_shdrp, shindex = 0; shindex < num_sec; shindex++) in elf_object_p()705 elf_swap_shdr_in (abfd, &x_shdr, i_shdrp + shindex); in elf_object_p()708 if (i_shdrp[shindex].sh_link >= num_sec) in elf_object_p()721 if (i_shdrp[shindex].sh_link == (SHN_LORESERVE & 0xffff) /* SHN_BEFORE */ in elf_object_p()[all …]
279 Elf_Internal_Shdr **i_shdrp; in bfd_elf_get_str_section() local284 i_shdrp = elf_elfsections (abfd); in bfd_elf_get_str_section()285 if (i_shdrp == 0 in bfd_elf_get_str_section()287 || i_shdrp[shindex] == 0) in bfd_elf_get_str_section()290 shstrtab = i_shdrp[shindex]->contents; in bfd_elf_get_str_section()294 offset = i_shdrp[shindex]->sh_offset; in bfd_elf_get_str_section()295 shstrtabsize = i_shdrp[shindex]->sh_size; in bfd_elf_get_str_section()311 i_shdrp[shindex]->sh_size = 0; in bfd_elf_get_str_section()315 i_shdrp[shindex]->contents = shstrtab; in bfd_elf_get_str_section()3034 Elf_Internal_Shdr **i_shdrp; in assign_section_numbers() local[all …]
5874 * elf.c (assign_section_numbers): Init i_shdrp to all zero.5875 Use bfd_zalloc to clear i_shdrp[0] too.
190 section header" code so that i_shdrp needs no NULL initialisation.