/bionic/libc/include/sys/ |
D | cdefs_elf.h | 52 #define __indr_reference(sym,alias) /* nada, since we do weak refs */ argument 55 #define __strong_alias(alias,sym) \ argument 57 _C_LABEL_STRING(#alias) " = " _C_LABEL_STRING(#sym)); 59 #define __weak_alias(alias,sym) \ argument 61 _C_LABEL_STRING(#alias) " = " _C_LABEL_STRING(#sym)); 62 #define __weak_extern(sym) \ argument 63 __asm__(".weak " _C_LABEL_STRING(#sym)); 64 #define __warn_references(sym,msg) \ argument 65 __asm__(".section .gnu.warning." #sym "\n\t.ascii \"" msg "\"\n\t.text"); 70 #define __weak_alias(alias,sym) ___weak_alias(_/**/alias,_/**/sym) argument [all …]
|
/bionic/libc/arch-x86/include/machine/ |
D | cdefs.h | 12 #define __indr_reference(sym,alias) __lint_equal__(sym,alias) argument 13 #define __warn_references(sym,msg) argument 14 #define __weak_alias(alias,sym) __lint_equal__(sym,alias) argument 16 #define __weak_alias(alias,sym) \ argument 18 __STRING(alias) " = " __STRING(sym)); 19 #define __warn_references(sym,msg) \ argument 20 __asm__(".section .gnu.warning." __STRING(sym) \
|
D | asm.h | 88 #define WEAK_ALIAS(alias,sym) \ argument 90 alias = sym
|
/bionic/libc/arch-arm/include/machine/ |
D | cdefs.h | 7 #define __indr_reference(sym,alias) __lint_equal__(sym,alias) argument 8 #define __warn_references(sym,msg) argument 9 #define __weak_alias(alias,sym) __lint_equal__(sym,alias) argument 11 #define __weak_alias(alias,sym) \ argument 13 " = " __STRING(sym)); 14 #define __warn_references(sym,msg) \ argument 15 __asm__(".section .gnu.warning." __STRING(sym) \
|
D | asm.h | 111 #define WEAK_ALIAS(alias,sym) \ argument 113 alias = sym 117 #define WARN_REFERENCES(sym,msg) \ argument 119 .stabs __STRING(_C_LABEL(sym)) ## ,1,0,0,0 121 #define WARN_REFERENCES(sym,msg) \ argument 123 .stabs __STRING(sym),1,0,0,0 125 #define WARN_REFERENCES(sym,msg) \ argument 127 .stabs __STRING(_/**/sym),1,0,0,0
|
/bionic/linker/ |
D | dlfcn.c | 78 Elf32_Sym *sym; in dlsym() local 93 sym = lookup(symbol, &base); in dlsym() 95 sym = lookup(symbol, &base); in dlsym() 97 sym = lookup_in_library((soinfo*) handle, symbol); in dlsym() 101 if(likely(sym != 0)) { in dlsym() 102 bind = ELF32_ST_BIND(sym->st_info); in dlsym() 104 if(likely((bind == STB_GLOBAL) && (sym->st_shndx != 0))) { in dlsym() 105 unsigned ret = sym->st_value + base; in dlsym()
|
D | linker.c | 1161 unsigned sym = ELF32_R_SYM(rel->r_info); in reloc_library() local 1168 if(sym != 0) { in reloc_library() 1169 sym_name = (char *)(strtab + symtab[sym].st_name); in reloc_library() 1179 pid, strtab + symtab[sym].st_name); in reloc_library() 1245 if(sym){ in reloc_library()
|
/bionic/libc/kernel/common/linux/ |
D | module.h | 97 #define EXPORT_SYMBOL(sym) argument 98 #define EXPORT_SYMBOL_GPL(sym) argument 99 #define EXPORT_SYMBOL_GPL_FUTURE(sym) argument 100 #define EXPORT_UNUSED_SYMBOL(sym) argument 101 #define EXPORT_UNUSED_SYMBOL_GPL(sym) argument
|
/bionic/libdl/ |
D | dltest.c | 72 int get_options(int argc, char **argv, char **lib, char **sym) in get_options() argument 77 *sym = 0; in get_options() 95 *sym = strdup(optarg); in get_options()
|