Home
last modified time | relevance | path

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

/system/core/libcorkscrew/
Dsymbol_table.c88 Elf32_Shdr *shdr = (Elf32_Shdr*)(base + hdr->e_shoff); in load_symbol_table() local
94 if (shdr[i].sh_type == SHT_SYMTAB) { in load_symbol_table()
97 if (shdr[i].sh_type == SHT_DYNSYM) { in load_symbol_table()
115 dynsyms = (Elf32_Sym*)(base + shdr[dynsym_idx].sh_offset); in load_symbol_table()
116 dynnumsyms = shdr[dynsym_idx].sh_size / shdr[dynsym_idx].sh_entsize; in load_symbol_table()
117 int dynstr_idx = shdr[dynsym_idx].sh_link; in load_symbol_table()
118 dynstr = base + shdr[dynstr_idx].sh_offset; in load_symbol_table()
125 syms = (Elf32_Sym*)(base + shdr[sym_idx].sh_offset); in load_symbol_table()
126 numsyms = shdr[sym_idx].sh_size / shdr[sym_idx].sh_entsize; in load_symbol_table()
127 int str_idx = shdr[sym_idx].sh_link; in load_symbol_table()
[all …]