Lines Matching refs:hole_start
268 typename ELF::Off hole_start, in AdjustElfHeaderForHole() argument
270 if (elf_header->e_phoff > hole_start) { in AdjustElfHeaderForHole()
274 if (elf_header->e_shoff > hole_start) { in AdjustElfHeaderForHole()
283 typename ELF::Off hole_start, in AdjustSectionHeadersForHole() argument
293 if (section_header->sh_offset > hole_start) { in AdjustSectionHeadersForHole()
371 typename ELF::Off hole_start, in AdjustProgramHeaderFields() argument
384 if (program_header->p_offset > hole_start) { in AdjustProgramHeaderFields()
419 typename ELF::Off hole_start) { in FindLoadSegmentForHole() argument
424 program_header->p_offset <= hole_start && in FindLoadSegmentForHole()
425 (program_header->p_offset + program_header->p_filesz) >= hole_start ) { in FindLoadSegmentForHole()
429 LOG(FATAL) << "Cannot locate a LOAD segment with hole_start=0x" << std::hex << hole_start; in FindLoadSegmentForHole()
438 typename ELF::Off hole_start, in RewriteProgramHeadersForHole() argument
451 FindLoadSegmentForHole<ELF>(elf_program_header, program_header_count, hole_start); in RewriteProgramHeadersForHole()
461 hole_start, in RewriteProgramHeadersForHole()
503 typename ELF::Off hole_start, in AdjustDynamicSectionForHole() argument
515 hole_start += hole_size; in AdjustDynamicSectionForHole()
541 if (is_adjustable && dynamic->d_un.d_ptr <= hole_start) { in AdjustDynamicSectionForHole()
602 const auto hole_start = section_header->sh_offset; in ResizeSection() local
630 AdjustElfHeaderForHole<ELF>(elf_header, hole_start, hole_size); in ResizeSection()
633 AdjustSectionHeadersForHole<ELF>(elf, hole_start, hole_size); in ResizeSection()
637 RewriteProgramHeadersForHole<ELF>(elf, hole_start, hole_size); in ResizeSection()
640 AdjustDynamicSectionForHole(dynamic_section, hole_start, hole_size, relocations_type); in ResizeSection()