Home
last modified time | relevance | path

Searched defs:elf (Results 1 – 25 of 26) sorted by relevance

12

/linux/tools/objtool/include/objtool/
A Delf.h83 struct elf { struct
84 Elf *elf; argument
85 GElf_Ehdr ehdr;
86 int fd;
87 bool changed;
88 char *name;
92 int symbol_bits;
93 int symbol_name_bits;
94 int section_bits;
95 int section_name_bits;
[all …]
A Dobjtool.h23 struct elf *elf; member
/linux/tools/objtool/
A Delf.c98 static struct section *find_section_by_index(struct elf *elf, in find_section_by_index()
225 static int read_sections(struct elf *elf) in read_sections()
312 static void elf_add_symbol(struct elf *elf, struct symbol *sym) in elf_add_symbol()
341 static int read_symbols(struct elf *elf) in read_symbols()
518 int elf_add_reloc_to_insn(struct elf *elf, struct section *sec, in elf_add_reloc_to_insn()
580 static int read_relocs(struct elf *elf) in read_relocs()
654 struct elf *elf; in elf_open_read() local
970 int elf_write_insn(struct elf *elf, struct section *sec, in elf_write_insn()
989 int elf_write_reloc(struct elf *elf, struct reloc *reloc) in elf_write_reloc()
1017 int elf_write(struct elf *elf) in elf_write()
[all …]
A Dspecial.c68 static int get_alt_entry(struct elf *elf, struct special_entry *entry, in get_alt_entry()
139 int special_get_alts(struct elf *elf, struct list_head *alts) in special_get_alts()
A Dorc_dump.c73 Elf *elf; in orc_dump() local
A Dorc_gen.c90 static int write_orc_entry(struct elf *elf, struct section *orc_sec, in write_orc_entry()
/linux/scripts/mod/
A Dmodpost.c360 static enum export export_from_secname(struct elf_info *elf, unsigned int sec) in export_from_secname()
372 static enum export export_from_sec(struct elf_info *elf, unsigned int sec) in export_from_sec()
818 static const char *sym_name(struct elf_info *elf, Elf_Sym *sym) in sym_name()
898 static void check_section(const char *modname, struct elf_info *elf, in check_section()
1276 static inline int is_valid_name(struct elf_info *elf, Elf_Sym *sym) in is_valid_name()
1292 static Elf_Sym *find_elf_symbol(struct elf_info *elf, Elf64_Sword addr, in find_elf_symbol()
1336 static Elf_Sym *find_elf_symbol2(struct elf_info *elf, Elf_Addr addr, in find_elf_symbol2()
1741 static unsigned int *reloc_location(struct elf_info *elf, in reloc_location()
1833 static void section_rela(const char *modname, struct elf_info *elf, in section_rela()
1879 static void section_rel(const char *modname, struct elf_info *elf, in section_rel()
[all …]
/linux/tools/perf/util/
A Dsymbol-elf.c78 static int elf_getphdrnum(Elf *elf, size_t *dst) in elf_getphdrnum()
301 Elf *elf; in dso__synthesize_plt_symbols() local
575 Elf *elf; in read_build_id() local
728 Elf *elf; in filename__read_debuglink() local
837 Elf *elf; in symsrc__init() local
1095 Elf *elf; in dso__load_sym_internal() local
1388 Elf *elf; in file__read_maps() local
1408 Elf *elf; in dso__type_fd() local
1480 Elf *elf; member
1887 Elf *elf) in kcore_copy__calc_maps()
[all …]
A Dsymsrc.h21 Elf *elf; member
A Dunwind-libunwind-local.c173 Elf *elf; in elf_section_offset() local
199 Elf *elf; in elf_is_exec() local
A Dprobe-finder.c1236 Elf *elf; in debuginfo__find_probes() local
1678 Elf *elf; in debuginfo__get_text_offset() local
A Dprobe-event.c271 Elf *elf; in find_module_name() local
594 Elf *elf; in get_text_start_address() local
/linux/tools/build/feature/
A Dtest-libelf.c6 Elf *elf = elf_begin(0, ELF_C_READ, 0); in main() local
/linux/tools/objtool/arch/x86/
A Ddecode.c26 static int is_x86_64(const struct elf *elf) in is_x86_64()
112 const struct elf *elf = file->elf; in arch_decode_instruction() local
/linux/fs/
A Dbinfmt_elf.c539 struct file *elf, bool is_interp, in arch_elf_pt_proc()
1468 static void fill_elf_header(struct elfhdr *elf, int segs, in fill_elf_header()
1801 static int fill_note_info(struct elfhdr *elf, int phdrs, in fill_note_info()
2030 static int fill_note_info(struct elfhdr *elf, int phdrs, in fill_note_info()
2146 static void fill_extnum_info(struct elfhdr *elf, struct elf_shdr *shdr4extnum, in fill_extnum_info()
2174 struct elfhdr elf; in elf_core_dump() local
A Dbinfmt_elf_fdpic.c1237 static inline void fill_elf_fdpic_header(struct elfhdr *elf, int segs) in fill_elf_fdpic_header()
1424 static void fill_extnum_info(struct elfhdr *elf, struct elf_shdr *shdr4extnum, in fill_extnum_info()
1470 struct elfhdr *elf = NULL; in elf_fdpic_core_dump() local
/linux/tools/bpf/resolve_btfids/
A Dmain.c97 Elf *elf; member
280 static int compressed_section_fix(Elf *elf, Elf_Scn *scn, GElf_Shdr *sh) in compressed_section_fix()
308 Elf *elf; in elf_collect() local
/linux/arch/alpha/boot/tools/
A Dobjstrip.c61 struct elfhdr *elf; in main() local
/linux/arch/s390/include/asm/
A Delf.h194 #define arch_elf_pt_proc(ehdr, phdr, elf, interp, state) \ argument
209 #define arch_elf_pt_proc(ehdr, phdr, elf, interp, state) \ argument
/linux/arch/mips/kernel/
A Delf.c75 int arch_elf_pt_proc(void *_ehdr, void *_phdr, struct file *elf, in arch_elf_pt_proc()
/linux/arch/powerpc/kernel/
A Dfadump.c949 struct elfhdr *elf; in fadump_init_elfcore_header() local
1060 struct elfhdr *elf; in fadump_create_elfcore_headers() local
/linux/arch/arm64/kvm/hyp/nvhe/
A Dgen-hyprel.c137 } elf; variable
/linux/arch/powerpc/platforms/powernv/
A Dopal-core.c308 Elf64_Ehdr *elf; in create_opalcore() local
/linux/tools/lib/bpf/
A Dlinker.c52 Elf *elf; member
136 Elf *elf; member
A Dlibbpf.c483 Elf *elf; member
1221 Elf *elf; in bpf_object__elf_init() local
3041 Elf *elf = obj->efile.elf; in elf_sec_by_name() local
3185 Elf *elf = obj->efile.elf; in bpf_object__elf_collect() local

Completed in 120 milliseconds

12