Home
last modified time | relevance | path

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

/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/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/ldso/
Ddynlink.c351 size_t sym_val; in do_relocs() local
412 sym_val = def.sym ? (size_t)laddr(def.dso, def.sym->st_value) : 0; in do_relocs()
429 *reloc_addr = sym_val + addend; in do_relocs()
432 memcpy(reloc_addr, &(size_t){sym_val + addend}, sizeof(size_t)); in do_relocs()
438 if (sym) *reloc_addr = sym_val + addend; in do_relocs()
442 memcpy(reloc_addr, (void *)sym_val, sym->st_size); in do_relocs()
445 *(uint32_t *)reloc_addr = sym_val + addend in do_relocs()
453 if ((sym->st_info&0xf) == STT_SECTION) *reloc_addr += sym_val; in do_relocs()
454 else *reloc_addr = sym_val; in do_relocs()
/third_party/musl/ldso/linux/
Ddynlink.c1034 size_t sym_val; in do_relocs() local
1113 sym_val = def.sym ? (size_t)laddr(def.dso, def.sym->st_value) : 0; in do_relocs()
1130 *reloc_addr = sym_val + addend; in do_relocs()
1133 memcpy(reloc_addr, &(size_t){sym_val + addend}, sizeof(size_t)); in do_relocs()
1139 if (sym) *reloc_addr = sym_val + addend; in do_relocs()
1143 memcpy(reloc_addr, (void *)sym_val, sym->st_size); in do_relocs()
1146 *(uint32_t *)reloc_addr = sym_val + addend in do_relocs()
1154 if ((sym->st_info&0xf) == STT_SECTION) *reloc_addr += sym_val; in do_relocs()
1155 else *reloc_addr = sym_val; in do_relocs()
/third_party/musl/porting/linux/user/ldso/
Ddynlink.c1034 size_t sym_val; in do_relocs() local
1113 sym_val = def.sym ? (size_t)laddr(def.dso, def.sym->st_value) : 0; in do_relocs()
1130 *reloc_addr = sym_val + addend; in do_relocs()
1133 memcpy(reloc_addr, &(size_t){sym_val + addend}, sizeof(size_t)); in do_relocs()
1139 if (sym) *reloc_addr = sym_val + addend; in do_relocs()
1143 memcpy(reloc_addr, (void *)sym_val, sym->st_size); in do_relocs()
1146 *(uint32_t *)reloc_addr = sym_val + addend in do_relocs()
1154 if ((sym->st_info&0xf) == STT_SECTION) *reloc_addr += sym_val; in do_relocs()
1155 else *reloc_addr = sym_val; in do_relocs()
/third_party/pcre2/pcre2/src/
Dpcre2grep.c647 $DESCRIPTOR(sym_val, val_buf); in pcre2grep_exit()
649 sym_val.dsc$w_length = strlen(val_buf); in pcre2grep_exit()
650 lib$set_symbol(&sym_nam, &sym_val); in pcre2grep_exit()