Searched refs:sym (Results 1 - 25 of 27) sorted by relevance

12

/haiku/src/libs/compat/freebsd_network/compat/sys/
H A Dlinker_set.h47 #define __MAKE_SET(set, sym) \
48 static void const * const __set_##set##_sym_##sym \
49 __section("set_" #set) __used = &sym
54 #define __MAKE_SET(set, sym) extern void const * const (__set_##set##_sym_##sym)
60 #define TEXT_SET(set, sym) __MAKE_SET(set, sym)
61 #define DATA_SET(set, sym) __MAKE_SET(set, sym)
62 #define BSS_SET(set, sym) __MAKE_SE
[all...]
/haiku/headers/posix/sys/
H A Dcdefs.h33 #define __weak_reference(sym,alias) \
35 __asm__(".equ " #alias ", " #sym)
/haiku/src/system/runtime_loader/arch/riscv64/
H A Darch_relocate.cpp30 Elf64_Sym* sym = SYMBOL(image, symIndex); local
32 status_t status = resolve_symbol(rootImage, image, sym, cache,
36 SYMNAME(image, sym), status));
38 SYMNAME(image, sym), status);
/haiku/src/system/runtime_loader/arch/arm/
H A Darch_relocate.cpp41 Elf32_Sym* sym = SYMBOL(image, symbolIndex); local
42 status_t status = resolve_symbol(rootImage, image, sym, cache, &S,
46 SYMNAME(image, sym), status);
/haiku/src/system/runtime_loader/arch/x86/
H A Darch_relocate.cpp38 Elf32_Sym* sym = SYMBOL(image, symbolIndex); local
39 status_t status = resolve_symbol(rootImage, image, sym, cache, &S,
43 SYMNAME(image, sym), status));
45 SYMNAME(image, sym), status);
/haiku/src/system/runtime_loader/arch/x86_64/
H A Darch_relocate.cpp28 Elf64_Sym* sym = SYMBOL(image, symIndex); local
30 status_t status = resolve_symbol(rootImage, image, sym, cache,
34 SYMNAME(image, sym), status));
36 SYMNAME(image, sym), status);
/haiku/headers/private/kernel/
H A Delf_priv.h71 #define SYMNAME(image, sym) STRING(image, (sym)->st_name)
/haiku/src/system/libnetwork/netresolv/
H A Dport_before.h44 #define __weak_alias(alias, sym) __asm(".weak " #alias "\n" #alias " = " #sym);
/haiku/src/system/runtime_loader/
H A Delf_symbol_lookup.cpp479 resolve_symbol(image_t* rootImage, image_t* image, elf_sym* sym, argument
482 uint32 index = sym - image->syms;
492 const char* symName = SYMNAME(image, sym);
496 if (sym->Type() == STT_FUNC)
499 if (sym->Bind() == STB_LOCAL) {
502 sharedSym = sym;
514 SymbolLookupInfo(symName, type, versionInfo, 0, sym), &sharedImage);
526 bool tlsSymbol = sym->Type() == STT_TLS;
530 if (sym->Bind() == STB_WEAK) {
537 } else if (sym
[all...]
H A Druntime_loader_private.h88 int resolve_symbol(image_t* rootImage, image_t* image, elf_sym* sym,
/haiku/src/system/kernel/arch/sparc/
H A Darch_elf.cpp115 Elf64_Sym *sym; local
144 dprintf("looking at rel type %" PRIu64 ", offset 0x%lx, sym 0x%lx, "
164 sym = SYMBOL(image, ELF64_R_SYM(rel[i].r_info));
166 vlErr = boot_elf_resolve_symbol(image, sym, &S);
168 vlErr = elf_resolve_symbol(image, sym, resolve_image, &S);
173 "sym 0x%lx, addend 0x%lx\n", __FUNCTION__, i,
/haiku/src/system/libroot/posix/glibc/include/arch/riscv64/
H A Dasm-syntax.h69 #define WEAK_ALIAS(alias,sym) \
71 alias = sym
75 #define STRONG_ALIAS(alias,sym) \
77 alias = sym
82 #define WARN_REFERENCES(sym,msg) \
83 .pushsection __CONCAT(.gnu.warning.,sym); \
/haiku/src/system/kernel/arch/riscv64/
H A Darch_debug.cpp85 Elf64_Sym& sym = image->debug_symbols[i]; local
86 if (sym.st_shndx != STN_UNDEF && adr >= sym.st_value
87 && adr < sym.st_value + sym.st_size) {
89 *name = &image->debug_string_table[sym.st_name];
91 *ofs = adr - sym.st_value;
/haiku/src/system/runtime_loader/arch/m68k/
H A Darch_relocate.cpp100 Elf32_Sym *sym; local
102 sym = SYMBOL(image, ELF32_R_SYM(rel[i].r_info));
104 status = resolve_symbol(rootImage, image, sym, cache, &S);
107 SYMNAME(image, sym), status));
109 SYMNAME(image, sym), status);
/haiku/src/system/libroot/posix/glibc/arch/ppc/
H A Dadd_n.S21 #include <bp-sym.h>
H A Daddmul_1.S21 #include <bp-sym.h>
H A Dmul_1.S21 #include <bp-sym.h>
H A Drshift.S21 #include <bp-sym.h>
H A Dsub_n.S21 #include <bp-sym.h>
H A Dsubmul_1.S21 #include <bp-sym.h>
/haiku/src/system/libroot/posix/glibc/include/
H A Dsysdep.h35 #define END(sym)
/haiku/src/system/kernel/arch/ppc/
H A Darch_elf.cpp127 Elf32_Sym *sym; local
156 dprintf("looking at rel type %d, offset 0x%lx, sym 0x%lx, addend 0x%lx\n",
188 sym = SYMBOL(image, ELF32_R_SYM(rel[i].r_info));
191 vlErr = boot_elf_resolve_symbol(image, sym, &S);
193 vlErr = elf_resolve_symbol(image, sym, resolve_image, &S);
197 "entry index %d, rel type %d, offset 0x%lx, sym 0x%lx, "
/haiku/src/system/kernel/arch/arm/
H A Darch_elf.cpp328 Elf32_Sym *sym; local
359 "sym 0x%lx, addend 0x%lx\n", ELF32_R_TYPE(rel[i].r_info),
365 sym = SYMBOL(image, ELF32_R_SYM(rel[i].r_info));
368 vlErr = boot_elf_resolve_symbol(image, sym, &S);
370 vlErr = elf_resolve_symbol(image, sym, resolve_image, &S);
374 "entry index %d, rel type %d, offset 0x%lx, sym 0x%lx, "
/haiku/src/system/kernel/arch/m68k/
H A Darch_elf.cpp149 Elf32_Sym *sym; local
177 dprintf("looking at rel type %d, offset 0x%lx, sym 0x%lx, addend 0x%lx\n",
189 sym = SYMBOL(image, ELF32_R_SYM(rel[i].r_info));
192 vlErr = boot_elf_resolve_symbol(image, sym, &S);
194 vlErr = elf_resolve_symbol(image, sym, resolve_image, &S);
198 "entry index %d, rel type %d, offset 0x%lx, sym 0x%lx, "
/haiku/headers/private/runtime_loader/
H A Druntime_loader.h173 #define SYMNAME(image, sym) STRING(image, (sym)->st_name)

Completed in 153 milliseconds

12