Home
last modified time | relevance | path

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

/third_party/musl/ldso/
Ddynlink.c349 size_t sym_val; in do_relocs() local
410 sym_val = def.sym ? (size_t)laddr(def.dso, def.sym->st_value) : 0; in do_relocs()
427 *reloc_addr = sym_val + addend; in do_relocs()
430 memcpy(reloc_addr, &(size_t){sym_val + addend}, sizeof(size_t)); in do_relocs()
436 if (sym) *reloc_addr = sym_val + addend; in do_relocs()
440 memcpy(reloc_addr, (void *)sym_val, sym->st_size); in do_relocs()
443 *(uint32_t *)reloc_addr = sym_val + addend in do_relocs()
451 if ((sym->st_info&0xf) == STT_SECTION) *reloc_addr += sym_val; in do_relocs()
452 else *reloc_addr = sym_val; in do_relocs()
/third_party/musl/porting/liteos_a/user_debug/ldso/
Ddynlink.c347 size_t sym_val; in do_relocs() local
408 sym_val = def.sym ? (size_t)laddr(def.dso, def.sym->st_value) : 0; in do_relocs()
425 *reloc_addr = sym_val + addend; in do_relocs()
428 memcpy(reloc_addr, &(size_t){sym_val + addend}, sizeof(size_t)); in do_relocs()
434 if (sym) *reloc_addr = sym_val + addend; in do_relocs()
438 memcpy(reloc_addr, (void *)sym_val, sym->st_size); in do_relocs()
441 *(uint32_t *)reloc_addr = sym_val + addend in do_relocs()
449 if ((sym->st_info&0xf) == STT_SECTION) *reloc_addr += sym_val; in do_relocs()
450 else *reloc_addr = sym_val; in do_relocs()
/third_party/musl/porting/liteos_a/user/ldso/
Ddynlink.c347 size_t sym_val; in do_relocs() local
408 sym_val = def.sym ? (size_t)laddr(def.dso, def.sym->st_value) : 0; in do_relocs()
425 *reloc_addr = sym_val + addend; in do_relocs()
428 memcpy(reloc_addr, &(size_t){sym_val + addend}, sizeof(size_t)); in do_relocs()
434 if (sym) *reloc_addr = sym_val + addend; in do_relocs()
438 memcpy(reloc_addr, (void *)sym_val, sym->st_size); in do_relocs()
441 *(uint32_t *)reloc_addr = sym_val + addend in do_relocs()
449 if ((sym->st_info&0xf) == STT_SECTION) *reloc_addr += sym_val; in do_relocs()
450 else *reloc_addr = sym_val; in do_relocs()
/third_party/musl/porting/linux/user/ldso/
Ddynlink.c973 size_t sym_val; in do_relocs() local
1048 sym_val = def.sym ? (size_t)laddr(def.dso, def.sym->st_value) : 0; in do_relocs()
1065 *reloc_addr = sym_val + addend; in do_relocs()
1068 memcpy(reloc_addr, &(size_t){sym_val + addend}, sizeof(size_t)); in do_relocs()
1074 if (sym) *reloc_addr = sym_val + addend; in do_relocs()
1078 memcpy(reloc_addr, (void *)sym_val, sym->st_size); in do_relocs()
1081 *(uint32_t *)reloc_addr = sym_val + addend in do_relocs()
1089 if ((sym->st_info&0xf) == STT_SECTION) *reloc_addr += sym_val; in do_relocs()
1090 else *reloc_addr = sym_val; in do_relocs()
/third_party/pcre2/pcre2/src/
Dpcre2grep.c642 $DESCRIPTOR(sym_val, val_buf); in pcre2grep_exit()
644 sym_val.dsc$w_length = strlen(val_buf); in pcre2grep_exit()
645 lib$set_symbol(&sym_nam, &sym_val); in pcre2grep_exit()