Home
last modified time | relevance | path

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

/freebsd/libexec/rtld-elf/arm/
H A Dreloc.c142 unsigned long symnum; in reloc_nonplt_object() local
145 symnum = ELF_R_SYM(rel->r_info); in reloc_nonplt_object()
162 def = find_symdef(symnum, obj, &defobj, flags, cache, in reloc_nonplt_object()
174 obj->strtab + obj->symtab[symnum].st_name, in reloc_nonplt_object()
181 obj->strtab + obj->symtab[symnum].st_name, in reloc_nonplt_object()
189 def = find_symdef(symnum, obj, &defobj, flags, cache, in reloc_nonplt_object()
204 obj->strtab + obj->symtab[symnum].st_name, in reloc_nonplt_object()
238 def = find_symdef(symnum, obj, &defobj, flags, cache, in reloc_nonplt_object()
250 obj->strtab + obj->symtab[symnum].st_name, in reloc_nonplt_object()
255 def = find_symdef(symnum, obj, &defobj, flags, cache, in reloc_nonplt_object()
[all …]
/freebsd/libexec/rtld-elf/riscv/
H A Dreloc.c330 unsigned long symnum; in reloc_non_plt() local
345 symnum = ELF_R_SYM(rela->r_info); in reloc_non_plt()
354 def = find_symdef(symnum, obj, &defobj, flags, cache, in reloc_non_plt()
382 def = find_symdef(symnum, obj, &defobj, flags, cache, in reloc_non_plt()
403 def = find_symdef(symnum, obj, &defobj, flags, cache, in reloc_non_plt()
429 def = find_symdef(symnum, obj, &defobj, flags, cache, in reloc_non_plt()
/freebsd/lib/libkldelf/
H A Def.c131 unsigned long hash, symnum; in ef_lookup_symbol() local
137 symnum = ef->ef_buckets[hash % ef->ef_nbuckets]; in ef_lookup_symbol()
139 while (symnum != STN_UNDEF) { in ef_lookup_symbol()
140 if (symnum >= ef->ef_nchains) { in ef_lookup_symbol()
146 symp = ef->ef_symtab + symnum; in ef_lookup_symbol()
168 symnum = ef->ef_chains[symnum]; in ef_lookup_symbol()
/freebsd/stand/common/
H A Dload_elf.c1233 Elf_Hashelt symnum; local
1244 COPYOUT(&ef->buckets[hash % ef->nbuckets], &symnum, sizeof(symnum));
1246 while (symnum != STN_UNDEF) {
1247 if (symnum >= ef->nchains) {
1252 COPYOUT(ef->symtab + symnum, &sym, sizeof(sym));
1269 COPYOUT(&ef->chains[symnum], &symnum, sizeof(symnum));
/freebsd/libexec/rtld-elf/
H A Drtld.c1952 find_symdef(unsigned long symnum, const Obj_Entry *refobj, in find_symdef() argument
1968 if (symnum >= refobj->dynsymcount) in find_symdef()
1970 if (cache != NULL && cache[symnum].sym != NULL) { in find_symdef()
1971 *defobj_out = cache[symnum].obj; in find_symdef()
1972 return (cache[symnum].sym); in find_symdef()
1975 ref = refobj->symtab + symnum; in find_symdef()
1992 symnum); in find_symdef()
1996 ve = req.ventry = fetch_ventry(refobj, symnum); in find_symdef()
2021 cache[symnum].sym = def; in find_symdef()
2022 cache[symnum].obj = defobj; in find_symdef()
[all …]
/freebsd/sys/kern/
H A Dlink_elf.c1523 unsigned long symnum; in link_elf_lookup_symbol1() local
1536 symnum = ef->buckets[hash % ef->nbuckets]; in link_elf_lookup_symbol1()
1538 while (symnum != STN_UNDEF) { in link_elf_lookup_symbol1()
1539 if (symnum >= ef->nchains) { in link_elf_lookup_symbol1()
1544 symp = ef->symtab + symnum; in link_elf_lookup_symbol1()
1566 symnum = ef->chains[symnum]; in link_elf_lookup_symbol1()
/freebsd/sys/contrib/xen/
H A Dplatform.h613 uint32_t symnum; /* IN: Symbol to read */ member