Home
last modified time | relevance | path

Searched refs:i_shdrp (Results 1 – 4 of 4) sorted by relevance

/toolchain/binutils/binutils-2.27/bfd/
Delfcode.h495 Elf_Internal_Shdr *i_shdrp; /* Section header table, internal form */ in elf_object_p() local
681 if (i_ehdrp->e_shnum > ((bfd_size_type) -1) / sizeof (*i_shdrp)) in elf_object_p()
684 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()
[all …]
Delf.c279 Elf_Internal_Shdr **i_shdrp; in bfd_elf_get_str_section() local
284 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()
312 i_shdrp[shindex]->sh_size = 0; in bfd_elf_get_str_section()
316 i_shdrp[shindex]->contents = shstrtab; in bfd_elf_get_str_section()
3551 Elf_Internal_Shdr **i_shdrp; in assign_section_numbers() local
[all …]
DChangeLog-02035874 * elf.c (assign_section_numbers): Init i_shdrp to all zero.
5875 Use bfd_zalloc to clear i_shdrp[0] too.
DChangeLog-0001190 section header" code so that i_shdrp needs no NULL initialisation.