Lines Matching refs:phdr
896 Elf_Phdr phdr = Elf_Phdr(); in MakeProgramHeaders() local
897 phdr.p_type = PT_PHDR; in MakeProgramHeaders()
898 phdr.p_flags = PF_R; in MakeProgramHeaders()
899 phdr.p_offset = phdr.p_vaddr = phdr.p_paddr = sizeof(Elf_Ehdr); in MakeProgramHeaders()
900 phdr.p_filesz = phdr.p_memsz = 0; // We need to fill this later. in MakeProgramHeaders()
901 phdr.p_align = sizeof(Elf_Off); in MakeProgramHeaders()
902 phdrs.push_back(phdr); in MakeProgramHeaders()
950 Elf_Phdr phdr = Elf_Phdr(); in MakeProgramHeaders() local
951 phdr.p_type = section->phdr_type_; in MakeProgramHeaders()
952 phdr.p_flags = section->phdr_flags_; in MakeProgramHeaders()
953 phdr.p_offset = shdr.sh_offset; in MakeProgramHeaders()
954 phdr.p_vaddr = phdr.p_paddr = shdr.sh_addr; in MakeProgramHeaders()
955 phdr.p_filesz = phdr.p_memsz = shdr.sh_size; in MakeProgramHeaders()
956 phdr.p_align = shdr.sh_addralign; in MakeProgramHeaders()
957 phdrs.push_back(phdr); in MakeProgramHeaders()