/linux/tools/objtool/include/objtool/ |
A D | elf.h | 83 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 D | objtool.h | 23 struct elf *elf; member
|
/linux/tools/objtool/ |
A D | elf.c | 98 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 D | special.c | 68 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 D | orc_dump.c | 73 Elf *elf; in orc_dump() local
|
A D | orc_gen.c | 90 static int write_orc_entry(struct elf *elf, struct section *orc_sec, in write_orc_entry()
|
/linux/scripts/mod/ |
A D | modpost.c | 360 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 D | symbol-elf.c | 78 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 D | symsrc.h | 21 Elf *elf; member
|
A D | unwind-libunwind-local.c | 173 Elf *elf; in elf_section_offset() local 199 Elf *elf; in elf_is_exec() local
|
A D | probe-finder.c | 1236 Elf *elf; in debuginfo__find_probes() local 1678 Elf *elf; in debuginfo__get_text_offset() local
|
A D | probe-event.c | 271 Elf *elf; in find_module_name() local 594 Elf *elf; in get_text_start_address() local
|
/linux/tools/build/feature/ |
A D | test-libelf.c | 6 Elf *elf = elf_begin(0, ELF_C_READ, 0); in main() local
|
/linux/tools/objtool/arch/x86/ |
A D | decode.c | 26 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 D | binfmt_elf.c | 539 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 D | binfmt_elf_fdpic.c | 1237 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 D | main.c | 97 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 D | objstrip.c | 61 struct elfhdr *elf; in main() local
|
/linux/arch/s390/include/asm/ |
A D | elf.h | 194 #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 D | elf.c | 75 int arch_elf_pt_proc(void *_ehdr, void *_phdr, struct file *elf, in arch_elf_pt_proc()
|
/linux/arch/powerpc/kernel/ |
A D | fadump.c | 949 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 D | gen-hyprel.c | 137 } elf; variable
|
/linux/arch/powerpc/platforms/powernv/ |
A D | opal-core.c | 308 Elf64_Ehdr *elf; in create_opalcore() local
|
/linux/tools/lib/bpf/ |
A D | linker.c | 52 Elf *elf; member 136 Elf *elf; member
|
A D | libbpf.c | 483 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
|