Home
last modified time | relevance | path

Searched refs:phdr64 (Results 1 – 2 of 2) sorted by relevance

/linux/tools/perf/util/
H A Dsymbol-minimal.c99 Elf64_Phdr *phdr64; in filename__read_build_id() member
160 hdrs.phdr64 = phdr; in filename__read_build_id()
171 hdrs.phdr64[i].p_type = bswap_32(hdrs.phdr64[i].p_type); in filename__read_build_id()
172 hdrs.phdr64[i].p_offset = bswap_64(hdrs.phdr64[i].p_offset); in filename__read_build_id()
173 hdrs.phdr64[i].p_filesz = bswap_64(hdrs.phdr64[i].p_filesz); in filename__read_build_id()
176 if ((elf32 ? hdrs.phdr32[i].p_type : hdrs.phdr64[i].p_type) != PT_NOTE) in filename__read_build_id()
179 p_filesz = elf32 ? hdrs.phdr32[i].p_filesz : hdrs.phdr64[i].p_filesz; in filename__read_build_id()
189 lseek(fd, elf32 ? hdrs.phdr32[i].p_offset : hdrs.phdr64[i].p_offset, SEEK_SET); in filename__read_build_id()
/linux/arch/mips/kernel/
H A Delf.c84 struct elf64_phdr *phdr64 = _phdr; in arch_elf_pt_proc() local
113 if (phdr64->p_type != PT_MIPS_ABIFLAGS) in arch_elf_pt_proc()
115 if (phdr64->p_filesz < sizeof(abiflags)) in arch_elf_pt_proc()
117 pos = phdr64->p_offset; in arch_elf_pt_proc()