Home
last modified time | relevance | path

Searched refs:ta_elf (Results 1 – 7 of 7) sorted by relevance

/optee_os/ldelf/
H A Dta_elf.h29 struct ta_elf { struct
97 TAILQ_ENTRY(ta_elf) link; argument
100 TAILQ_HEAD(ta_elf_queue, ta_elf);
121 struct ta_elf *ta_elf_find_elf(const TEE_UUID *uuid);
126 void ta_elf_load_dependency(struct ta_elf *elf, bool is_32bit);
127 void ta_elf_relocate(struct ta_elf *elf);
128 void ta_elf_finalize_mappings(struct ta_elf *elf);
148 struct ta_elf **found_elf, struct ta_elf *elf);
H A Dta_elf.c52 static void assign_tls_mod_id(struct ta_elf *elf) in assign_tls_mod_id()
61 static struct ta_elf *queue_elf_helper(const TEE_UUID *uuid) in queue_elf_helper()
63 struct ta_elf *elf = calloc(1, sizeof(*elf)); in queue_elf_helper()
75 static struct ta_elf *queue_elf(const TEE_UUID *uuid) in queue_elf()
77 struct ta_elf *elf = ta_elf_find_elf(uuid); in queue_elf()
89 struct ta_elf *ta_elf_find_elf(const TEE_UUID *uuid) in ta_elf_find_elf()
91 struct ta_elf *elf = NULL; in ta_elf_find_elf()
101 static TEE_Result e32_parse_ehdr(struct ta_elf *elf, Elf32_Ehdr *ehdr) in e32_parse_ehdr()
137 static TEE_Result e64_parse_ehdr(struct ta_elf *elf, Elf64_Ehdr *ehdr) in e64_parse_ehdr()
161 static TEE_Result e64_parse_ehdr(struct ta_elf *elf __unused, in e64_parse_ehdr()
[all …]
H A Dta_elf_rel.c46 static bool sym_compare(struct ta_elf *elf, unsigned int st_bind, in sym_compare()
92 static bool check_found_sym(struct ta_elf *elf, const char *name, vaddr_t *val, in check_found_sym()
135 struct ta_elf *elf, bool weak_ok) in resolve_sym_helper()
226 struct ta_elf **found_elf, in ta_elf_resolve_sym()
227 struct ta_elf *elf) in ta_elf_resolve_sym()
280 static void resolve_sym(const char *name, vaddr_t *val, struct ta_elf **mod, in resolve_sym()
309 Elf32_Rel *rel, struct ta_elf **mod) in e32_tls_get_module()
339 static void e32_relocate(struct ta_elf *elf, unsigned int rel_sidx) in e32_relocate()
409 struct ta_elf *mod = NULL; in e32_relocate()
528 Elf64_Addr *where, struct ta_elf *elf) in e64_process_tls_tprel_rela()
[all …]
H A Dftrace.c25 struct ta_elf *elf = TAILQ_FIRST(&main_elf_queue); in ftrace_init()
92 struct ta_elf *elf = TAILQ_FIRST(&main_elf_queue); in ftrace_copy_buf()
H A Ddl.c26 struct ta_elf *elf = NULL; in dlsym_entry()
H A Dsub.mk12 srcs-y += ta_elf.c
H A Dmain.c34 struct ta_elf *elf = TAILQ_FIRST(&main_elf_queue); in dump_ta_state()
140 struct ta_elf *elf = NULL; in ldelf()