Home
last modified time | relevance | path

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

/optee_os/ldelf/
A Dta_elf.c349 static void e32_save_symtab(struct ta_elf *elf, size_t tab_idx) in e32_save_symtab() argument
352 size_t str_idx = shdr[tab_idx].sh_link; in e32_save_symtab()
354 elf->dynsymtab = (void *)(shdr[tab_idx].sh_addr + elf->load_addr); in e32_save_symtab()
360 if (shdr[tab_idx].sh_size % sizeof(Elf32_Sym)) in e32_save_symtab()
363 elf->num_dynsyms = shdr[tab_idx].sh_size / sizeof(Elf32_Sym); in e32_save_symtab()
373 static void e64_save_symtab(struct ta_elf *elf, size_t tab_idx) in e64_save_symtab() argument
376 size_t str_idx = shdr[tab_idx].sh_link; in e64_save_symtab()
378 elf->dynsymtab = (void *)(vaddr_t)(shdr[tab_idx].sh_addr + in e64_save_symtab()
385 shdr[tab_idx].sh_size); in e64_save_symtab()
387 if (shdr[tab_idx].sh_size % sizeof(Elf64_Sym)) in e64_save_symtab()
[all …]

Completed in 5 milliseconds