Lines Matching refs:phdr
934 Elf_Phdr phdr = Elf_Phdr(); in MakeProgramHeaders() local
935 phdr.p_type = PT_PHDR; in MakeProgramHeaders()
936 phdr.p_flags = PF_R; in MakeProgramHeaders()
937 phdr.p_offset = phdr.p_vaddr = phdr.p_paddr = sizeof(Elf_Ehdr); in MakeProgramHeaders()
938 phdr.p_filesz = phdr.p_memsz = 0; // We need to fill this later. in MakeProgramHeaders()
939 phdr.p_align = sizeof(Elf_Off); in MakeProgramHeaders()
940 phdrs.push_back(phdr); in MakeProgramHeaders()
988 Elf_Phdr phdr = Elf_Phdr(); in MakeProgramHeaders() local
989 phdr.p_type = section->phdr_type_; in MakeProgramHeaders()
990 phdr.p_flags = section->phdr_flags_; in MakeProgramHeaders()
991 phdr.p_offset = shdr.sh_offset; in MakeProgramHeaders()
992 phdr.p_vaddr = phdr.p_paddr = shdr.sh_addr; in MakeProgramHeaders()
993 phdr.p_filesz = phdr.p_memsz = shdr.sh_size; in MakeProgramHeaders()
994 phdr.p_align = shdr.sh_addralign; in MakeProgramHeaders()
995 phdrs.push_back(phdr); in MakeProgramHeaders()