Searched refs:elf32 (Results 1 – 13 of 13) sorted by relevance
| /linux/arch/powerpc/boot/ |
| H A D | elf_util.c | 52 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 D | wrapper | 200 elf32-powerpc) format=elf32ppc ;;
|
| /linux/tools/perf/util/ |
| H A D | symbol-minimal.c | 91 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 D | elf.c | 86 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 D | vmlinux-sun3.lds | 8 OUTPUT_FORMAT("elf32-m68k", "elf32-m68k", "elf32-m68k")
|
| H A D | vmlinux-std.lds | 8 OUTPUT_FORMAT("elf32-m68k", "elf32-m68k", "elf32-m68k")
|
| /linux/arch/xtensa/boot/boot-elf/ |
| H A D | Makefile | 7 OBJCOPY_ARGS := -O $(if $(CONFIG_CPU_BIG_ENDIAN),elf32-xtensa-be,elf32-xtensa-le)
|
| /linux/arch/xtensa/boot/boot-redboot/ |
| H A D | Makefile | 7 OBJCOPY_ARGS := -O $(if $(CONFIG_CPU_BIG_ENDIAN),elf32-xtensa-be,elf32-xtensa-le)
|
| /linux/arch/sparc/vdso/ |
| H A D | vma.c | 63 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 D | Makefile | 16 LDFLAGS_piggy.o := -r --format binary --oformat elf32-littlenios2 -T
|
| /linux/arch/parisc/ |
| H A D | Makefile | 28 LD_BFD := elf32-hppa-linux
|
| /linux/arch/loongarch/ |
| H A D | Makefile | 29 32bit-bfd = elf32-loongarch
|
| /linux/Documentation/arch/x86/ |
| H A D | exception-tables.rst | 167 > vmlinux: file format elf32-i386
|