Home
last modified time | relevance | path

Searched refs:elf32 (Results 1 – 13 of 13) sorted by relevance

/linux/arch/powerpc/boot/
H A Delf_util.c52 Elf32_Ehdr *elf32 = hdr; in parse_elf32() local
56 if (!(elf32->e_ident[EI_MAG0] == ELFMAG0 && in parse_elf32()
57 elf32->e_ident[EI_MAG1] == ELFMAG1 && in parse_elf32()
58 elf32->e_ident[EI_MAG2] == ELFMAG2 && in parse_elf32()
59 elf32->e_ident[EI_MAG3] == ELFMAG3 && in parse_elf32()
60 elf32->e_ident[EI_CLASS] == ELFCLASS32 && in parse_elf32()
61 elf32->e_ident[EI_DATA] == ELFDATA2MSB && in parse_elf32()
62 (elf32->e_type == ET_EXEC || in parse_elf32()
63 elf32->e_type == ET_DYN) && in parse_elf32()
64 elf32->e_machine == EM_PPC)) in parse_elf32()
[all …]
H A Dwrapper200 elf32-powerpc) format=elf32ppc ;;
/linux/tools/perf/util/
H A Dsymbol-minimal.c91 bool need_swap = false, elf32; in filename__read_build_id() local
124 elf32 = hdrs.ehdr32.e_ident[EI_CLASS] == ELFCLASS32; in filename__read_build_id()
125 ehdr_size = (elf32 ? sizeof(hdrs.ehdr32) : sizeof(hdrs.ehdr64)) - EI_NIDENT; in filename__read_build_id()
128 (elf32 ? (void *)&hdrs.ehdr32 : (void *)&hdrs.ehdr64) + EI_NIDENT, in filename__read_build_id()
133 if (elf32) { in filename__read_build_id()
143 if ((elf32 && hdrs.ehdr32.e_phentsize != sizeof(Elf32_Phdr)) || in filename__read_build_id()
144 (!elf32 && hdrs.ehdr64.e_phentsize != sizeof(Elf64_Phdr))) in filename__read_build_id()
147 phdr_size = elf32 ? sizeof(Elf32_Phdr) * hdrs.ehdr32.e_phnum in filename__read_build_id()
153 lseek(fd, elf32 ? hdrs.ehdr32.e_phoff : hdrs.ehdr64.e_phoff, SEEK_SET); in filename__read_build_id()
157 if (elf32) in filename__read_build_id()
[all …]
/linux/arch/mips/kernel/
H A Delf.c86 bool elf32; in arch_elf_pt_proc() local
91 elf32 = ehdr->e32.e_ident[EI_CLASS] == ELFCLASS32; in arch_elf_pt_proc()
92 flags = elf32 ? ehdr->e32.e_flags : ehdr->e64.e_flags; in arch_elf_pt_proc()
95 if (elf32) { in arch_elf_pt_proc()
148 bool elf32; in arch_check_elf() local
151 elf32 = ehdr->e32.e_ident[EI_CLASS] == ELFCLASS32; in arch_check_elf()
152 flags = elf32 ? ehdr->e32.e_flags : ehdr->e64.e_flags; in arch_check_elf()
194 if (elf32 && !(flags & EF_MIPS_ABI2)) { in arch_check_elf()
/linux/arch/m68k/kernel/
H A Dvmlinux-sun3.lds8 OUTPUT_FORMAT("elf32-m68k", "elf32-m68k", "elf32-m68k")
H A Dvmlinux-std.lds8 OUTPUT_FORMAT("elf32-m68k", "elf32-m68k", "elf32-m68k")
/linux/arch/xtensa/boot/boot-elf/
H A DMakefile7 OBJCOPY_ARGS := -O $(if $(CONFIG_CPU_BIG_ENDIAN),elf32-xtensa-be,elf32-xtensa-le)
/linux/arch/xtensa/boot/boot-redboot/
H A DMakefile7 OBJCOPY_ARGS := -O $(if $(CONFIG_CPU_BIG_ENDIAN),elf32-xtensa-be,elf32-xtensa-le)
/linux/arch/sparc/vdso/
H A Dvma.c63 struct vdso_elfinfo32 elf32; member
157 struct vdso_elfinfo32 *e = &_e->u.elf32; in find_sections32()
187 struct vdso_elfinfo32 *e = &_e->u.elf32; in patchsym32()
/linux/arch/nios2/boot/compressed/
H A DMakefile16 LDFLAGS_piggy.o := -r --format binary --oformat elf32-littlenios2 -T
/linux/arch/parisc/
H A DMakefile28 LD_BFD := elf32-hppa-linux
/linux/arch/loongarch/
H A DMakefile29 32bit-bfd = elf32-loongarch
/linux/Documentation/arch/x86/
H A Dexception-tables.rst167 > vmlinux: file format elf32-i386