| /elf/ |
| A D | dl-lookup-direct.c | 33 const ElfW(Sym) *sym = &symtab[symidx]; in ElfW() 35 unsigned int stt = ELFW(ST_TYPE) (sym->st_info); in ElfW() 36 if (__glibc_unlikely ((sym->st_value == 0 /* No value. */ in ElfW() 37 && sym->st_shndx != SHN_ABS in ElfW() 39 || elf_machine_sym_no_match (sym))) in ElfW() 53 if (strcmp (strtab + sym->st_name, undef_name) != 0) in ElfW() 63 return sym; in ElfW() 90 if (sym != NULL) in ElfW() 91 return sym; in ElfW() 110 if (sym != NULL) in ElfW() [all …]
|
| A D | tst-auditmod1.c | 88 la_symbind32 (Elf32_Sym *sym, unsigned int ndx, uintptr_t *refcook, in la_symbind32() argument 92 symname, (long int) sym->st_value, ndx, *flags); in la_symbind32() 94 return sym->st_value; in la_symbind32() 98 la_symbind64 (Elf64_Sym *sym, unsigned int ndx, uintptr_t *refcook, in la_symbind64() argument 102 symname, (long int) sym->st_value, ndx, *flags); in la_symbind64() 104 return sym->st_value; in la_symbind64() 115 pltenter (ElfW(Sym) *sym, unsigned int ndx, uintptr_t *refcook, in pltenter() argument 120 symname, (long int) sym->st_value, ndx, *flags); in pltenter() 122 return sym->st_value; in pltenter() 126 pltexit (ElfW(Sym) *sym, unsigned int ndx, uintptr_t *refcook, in pltexit() argument [all …]
|
| A D | dl-call-libc-early-init.c | 32 const ElfW(Sym) *sym in _dl_call_libc_early_init() 37 assert (sym != NULL); in _dl_call_libc_early_init() 39 = DL_SYMBOL_ADDRESS (libc_map, sym); in _dl_call_libc_early_init()
|
| A D | tst-auditmod19b.c | 37 la_symbind32 (Elf32_Sym *sym, unsigned int ndx, uintptr_t *refcook, in la_symbind32() argument 40 la_symbind64 (Elf64_Sym *sym, unsigned int ndx, uintptr_t *refcook, in la_symbind32() 45 return sym->st_value; in la_symbind32()
|
| A D | dl-audit.c | 144 ElfW(Sym) sym = *ref; in _dl_audit_symbind_alt() 145 sym.st_value = (ElfW(Addr)) *value; in _dl_audit_symbind_alt() 162 if (new_value != (uintptr_t) sym.st_value) in _dl_audit_symbind_alt() 165 sym.st_value = new_value; in _dl_audit_symbind_alt() 171 *value = (void *) sym.st_value; in _dl_audit_symbind_alt() 195 ElfW(Sym) sym = *defsym; in rtld_hidden_def() 227 sym.st_value = new_value; in rtld_hidden_def() 268 ElfW(Sym) sym = *defsym; in _dl_audit_pltenter() 274 const char *symname = strtab + sym.st_name; in _dl_audit_pltenter() 297 sym.st_value = new_value; in _dl_audit_pltenter() [all …]
|
| A D | tst-audit13mod1.c | 57 la_symbind32 (Elf32_Sym *sym, unsigned int ndx, uintptr_t *refcook, in la_symbind32() argument 60 la_symbind64 (Elf64_Sym *sym, unsigned int ndx, uintptr_t *refcook, in la_symbind32() 80 pltenter (ElfW(Sym) *sym, unsigned int ndx, uintptr_t *refcook, in pltenter() argument 88 pltexit (ElfW(Sym) *sym, unsigned int ndx, uintptr_t *refcook, in pltexit() argument
|
| A D | tst-auditmod18.c | 64 la_symbind32 (Elf32_Sym *sym, unsigned int ndx, uintptr_t *refcook, in la_symbind32() argument 67 la_symbind64 (Elf64_Sym *sym, unsigned int ndx, uintptr_t *refcook, in la_symbind32() 72 return sym->st_value; in la_symbind32()
|
| A D | sotruss-lib.c | 231 la_symbind (Elf_Sym *sym, unsigned int ndx, uintptr_t *refcook, in la_symbind() argument 237 return sym->st_value; in la_symbind() 259 la_i86_gnu_pltenter (Elf32_Sym *sym __attribute__ ((unused)), in la_i86_gnu_pltenter() argument 272 return sym->st_value; in la_i86_gnu_pltenter() 276 la_x86_64_gnu_pltenter (Elf64_Sym *sym __attribute__ ((unused)), in la_x86_64_gnu_pltenter() argument 288 return sym->st_value; in la_x86_64_gnu_pltenter() 292 la_sparc32_gnu_pltenter (Elf32_Sym *sym __attribute__ ((unused)), in la_sparc32_gnu_pltenter() argument 305 return sym->st_value; in la_sparc32_gnu_pltenter() 309 la_sparc64_gnu_pltenter (Elf64_Sym *sym __attribute__ ((unused)), in la_sparc64_gnu_pltenter() argument 322 return sym->st_value; in la_sparc64_gnu_pltenter() [all …]
|
| A D | dl-runtime.c | 56 const ElfW(Sym) *sym = &symtab[ELFW(R_SYM) (reloc->r_info)]; in attribute_hidden() 57 const ElfW(Sym) *refsym = sym; in attribute_hidden() 67 if (__builtin_expect (ELFW(ST_VISIBILITY) (sym->st_other), 0) == 0) in attribute_hidden() 95 result = _dl_lookup_symbol_x (strtab + sym->st_name, l, &sym, l->l_scope, in attribute_hidden() 110 SYMBOL_ADDRESS (result, sym, false)); in attribute_hidden() 116 value = DL_FIXUP_MAKE_VALUE (l, SYMBOL_ADDRESS (l, sym, true)); in attribute_hidden() 123 if (sym != NULL in attribute_hidden() 124 && __builtin_expect (ELFW(ST_TYPE) (sym->st_info) == STT_GNU_IFUNC, 0)) in attribute_hidden() 142 _dl_audit_symbind (l, reloc_result, sym, &value, result); in attribute_hidden() 162 return elf_machine_fixup_plt (l, result, refsym, sym, reloc, rel_addr, value); in attribute_hidden()
|
| A D | rtld_static_init.c | 48 const ElfW(Sym) *sym in __rtld_static_init() 53 assert (sym != NULL); in __rtld_static_init() 54 struct rtld_global_ro *dl = DL_SYMBOL_ADDRESS (map, sym); in __rtld_static_init()
|
| A D | dl-lookup.c | 89 if (sym != ref && strcmp (strtab + sym->st_name, undef_name)) in ElfW() 153 *versioned_sym = sym; in ElfW() 161 return sym; in ElfW() 181 table[idx].sym = sym; in enter_unique_sym() 242 result->s = sym; in do_lookup_unique() 329 new_hash, strtab + sym->st_name, sym, map); in do_lookup_unique() 349 result->s = sym; in do_lookup_unique() 435 if (sym != NULL) in do_lookup_x() 460 if (sym != NULL) in do_lookup_x() 471 if (sym != NULL) in do_lookup_x() [all …]
|
| A D | dl-reloc-static-pie.c | 28 #define RESOLVE_MAP(map, scope, sym, version, flags) map argument
|
| A D | sprof.c | 1066 const ElfW(Sym) *sym = shobj->symtab; in read_symbols() 1069 for (; sym < sym_end; sym++) in read_symbols() 1072 && sym->st_size != 0) in read_symbols() 1082 newsym->addr = sym->st_value; in read_symbols() 1083 newsym->size = sym->st_size; in read_symbols() 1198 struct arc_list *runp = sym->froms; in add_arcs() 1221 newp->next = sym->froms; in add_arcs() 1222 sym->froms = newp; in add_arcs() 1234 struct arc_list *runp = sym->tos; in add_arcs() 1251 newp->next = sym->tos; in add_arcs() [all …]
|
| A D | tst-dl_find_object-threads.c | 175 char *sym = symbol (number); in start_verify() local 176 data->address = xdlsym (data->dlfo.dlfo_link_map, sym); in start_verify() 177 free (sym); in start_verify()
|
| A D | dynamic-link.h | 36 const ElfW(Rel) *reloc, const ElfW(Sym) *sym, 46 const ElfW(Rela) *reloc, const ElfW(Sym) *sym,
|
| A D | dl-fptr.c | 205 _dl_make_fptr (struct link_map *map, const ElfW(Sym) *sym, in _dl_make_fptr() argument 217 symidx = sym - symtab; in _dl_make_fptr() 243 strtab + sym->st_name, ftab[symidx]); in _dl_make_fptr()
|
| A D | dl-reloc.c | 169 ? ((__glibc_unlikely ((*ref) == l->l_lookup_cache.sym) \ 177 l->l_lookup_cache.sym = (*ref); \
|
| A D | elf.h | 669 #define ELF32_R_INFO(sym, type) (((sym) << 8) + ((type) & 0xff)) argument 673 #define ELF64_R_INFO(sym,type) ((((Elf64_Xword) (sym)) << 32) + (type)) argument 1404 #define ELF32_M_INFO(sym, size) (((sym) << 8) + (unsigned char) (size)) argument 1408 #define ELF64_M_INFO(sym, size) ELF32_M_INFO (sym, size) argument
|
| A D | Makefile | 27 dl-origin dl-libc dl-sym dl-sysdep dl-error \ 228 tst-debug1 tst-main1 tst-absolute-sym tst-absolute-zero tst-big-note \ 366 tst-main1mod tst-absolute-sym-lib \
|
| A D | rtld.c | 63 #define RESOLVE_MAP(map, scope, sym, version, flags) map argument
|