Lines Matching refs:phdr_size
3988 bfd_size_type phdr_size = elf_program_header_size (abfd); in _bfd_elf_map_sections_to_segments() local
3990 if (phdr_size == (bfd_size_type) -1) in _bfd_elf_map_sections_to_segments()
3991 phdr_size = get_program_header_size (abfd, info); in _bfd_elf_map_sections_to_segments()
3992 phdr_size += bed->s->sizeof_ehdr; in _bfd_elf_map_sections_to_segments()
3994 || (sections[0]->lma & addr_mask) < phdr_size in _bfd_elf_map_sections_to_segments()
3996 < phdr_size % maxpagesize) in _bfd_elf_map_sections_to_segments()
7852 bfd_size_type phdr_size = elf_program_header_size (abfd); in _bfd_elf_sizeof_headers() local
7854 if (phdr_size == (bfd_size_type) -1) in _bfd_elf_sizeof_headers()
7858 phdr_size = 0; in _bfd_elf_sizeof_headers()
7860 phdr_size += bed->s->sizeof_phdr; in _bfd_elf_sizeof_headers()
7862 if (phdr_size == 0) in _bfd_elf_sizeof_headers()
7863 phdr_size = get_program_header_size (abfd, info); in _bfd_elf_sizeof_headers()
7866 elf_program_header_size (abfd) = phdr_size; in _bfd_elf_sizeof_headers()
7867 ret += phdr_size; in _bfd_elf_sizeof_headers()