Searched refs:reloc_addr (Results 1 – 5 of 5) sorted by relevance
/third_party/musl/porting/liteos_a/user/ldso/ |
D | dynlink.c | 346 size_t *reloc_addr; in do_relocs() local 363 reloc_addr = laddr(dso, rel[0]); in do_relocs() 374 saved_addends[save_slot] = *reloc_addr; in do_relocs() 377 addend = *reloc_addr; in do_relocs() 421 addend -= (size_t)reloc_addr; 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() 431 *reloc_addr = (size_t)base + addend; in do_relocs() 434 if (sym) *reloc_addr = sym_val + addend; in do_relocs() 435 else *reloc_addr = (size_t)base + addend; in do_relocs() [all …]
|
/third_party/musl/porting/liteos_a/user_debug/ldso/ |
D | dynlink.c | 346 size_t *reloc_addr; in do_relocs() local 363 reloc_addr = laddr(dso, rel[0]); in do_relocs() 374 saved_addends[save_slot] = *reloc_addr; in do_relocs() 377 addend = *reloc_addr; in do_relocs() 421 addend -= (size_t)reloc_addr; 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() 431 *reloc_addr = (size_t)base + addend; in do_relocs() 434 if (sym) *reloc_addr = sym_val + addend; in do_relocs() 435 else *reloc_addr = (size_t)base + addend; in do_relocs() [all …]
|
/third_party/musl/ldso/ |
D | dynlink.c | 350 size_t *reloc_addr; in do_relocs() local 367 reloc_addr = laddr(dso, rel[0]); in do_relocs() 378 saved_addends[save_slot] = *reloc_addr; in do_relocs() 381 addend = *reloc_addr; in do_relocs() 425 addend -= (size_t)reloc_addr; 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() 435 *reloc_addr = (size_t)base + addend; in do_relocs() 438 if (sym) *reloc_addr = sym_val + addend; in do_relocs() 439 else *reloc_addr = (size_t)base + addend; in do_relocs() [all …]
|
/third_party/musl/ldso/linux/ |
D | dynlink.c | 1033 size_t *reloc_addr; in do_relocs() local 1050 reloc_addr = laddr(dso, rel[0]); in do_relocs() 1061 saved_addends[save_slot] = *reloc_addr; in do_relocs() 1064 addend = *reloc_addr; in do_relocs() 1126 addend -= (size_t)reloc_addr; 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() 1136 *reloc_addr = (size_t)base + addend; in do_relocs() 1139 if (sym) *reloc_addr = sym_val + addend; in do_relocs() 1140 else *reloc_addr = (size_t)base + addend; in do_relocs() [all …]
|
/third_party/musl/porting/linux/user/ldso/ |
D | dynlink.c | 1033 size_t *reloc_addr; in do_relocs() local 1050 reloc_addr = laddr(dso, rel[0]); in do_relocs() 1061 saved_addends[save_slot] = *reloc_addr; in do_relocs() 1064 addend = *reloc_addr; in do_relocs() 1126 addend -= (size_t)reloc_addr; 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() 1136 *reloc_addr = (size_t)base + addend; in do_relocs() 1139 if (sym) *reloc_addr = sym_val + addend; in do_relocs() 1140 else *reloc_addr = (size_t)base + addend; in do_relocs() [all …]
|