Home
last modified time | relevance | path

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

12

/openbmc/linux/tools/objtool/include/objtool/
H A Delf.h81 struct elf { struct
82 Elf *elf; argument
97 struct elf_hash_node **symbol_hash; argument
98 struct elf_hash_node **symbol_name_hash; argument
99 struct elf_hash_node **section_hash; argument
100 struct elf_hash_node **section_name_hash; argument
101 struct elf_hash_node **reloc_hash; argument
107 struct elf *elf_open_read(const char *name, int flags); argument
151 static inline bool has_multiple_files(struct elf *elf) in has_multiple_files()
156 static inline size_t elf_addr_size(struct elf *elf) in elf_addr_size()
[all …]
H A Dendianness.h15 static inline bool need_bswap(struct elf *elf) in need_bswap()
21 #define bswap_if_needed(elf, val) \ argument
H A Dobjtool.h23 struct elf *elf; member
/openbmc/linux/tools/objtool/
H A Delf.c144 static struct section *find_section_by_index(struct elf *elf, in find_section_by_index()
308 static int read_sections(struct elf *elf) in read_sections()
394 static void elf_add_symbol(struct elf *elf, struct symbol *sym) in elf_add_symbol()
435 static int read_symbols(struct elf *elf) in read_symbols()
728 __elf_create_symbol(struct elf *elf, struct symbol *sym) in __elf_create_symbol()
794 elf_create_section_symbol(struct elf *elf, struct section *sec) in elf_create_section_symbol()
935 static int read_relocs(struct elf *elf) in read_relocs()
998 struct elf *elf; in elf_open_read() local
1225 int elf_write_insn(struct elf *elf, struct section *sec, in elf_write_insn()
1297 int elf_write(struct elf *elf) in elf_write()
[all …]
H A Dspecial.c68 static int get_alt_entry(struct elf *elf, const struct special_entry *entry, in get_alt_entry()
140 int special_get_alts(struct elf *elf, struct list_head *alts) in special_get_alts()
H A Dorc_dump.c76 Elf *elf; in orc_dump() local
H A Dorc_gen.c107 static int write_orc_entry(struct elf *elf, struct section *orc_sec, in write_orc_entry()
/openbmc/linux/scripts/mod/
H A Dsymsearch.c50 static unsigned int symbol_count(struct elf_info *elf) in symbol_count()
68 static void symsearch_populate(struct elf_info *elf, in symsearch_populate()
124 void symsearch_init(struct elf_info *elf) in symsearch_init()
139 void symsearch_finish(struct elf_info *elf) in symsearch_finish()
153 Elf_Sym *symsearch_find_nearest(struct elf_info *elf, Elf_Addr addr, in symsearch_find_nearest()
H A Dmodpost.c713 static const char *sym_name(struct elf_info *elf, Elf_Sym *sym) in sym_name()
776 static void check_section(const char *modname, struct elf_info *elf, in check_section()
1047 static Elf_Sym *find_fromsym(struct elf_info *elf, Elf_Addr addr, in find_fromsym()
1053 static Elf_Sym *find_tosym(struct elf_info *elf, Elf_Addr addr, Elf_Sym *sym) in find_tosym()
1070 static bool is_executable_section(struct elf_info *elf, unsigned int secndx) in is_executable_section()
1128 static void check_export_symbol(struct module *mod, struct elf_info *elf, in check_export_symbol()
1198 static void check_section_mismatch(struct module *mod, struct elf_info *elf, in check_section_mismatch()
1389 static void get_rel_type_and_sym(struct elf_info *elf, uint64_t r_info, in get_rel_type_and_sym()
1424 static void section_rela(struct module *mod, struct elf_info *elf, in section_rela()
1466 static void section_rel(struct module *mod, struct elf_info *elf, in section_rel()
[all …]
/openbmc/qemu/bsd-user/
H A Dmeson.build21 elf = cc.find_library('elf', required: true) variable
/openbmc/linux/tools/perf/util/
H A Dsymbol-elf.c228 Elf *elf; in filename__has_section() local
683 Elf *elf; in dso__synthesize_plt_symbols() local
970 Elf *elf; in read_build_id() local
1123 Elf *elf; in filename__read_debuglink() local
1232 Elf *elf; in symsrc__init() local
1499 Elf *elf; in dso__load_sym_internal() local
1825 Elf *elf; in file__read_maps() local
1845 Elf *elf; in dso__type_fd() local
1917 Elf *elf; member
2324 Elf *elf) in kcore_copy__calc_maps()
[all …]
H A Dsymsrc.h21 Elf *elf; member
H A Dunwind-libunwind-local.c174 Elf *elf; in elf_section_address_and_offset() local
211 Elf *elf = elf_begin(fd, PERF_ELF_C_READ_MMAP, NULL); in elf_base_address() local
234 Elf *elf; in elf_is_exec() local
/openbmc/linux/tools/lib/bpf/
H A Delf.c17 Elf *elf; in elf_open() local
50 static Elf_Scn *elf_find_next_scn_by_type(Elf *elf, int sh_type, Elf_Scn *scn) in elf_find_next_scn_by_type()
70 Elf *elf; member
80 Elf *elf, const char *binary_path, in elf_sym_iter_new()
166 long elf_find_func_offset(Elf *elf, const char *binary_path, const char *name) in elf_find_func_offset()
H A Dusdt.c305 static int sanity_check_usdt_elf(Elf *elf, const char *path) in sanity_check_usdt_elf()
357 static int find_elf_sec_by_name(Elf *elf, const char *sec_name, GElf_Shdr *shdr, Elf_Scn **scn) in find_elf_sec_by_name()
400 static int parse_elf_segs(Elf *elf, const char *path, struct elf_seg **segs, size_t *seg_cnt) in parse_elf_segs()
578 static int collect_usdt_targets(struct usdt_manager *man, Elf *elf, const char *path, pid_t pid, in collect_usdt_targets()
1133 static int parse_usdt_note(Elf *elf, const char *path, GElf_Nhdr *nhdr, in parse_usdt_note()
/openbmc/linux/tools/build/feature/
H A Dtest-libelf.c6 Elf *elf = elf_begin(0, ELF_C_READ, 0); in main() local
/openbmc/linux/arch/loongarch/kernel/
H A Delf.c15 int arch_elf_pt_proc(void *_ehdr, void *_phdr, struct file *elf, in arch_elf_pt_proc()
/openbmc/linux/tools/objtool/arch/x86/
H A Ddecode.c31 static int is_x86_64(const struct elf *elf) in is_x86_64()
152 const struct elf *elf = file->elf; in arch_decode_instruction() local
/openbmc/linux/arch/alpha/boot/tools/
H A Dobjstrip.c61 struct elfhdr *elf; in main() local
/openbmc/linux/fs/
H A Dbinfmt_elf.c539 struct file *elf, bool is_interp, in arch_elf_pt_proc()
1490 static void fill_elf_header(struct elfhdr *elf, int segs, in fill_elf_header()
1855 static int fill_note_info(struct elfhdr *elf, int phdrs, in fill_note_info()
2003 static void fill_extnum_info(struct elfhdr *elf, struct elf_shdr *shdr4extnum, in fill_extnum_info()
2030 struct elfhdr elf; in elf_core_dump() local
H A Dbinfmt_elf_fdpic.c1233 static inline void fill_elf_fdpic_header(struct elfhdr *elf, int segs) in fill_elf_fdpic_header()
1420 static void fill_extnum_info(struct elfhdr *elf, struct elf_shdr *shdr4extnum, in fill_extnum_info()
1466 struct elfhdr *elf = NULL; in elf_fdpic_core_dump() local
/openbmc/linux/tools/bpf/resolve_btfids/
H A Dmain.c121 Elf *elf; member
305 static int compressed_section_fix(Elf *elf, Elf_Scn *scn, GElf_Shdr *sh) in compressed_section_fix()
334 Elf *elf; in elf_collect() local
/openbmc/u-boot/tools/
H A Dzynqmpbif.c547 static char *elf2flat64(char *elf, size_t *flat_size, size_t *load_addr) in elf2flat64()
595 static char *elf2flat32(char *elf, size_t *flat_size, size_t *load_addr) in elf2flat32()
647 char *elf; in bif_add_elf() local
/openbmc/linux/arch/s390/include/asm/
H 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
/openbmc/linux/arch/mips/kernel/
H A Delf.c76 int arch_elf_pt_proc(void *_ehdr, void *_phdr, struct file *elf, in arch_elf_pt_proc()

12