Lines Matching refs:phdr
666 Elf64_Phdr phdr; in merge_note_headers_elf64() local
689 phdr.p_type = PT_NOTE; in merge_note_headers_elf64()
690 phdr.p_flags = 0; in merge_note_headers_elf64()
693 phdr.p_offset = roundup(note_off, PAGE_SIZE); in merge_note_headers_elf64()
694 phdr.p_vaddr = phdr.p_paddr = 0; in merge_note_headers_elf64()
695 phdr.p_filesz = phdr.p_memsz = phdr_sz; in merge_note_headers_elf64()
696 phdr.p_align = 0; in merge_note_headers_elf64()
700 memcpy(tmp, &phdr, sizeof(phdr)); in merge_note_headers_elf64()
701 tmp += sizeof(phdr); in merge_note_headers_elf64()
852 Elf32_Phdr phdr; in merge_note_headers_elf32() local
875 phdr.p_type = PT_NOTE; in merge_note_headers_elf32()
876 phdr.p_flags = 0; in merge_note_headers_elf32()
879 phdr.p_offset = roundup(note_off, PAGE_SIZE); in merge_note_headers_elf32()
880 phdr.p_vaddr = phdr.p_paddr = 0; in merge_note_headers_elf32()
881 phdr.p_filesz = phdr.p_memsz = phdr_sz; in merge_note_headers_elf32()
882 phdr.p_align = 0; in merge_note_headers_elf32()
886 memcpy(tmp, &phdr, sizeof(phdr)); in merge_note_headers_elf32()
887 tmp += sizeof(phdr); in merge_note_headers_elf32()