Lines Matching refs:phdr
862 Elf_Phdr phdr = Elf_Phdr(); in MakeProgramHeaders() local
863 phdr.p_type = PT_PHDR; in MakeProgramHeaders()
864 phdr.p_flags = PF_R; in MakeProgramHeaders()
865 phdr.p_offset = phdr.p_vaddr = phdr.p_paddr = sizeof(Elf_Ehdr); in MakeProgramHeaders()
866 phdr.p_filesz = phdr.p_memsz = 0; // We need to fill this later. in MakeProgramHeaders()
867 phdr.p_align = sizeof(Elf_Off); in MakeProgramHeaders()
868 phdrs.push_back(phdr); in MakeProgramHeaders()
916 Elf_Phdr phdr = Elf_Phdr(); in MakeProgramHeaders() local
917 phdr.p_type = section->phdr_type_; in MakeProgramHeaders()
918 phdr.p_flags = section->phdr_flags_; in MakeProgramHeaders()
919 phdr.p_offset = shdr.sh_offset; in MakeProgramHeaders()
920 phdr.p_vaddr = phdr.p_paddr = shdr.sh_addr; in MakeProgramHeaders()
921 phdr.p_filesz = phdr.p_memsz = shdr.sh_size; in MakeProgramHeaders()
922 phdr.p_align = shdr.sh_addralign; in MakeProgramHeaders()
923 phdrs.push_back(phdr); in MakeProgramHeaders()