Home
last modified time | relevance | path

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

/linux/tools/perf/util/
H A Dsymbol-minimal.c95 Elf32_Phdr *phdr32; in filename__read_build_id() member
158 hdrs.phdr32 = phdr; in filename__read_build_id()
167 hdrs.phdr32[i].p_type = bswap_32(hdrs.phdr32[i].p_type); in filename__read_build_id()
168 hdrs.phdr32[i].p_offset = bswap_32(hdrs.phdr32[i].p_offset); in filename__read_build_id()
169 hdrs.phdr32[i].p_filesz = bswap_32(hdrs.phdr32[i].p_offset); 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.c83 struct elf32_phdr *phdr32 = _phdr; in arch_elf_pt_proc() local
106 if (phdr32->p_type != PT_MIPS_ABIFLAGS) in arch_elf_pt_proc()
109 if (phdr32->p_filesz < sizeof(abiflags)) in arch_elf_pt_proc()
111 pos = phdr32->p_offset; in arch_elf_pt_proc()