/linux-master/arch/mips/boot/tools/ |
H A D | relocs.h | 13 #include <elf.h>
|
/linux-master/scripts/mod/ |
H A D | mk_elfconfig.c | 5 #include <elf.h>
|
/linux-master/arch/s390/kernel/ |
H A D | machine_kexec_reloc.c | 2 #include <linux/elf.h>
|
/linux-master/arch/x86/tools/ |
H A D | relocs.h | 13 #include <elf.h>
|
/linux-master/include/linux/ |
H A D | elfcore-compat.h | 5 #include <linux/elf.h>
|
H A D | elf-fdpic.h | 11 #include <uapi/linux/elf-fdpic.h>
|
H A D | elf.h | 6 #include <asm/elf.h> 7 #include <uapi/linux/elf.h> 12 Override in asm/elf.h as needed. */
|
/linux-master/tools/testing/selftests/vDSO/ |
H A D | vdso_test_gettimeofday.c | 14 #include <elf.h>
|
H A D | vdso_test_getcpu.c | 9 #include <elf.h>
|
/linux-master/arch/x86/um/ |
H A D | mem_32.c | 7 #include <asm/elf.h>
|
H A D | elfcore.c | 2 #include <linux/elf.h> 7 #include <asm/elf.h>
|
/linux-master/arch/um/os-Linux/ |
H A D | elf_aux.c | 11 #include <elf.h> 51 /* elf.h removed the pointer elements from
|
/linux-master/arch/x86/entry/vdso/ |
H A D | vdso32-setup.c | 14 #include <linux/elf.h>
|
/linux-master/tools/perf/util/ |
H A D | debuginfo.c | 148 Elf *elf; local 152 elf = dwfl_module_getelf(dbg->mod, &dbg->bias); 153 if (!elf) 165 scn = elf_getscn(elf, shndx);
|
/linux-master/arch/powerpc/include/asm/ |
H A D | sections.h | 6 #include <linux/elf.h>
|
/linux-master/arch/arm64/kernel/pi/ |
H A D | relocate.c | 6 #include <linux/elf.h>
|
/linux-master/tools/objtool/arch/loongarch/ |
H A D | orc.c | 101 int write_orc_entry(struct elf *elf, struct section *orc_sec, argument 113 if (!elf_init_reloc_text_sym(elf, ip_sec, idx * sizeof(int), idx, 157 void orc_print_dump(struct elf *dummy_elf, struct orc_entry *orc, int i)
|
H A D | decode.c | 64 static bool is_loongarch(const struct elf *elf) argument 66 if (elf->ehdr.e_machine == EM_LOONGARCH) 69 WARN("unexpected ELF machine type %d", elf->ehdr.e_machine); 280 const struct elf *elf = file->elf; local 284 if (!is_loongarch(elf))
|
/linux-master/tools/objtool/arch/powerpc/ |
H A D | decode.c | 6 #include <objtool/elf.h> 51 ins = bswap_if_needed(file->elf, *(u32 *)(sec->data->d_buf + offset));
|
/linux-master/fs/ |
H A D | binfmt_elf_fdpic.c | 33 #include <linux/elf.h> 34 #include <linux/elf-fdpic.h> 214 /* binfmt_elf handles non-fdpic elf except on nommu */ 486 * If the arch defines ELF_BASE_PLATFORM (in asm/elf.h), the value 1237 static inline void fill_elf_fdpic_header(struct elfhdr *elf, int segs) argument 1239 memcpy(elf->e_ident, ELFMAG, SELFMAG); 1240 elf->e_ident[EI_CLASS] = ELF_CLASS; 1241 elf->e_ident[EI_DATA] = ELF_DATA; 1242 elf->e_ident[EI_VERSION] = EV_CURRENT; 1243 elf 1424 fill_extnum_info(struct elfhdr *elf, struct elf_shdr *shdr4extnum, elf_addr_t e_shoff, int segs) argument 1470 struct elfhdr *elf = NULL; local [all...] |
H A D | binfmt_elf.c | 36 #include <linux/elf.h> 37 #include <linux/elf-randomize.h> 149 * If the arch defines ELF_BASE_PLATFORM (in asm/elf.h), the value 389 pr_info("%d (%s): Uhuuh, elf segment at %px requested but the memory is mapped already\n", 563 * @elf: The open ELF file 579 struct file *elf, bool is_interp, 1425 static void fill_elf_header(struct elfhdr *elf, int segs, argument 1428 memset(elf, 0, sizeof(*elf)); 1430 memcpy(elf 577 arch_elf_pt_proc(struct elfhdr *ehdr, struct elf_phdr *phdr, struct file *elf, bool is_interp, struct arch_elf_state *state) argument 1790 fill_note_info(struct elfhdr *elf, int phdrs, struct elf_note_info *info, struct coredump_params *cprm) argument 1938 fill_extnum_info(struct elfhdr *elf, struct elf_shdr *shdr4extnum, elf_addr_t e_shoff, int segs) argument 1965 struct elfhdr elf; local [all...] |
/linux-master/arch/powerpc/kernel/ |
H A D | fadump.c | 966 struct elfhdr *elf; local 968 elf = (struct elfhdr *) bufp; 970 memcpy(elf->e_ident, ELFMAG, SELFMAG); 971 elf->e_ident[EI_CLASS] = ELF_CLASS; 972 elf->e_ident[EI_DATA] = ELF_DATA; 973 elf->e_ident[EI_VERSION] = EV_CURRENT; 974 elf->e_ident[EI_OSABI] = ELF_OSABI; 975 memset(elf->e_ident+EI_PAD, 0, EI_NIDENT-EI_PAD); 976 elf->e_type = ET_CORE; 977 elf 1080 struct elfhdr *elf; local [all...] |
/linux-master/tools/objtool/ |
H A D | builtin-check.c | 181 if (has_multiple_files(file->elf)) { 234 if (file->elf->changed) 235 return elf_write(file->elf);
|
H A D | objtool.c | 93 file.elf = elf_open_read(objname, O_RDWR); 94 if (!file.elf)
|
/linux-master/tools/objtool/arch/x86/ |
H A D | decode.c | 19 #include <objtool/elf.h> 24 #include <arch/elf.h> 31 static int is_x86_64(const struct elf *elf) argument 33 switch (elf->ehdr.e_machine) { 39 WARN("unexpected ELF machine type %d", elf->ehdr.e_machine); 152 const struct elf *elf = file->elf; local 163 x86_64 = is_x86_64(elf); [all...] |