• Home
  • Raw
  • Download

Lines Matching refs:d_un

1666       action(fix_dt_needed(si->get_string(d->d_un.d_val), si->get_realpath()));  in for_each_dt_needed()
1675 action(fix_dt_needed(elf_reader.get_string(d->d_un.d_val), elf_reader.name())); in for_each_dt_needed()
1801 si->set_dt_runpath(elf_reader.get_string(d->d_un.d_val)); in load_library()
1804 si->set_soname(elf_reader.get_string(d->d_un.d_val)); in load_library()
3505 d, reinterpret_cast<void*>(d->d_tag), reinterpret_cast<void*>(d->d_un.d_val)); in prelink_image()
3512 nbucket_ = reinterpret_cast<uint32_t*>(load_bias + d->d_un.d_ptr)[0]; in prelink_image()
3513 nchain_ = reinterpret_cast<uint32_t*>(load_bias + d->d_un.d_ptr)[1]; in prelink_image()
3514 bucket_ = reinterpret_cast<uint32_t*>(load_bias + d->d_un.d_ptr + 8); in prelink_image()
3515 chain_ = reinterpret_cast<uint32_t*>(load_bias + d->d_un.d_ptr + 8 + nbucket_ * 4); in prelink_image()
3519 gnu_nbucket_ = reinterpret_cast<uint32_t*>(load_bias + d->d_un.d_ptr)[0]; in prelink_image()
3521 gnu_maskwords_ = reinterpret_cast<uint32_t*>(load_bias + d->d_un.d_ptr)[2]; in prelink_image()
3522 gnu_shift2_ = reinterpret_cast<uint32_t*>(load_bias + d->d_un.d_ptr)[3]; in prelink_image()
3524 gnu_bloom_filter_ = reinterpret_cast<ElfW(Addr)*>(load_bias + d->d_un.d_ptr + 16); in prelink_image()
3528 reinterpret_cast<uint32_t*>(load_bias + d->d_un.d_ptr)[1]; in prelink_image()
3541 strtab_ = reinterpret_cast<const char*>(load_bias + d->d_un.d_ptr); in prelink_image()
3545 strtab_size_ = d->d_un.d_val; in prelink_image()
3549 symtab_ = reinterpret_cast<ElfW(Sym)*>(load_bias + d->d_un.d_ptr); in prelink_image()
3553 if (d->d_un.d_val != sizeof(ElfW(Sym))) { in prelink_image()
3555 static_cast<size_t>(d->d_un.d_val), get_realpath()); in prelink_image()
3562 if (d->d_un.d_val != DT_RELA) { in prelink_image()
3567 if (d->d_un.d_val != DT_REL) { in prelink_image()
3576 plt_rela_ = reinterpret_cast<ElfW(Rela)*>(load_bias + d->d_un.d_ptr); in prelink_image()
3578 plt_rel_ = reinterpret_cast<ElfW(Rel)*>(load_bias + d->d_un.d_ptr); in prelink_image()
3584 plt_rela_count_ = d->d_un.d_val / sizeof(ElfW(Rela)); in prelink_image()
3586 plt_rel_count_ = d->d_un.d_val / sizeof(ElfW(Rel)); in prelink_image()
3593 plt_got_ = reinterpret_cast<ElfW(Addr)**>(load_bias + d->d_un.d_ptr); in prelink_image()
3607 d->d_un.d_val = reinterpret_cast<uintptr_t>(&_r_debug); in prelink_image()
3613 rela_ = reinterpret_cast<ElfW(Rela)*>(load_bias + d->d_un.d_ptr); in prelink_image()
3617 rela_count_ = d->d_un.d_val / sizeof(ElfW(Rela)); in prelink_image()
3621 android_relocs_ = reinterpret_cast<uint8_t*>(load_bias + d->d_un.d_ptr); in prelink_image()
3625 android_relocs_size_ = d->d_un.d_val; in prelink_image()
3637 if (d->d_un.d_val != sizeof(ElfW(Rela))) { in prelink_image()
3638 DL_ERR("invalid DT_RELAENT: %zd", static_cast<size_t>(d->d_un.d_val)); in prelink_image()
3657 rel_ = reinterpret_cast<ElfW(Rel)*>(load_bias + d->d_un.d_ptr); in prelink_image()
3661 rel_count_ = d->d_un.d_val / sizeof(ElfW(Rel)); in prelink_image()
3665 if (d->d_un.d_val != sizeof(ElfW(Rel))) { in prelink_image()
3666 DL_ERR("invalid DT_RELENT: %zd", static_cast<size_t>(d->d_un.d_val)); in prelink_image()
3672 android_relocs_ = reinterpret_cast<uint8_t*>(load_bias + d->d_un.d_ptr); in prelink_image()
3676 android_relocs_size_ = d->d_un.d_val; in prelink_image()
3705 init_func_ = reinterpret_cast<linker_function_t>(load_bias + d->d_un.d_ptr); in prelink_image()
3710 fini_func_ = reinterpret_cast<linker_function_t>(load_bias + d->d_un.d_ptr); in prelink_image()
3715 init_array_ = reinterpret_cast<linker_function_t*>(load_bias + d->d_un.d_ptr); in prelink_image()
3720 init_array_count_ = static_cast<uint32_t>(d->d_un.d_val) / sizeof(ElfW(Addr)); in prelink_image()
3724 fini_array_ = reinterpret_cast<linker_function_t*>(load_bias + d->d_un.d_ptr); in prelink_image()
3729 fini_array_count_ = static_cast<uint32_t>(d->d_un.d_val) / sizeof(ElfW(Addr)); in prelink_image()
3733 preinit_array_ = reinterpret_cast<linker_function_t*>(load_bias + d->d_un.d_ptr); in prelink_image()
3738 preinit_array_count_ = static_cast<uint32_t>(d->d_un.d_val) / sizeof(ElfW(Addr)); in prelink_image()
3759 if (d->d_un.d_val & DF_TEXTREL) { in prelink_image()
3767 if (d->d_un.d_val & DF_SYMBOLIC) { in prelink_image()
3773 set_dt_flags_1(d->d_un.d_val); in prelink_image()
3775 if ((d->d_un.d_val & ~SUPPORTED_DT_FLAGS_1) != 0) { in prelink_image()
3776 …ARN("%s: unsupported flags DT_FLAGS_1=%p", get_realpath(), reinterpret_cast<void*>(d->d_un.d_val)); in prelink_image()
3783 r_debug** dp = reinterpret_cast<r_debug**>(load_bias + d->d_un.d_ptr); in prelink_image()
3791 reinterpret_cast<ElfW(Addr)>(d) + d->d_un.d_val); in prelink_image()
3803 mips_symtabno_ = d->d_un.d_val; in prelink_image()
3807 mips_local_gotno_ = d->d_un.d_val; in prelink_image()
3811 mips_gotsym_ = d->d_un.d_val; in prelink_image()
3819 versym_ = reinterpret_cast<ElfW(Versym)*>(load_bias + d->d_un.d_ptr); in prelink_image()
3823 verdef_ptr_ = load_bias + d->d_un.d_ptr; in prelink_image()
3826 verdef_cnt_ = d->d_un.d_val; in prelink_image()
3830 verneed_ptr_ = load_bias + d->d_un.d_ptr; in prelink_image()
3834 verneed_cnt_ = d->d_un.d_val; in prelink_image()
3844 reinterpret_cast<void*>(d->d_tag), reinterpret_cast<void*>(d->d_un.d_val)); in prelink_image()
3882 set_soname(get_string(d->d_un.d_val)); in prelink_image()
3885 set_dt_runpath(get_string(d->d_un.d_val)); in prelink_image()