/optee_os/ldelf/ |
A D | ta_elf.c | 64 struct ta_elf *elf = calloc(1, sizeof(*elf)); in queue_elf_helper() local 66 if (!elf) in queue_elf_helper() 80 if (elf) in queue_elf() 286 check_hashtab(elf, elf->hashtab, 0, 0); in save_hashtab() 473 elf->phdr = (void *)(va + elf->e_phoff); in init_elf() 898 va = elf->load_addr + elf->prop_start; in parse_property_segment() 1068 memcpy(elf->shdr, (void *)(elf->load_addr + elf->e_shoff), in copy_section_headers() 1247 *entry = elf->e_entry + elf->load_addr; in ta_elf_finalize_load_main() 1548 for (elf = lib; elf; elf = TAILQ_NEXT(elf, link)) in ta_elf_add_library() 1551 for (elf = lib; elf; elf = TAILQ_NEXT(elf, link)) { in ta_elf_add_library() [all …]
|
A D | ta_elf_rel.c | 64 if (st_value > (elf->max_addr - elf->load_addr)) in __resolve_sym() 159 if (elf) { in ta_elf_resolve_sym() 285 if (sh_end >= (elf->max_addr - elf->load_addr)) in e32_relocate() 305 if (sh_end >= (elf->max_addr - elf->load_addr)) in e32_relocate() 319 if (sh_end >= (elf->max_addr - elf->load_addr)) in e32_relocate() 331 if (rel->r_offset >= (elf->max_addr - elf->load_addr)) in e32_relocate() 447 mod = elf; in e64_process_tls_tprel_rela() 513 if (sh_end >= (elf->max_addr - elf->load_addr)) in e64_relocate() 533 if (sh_end >= (elf->max_addr - elf->load_addr)) in e64_relocate() 547 if (sh_end >= (elf->max_addr - elf->load_addr)) in e64_relocate() [all …]
|
A D | main.c | 33 struct ta_elf *elf = TAILQ_FIRST(&main_elf_queue); in dump_ta_state() local 35 assert(elf && elf->is_main); in dump_ta_state() 36 EMSG_RAW("Status of TA %pUl", (void *)&elf->uuid); in dump_ta_state() 132 struct ta_elf *elf = NULL; in ldelf() local 151 TAILQ_FOREACH(elf, &main_elf_queue, link) in ldelf() 152 ta_elf_load_dependency(elf, arg->is_32bit); in ldelf() 154 TAILQ_FOREACH(elf, &main_elf_queue, link) { in ldelf() 155 ta_elf_relocate(elf); in ldelf() 156 ta_elf_finalize_mappings(elf); in ldelf() 167 TAILQ_FOREACH(elf, &main_elf_queue, link) in ldelf() [all …]
|
A D | ftrace.c | 23 struct ta_elf *elf = TAILQ_FIRST(&main_elf_queue); in ftrace_init() local 35 assert(elf && elf->is_main); in ftrace_init() 50 (void *)&elf->uuid, elf->load_addr); in ftrace_init() 72 struct ta_elf *elf = TAILQ_FIRST(&main_elf_queue); in ftrace_copy_buf() local 76 assert(elf && elf->is_main); in ftrace_copy_buf()
|
A D | dl.c | 26 struct ta_elf *elf = NULL; in dlsym_entry() local 30 elf = ta_elf_find_elf(&arg->dlsym.uuid); in dlsym_entry() 31 if (!elf) in dlsym_entry() 36 elf); in dlsym_entry()
|
A D | link.mk | 7 ldelf: $(link-out-dir$(sm))/ldelf.elf 12 cleanfiles += $(link-out-dir$(sm))/ldelf.elf 27 ldargs-ldelf.elf := $(link-ldflags) $(objs) $(link-ldadd) $(libgcc$(sm)) 47 $(link-out-dir$(sm))/ldelf.elf: $(objs) $(libdeps) $(link-script-pp$(sm)) 49 $(q)$(LD$(sm)) $(ldargs-ldelf.elf) -o $$@ 51 $(link-out-dir$(sm))/ldelf.dmp: $(link-out-dir$(sm))/ldelf.elf
|
A D | ta_elf.h | 107 void ta_elf_load_dependency(struct ta_elf *elf, bool is_32bit); 108 void ta_elf_relocate(struct ta_elf *elf); 109 void ta_elf_finalize_mappings(struct ta_elf *elf); 126 struct ta_elf **found_elf, struct ta_elf *elf);
|
/optee_os/scripts/ |
A D | symbolize.py | 125 if elf: 126 return elf[0] 128 def set_arch(self, elf): argument 140 def arch_prefix(self, cmd, elf): argument 141 self.set_arch(elf) 155 if not elf: 314 if not elf: 317 if not elf or not cmd: 349 if elf is None: 351 self.read_sections(elf) [all …]
|
A D | gen_ldelf_hex.py | 13 from elftools.elf.elffile import ELFFile 14 from elftools.elf.sections import SymbolTableSection 15 from elftools.elf.constants import P_FLAGS
|
A D | gen_tee_bin.py | 16 from elftools.elf.elffile import ELFFile 17 from elftools.elf.constants import SH_FLAGS 18 from elftools.elf.enums import ENUM_RELOC_TYPE_ARM 19 from elftools.elf.enums import ENUM_RELOC_TYPE_AARCH64 20 from elftools.elf.sections import SymbolTableSection 21 from elftools.elf.relocation import RelocationSection
|
A D | checkpatch_inc.sh | 10 lib/libutee/include/elf.h \
|
/optee_os/out/arm/export-ta_arm32/scripts/ |
A D | symbolize.py | 125 if elf: 126 return elf[0] 128 def set_arch(self, elf): argument 140 def arch_prefix(self, cmd, elf): argument 141 self.set_arch(elf) 155 if not elf: 314 if not elf: 317 if not elf or not cmd: 349 if elf is None: 351 self.read_sections(elf) [all …]
|
/optee_os/out/arm/export-ta_arm64/scripts/ |
A D | symbolize.py | 125 if elf: 126 return elf[0] 128 def set_arch(self, elf): argument 140 def arch_prefix(self, cmd, elf): argument 141 self.set_arch(elf) 155 if not elf: 314 if not elf: 317 if not elf or not cmd: 349 if elf is None: 351 self.read_sections(elf) [all …]
|
/optee_os/core/arch/arm/kernel/ |
A D | link.mk | 163 -include $(link-out-dir)/.tee.elf.cmd 170 all: $(link-out-dir)/tee.elf 171 cleanfiles += $(link-out-dir)/tee.elf $(link-out-dir)/tee.map 174 cleanfiles += $(link-out-dir)/.tee.elf.cmd 176 @echo "old-link-objs := $(link-objs)" >$(link-out-dir)/.tee.elf.cmd 178 $(q)$(LDcore) $(ldargs-tee.elf) -o $@ 182 $(link-out-dir)/tee.dmp: $(link-out-dir)/tee.elf 206 $(link-out-dir)/tee-header_v2.bin: $(link-out-dir)/tee.elf \ 219 $(link-out-dir)/tee-pageable_v2.bin: $(link-out-dir)/tee.elf \ 226 $(link-out-dir)/tee.symb_sizes: $(link-out-dir)/tee.elf [all …]
|
/optee_os/ta/arch/arm/ |
A D | link.mk | 20 $(link-out-dir$(sm))/$(user-ta-uuid).stripped.elf \ 22 cleanfiles += $(link-out-dir$(sm))/$(user-ta-uuid).elf 25 cleanfiles += $(link-out-dir$(sm))/$(user-ta-uuid).stripped.elf 66 ldargs-$(user-ta-uuid).elf := $(link-ldflags) $(objs) $(link-ldadd) \ 86 $(link-out-dir$(sm))/$(user-ta-uuid).elf: $(objs) $(libdeps) \ 92 $(q)$(LD$(sm)) $(ldargs-$(user-ta-uuid).elf) -o $$@ 95 $(link-out-dir$(sm))/$(user-ta-uuid).elf 99 $(link-out-dir$(sm))/$(user-ta-uuid).stripped.elf: \ 100 $(link-out-dir$(sm))/$(user-ta-uuid).elf 110 $(link-out-dir$(sm))/$(user-ta-uuid).stripped.elf \
|
A D | link_shlib.mk | 11 $(link-out-dir)/$(shlibuuid).elf \ 17 cleanfiles += $(link-out-dir)/$(shlibuuid).elf 46 $(link-out-dir)/$(shlibuuid).elf: $(link-out-dir)/$(shlibname).so
|
/optee_os/out/arm/export-ta_arm32/mk/ |
A D | link.mk | 20 $(link-out-dir$(sm))/$(user-ta-uuid).stripped.elf \ 22 cleanfiles += $(link-out-dir$(sm))/$(user-ta-uuid).elf 25 cleanfiles += $(link-out-dir$(sm))/$(user-ta-uuid).stripped.elf 66 ldargs-$(user-ta-uuid).elf := $(link-ldflags) $(objs) $(link-ldadd) \ 86 $(link-out-dir$(sm))/$(user-ta-uuid).elf: $(objs) $(libdeps) \ 92 $(q)$(LD$(sm)) $(ldargs-$(user-ta-uuid).elf) -o $$@ 95 $(link-out-dir$(sm))/$(user-ta-uuid).elf 99 $(link-out-dir$(sm))/$(user-ta-uuid).stripped.elf: \ 100 $(link-out-dir$(sm))/$(user-ta-uuid).elf 110 $(link-out-dir$(sm))/$(user-ta-uuid).stripped.elf \
|
A D | link_shlib.mk | 11 $(link-out-dir)/$(shlibuuid).elf \ 17 cleanfiles += $(link-out-dir)/$(shlibuuid).elf 46 $(link-out-dir)/$(shlibuuid).elf: $(link-out-dir)/$(shlibname).so
|
/optee_os/out/arm/export-ta_arm64/mk/ |
A D | link.mk | 20 $(link-out-dir$(sm))/$(user-ta-uuid).stripped.elf \ 22 cleanfiles += $(link-out-dir$(sm))/$(user-ta-uuid).elf 25 cleanfiles += $(link-out-dir$(sm))/$(user-ta-uuid).stripped.elf 66 ldargs-$(user-ta-uuid).elf := $(link-ldflags) $(objs) $(link-ldadd) \ 86 $(link-out-dir$(sm))/$(user-ta-uuid).elf: $(objs) $(libdeps) \ 92 $(q)$(LD$(sm)) $(ldargs-$(user-ta-uuid).elf) -o $$@ 95 $(link-out-dir$(sm))/$(user-ta-uuid).elf 99 $(link-out-dir$(sm))/$(user-ta-uuid).stripped.elf: \ 100 $(link-out-dir$(sm))/$(user-ta-uuid).elf 110 $(link-out-dir$(sm))/$(user-ta-uuid).stripped.elf \
|
A D | link_shlib.mk | 11 $(link-out-dir)/$(shlibuuid).elf \ 17 cleanfiles += $(link-out-dir)/$(shlibuuid).elf 46 $(link-out-dir)/$(shlibuuid).elf: $(link-out-dir)/$(shlibname).so
|
/optee_os/core/ |
A D | sub.mk | 17 depends-ldelf = scripts/gen_ldelf_hex.py $(out-dir)/ldelf/ldelf.elf 18 recipe-ldelf = $(PYTHON3) scripts/gen_ldelf_hex.py --input $(out-dir)/ldelf/ldelf.elf \ 36 process_early_ta,$(out-dir)/ta/$(f).stripped.elf)))
|
/optee_os/out/arm/ta_arm32-lib/libutee/arch/arm/ |
A D | .tcb.o.d | 10 lib/libutee/include/elf.h lib/libutee/include/elf32.h \
|
A D | .user_ta_entry.o.d | 4 lib/libutee/include/elf.h lib/libutee/include/elf32.h \
|
/optee_os/out/arm/ta_arm64-lib/libutee/arch/arm/ |
A D | .tcb.o.d | 10 lib/libutee/include/elf.h lib/libutee/include/elf64.h \
|
A D | .user_ta_entry.o.d | 4 lib/libutee/include/elf.h lib/libutee/include/elf64.h \
|