Lines Matching refs:d_un
1104 action(fix_dt_needed(elf_reader.get_string(d->d_un.d_val), elf_reader.name())); in for_each_dt_needed()
1285 si->set_dt_runpath(elf_reader.get_string(d->d_un.d_val)); in load_library()
1288 si->set_soname(elf_reader.get_string(d->d_un.d_val)); in load_library()
1292 si->set_dt_flags_1(d->d_un.d_val); in load_library()
2887 d, reinterpret_cast<void*>(d->d_tag), reinterpret_cast<void*>(d->d_un.d_val)); in prelink_image()
2894 nbucket_ = reinterpret_cast<uint32_t*>(load_bias + d->d_un.d_ptr)[0]; in prelink_image()
2895 nchain_ = reinterpret_cast<uint32_t*>(load_bias + d->d_un.d_ptr)[1]; in prelink_image()
2896 bucket_ = reinterpret_cast<uint32_t*>(load_bias + d->d_un.d_ptr + 8); in prelink_image()
2897 chain_ = reinterpret_cast<uint32_t*>(load_bias + d->d_un.d_ptr + 8 + nbucket_ * 4); in prelink_image()
2901 gnu_nbucket_ = reinterpret_cast<uint32_t*>(load_bias + d->d_un.d_ptr)[0]; in prelink_image()
2903 gnu_maskwords_ = reinterpret_cast<uint32_t*>(load_bias + d->d_un.d_ptr)[2]; in prelink_image()
2904 gnu_shift2_ = reinterpret_cast<uint32_t*>(load_bias + d->d_un.d_ptr)[3]; in prelink_image()
2906 gnu_bloom_filter_ = reinterpret_cast<ElfW(Addr)*>(load_bias + d->d_un.d_ptr + 16); in prelink_image()
2910 reinterpret_cast<uint32_t*>(load_bias + d->d_un.d_ptr)[1]; in prelink_image()
2923 strtab_ = reinterpret_cast<const char*>(load_bias + d->d_un.d_ptr); in prelink_image()
2927 strtab_size_ = d->d_un.d_val; in prelink_image()
2931 symtab_ = reinterpret_cast<ElfW(Sym)*>(load_bias + d->d_un.d_ptr); in prelink_image()
2935 if (d->d_un.d_val != sizeof(ElfW(Sym))) { in prelink_image()
2937 static_cast<size_t>(d->d_un.d_val), get_realpath()); in prelink_image()
2944 if (d->d_un.d_val != DT_RELA) { in prelink_image()
2949 if (d->d_un.d_val != DT_REL) { in prelink_image()
2958 plt_rela_ = reinterpret_cast<ElfW(Rela)*>(load_bias + d->d_un.d_ptr); in prelink_image()
2960 plt_rel_ = reinterpret_cast<ElfW(Rel)*>(load_bias + d->d_un.d_ptr); in prelink_image()
2966 plt_rela_count_ = d->d_un.d_val / sizeof(ElfW(Rela)); in prelink_image()
2968 plt_rel_count_ = d->d_un.d_val / sizeof(ElfW(Rel)); in prelink_image()
2980 d->d_un.d_val = reinterpret_cast<uintptr_t>(&_r_debug); in prelink_image()
2985 rela_ = reinterpret_cast<ElfW(Rela)*>(load_bias + d->d_un.d_ptr); in prelink_image()
2989 rela_count_ = d->d_un.d_val / sizeof(ElfW(Rela)); in prelink_image()
2993 android_relocs_ = reinterpret_cast<uint8_t*>(load_bias + d->d_un.d_ptr); in prelink_image()
2997 android_relocs_size_ = d->d_un.d_val; in prelink_image()
3009 if (d->d_un.d_val != sizeof(ElfW(Rela))) { in prelink_image()
3010 DL_ERR("invalid DT_RELAENT: %zd", static_cast<size_t>(d->d_un.d_val)); in prelink_image()
3029 rel_ = reinterpret_cast<ElfW(Rel)*>(load_bias + d->d_un.d_ptr); in prelink_image()
3033 rel_count_ = d->d_un.d_val / sizeof(ElfW(Rel)); in prelink_image()
3037 if (d->d_un.d_val != sizeof(ElfW(Rel))) { in prelink_image()
3038 DL_ERR("invalid DT_RELENT: %zd", static_cast<size_t>(d->d_un.d_val)); in prelink_image()
3044 android_relocs_ = reinterpret_cast<uint8_t*>(load_bias + d->d_un.d_ptr); in prelink_image()
3048 android_relocs_size_ = d->d_un.d_val; in prelink_image()
3078 relr_ = reinterpret_cast<ElfW(Relr)*>(load_bias + d->d_un.d_ptr); in prelink_image()
3083 relr_count_ = d->d_un.d_val / sizeof(ElfW(Relr)); in prelink_image()
3088 if (d->d_un.d_val != sizeof(ElfW(Relr))) { in prelink_image()
3089 DL_ERR("invalid DT_RELRENT: %zd", static_cast<size_t>(d->d_un.d_val)); in prelink_image()
3100 init_func_ = reinterpret_cast<linker_ctor_function_t>(load_bias + d->d_un.d_ptr); in prelink_image()
3105 fini_func_ = reinterpret_cast<linker_dtor_function_t>(load_bias + d->d_un.d_ptr); in prelink_image()
3110 init_array_ = reinterpret_cast<linker_ctor_function_t*>(load_bias + d->d_un.d_ptr); in prelink_image()
3115 init_array_count_ = static_cast<uint32_t>(d->d_un.d_val) / sizeof(ElfW(Addr)); in prelink_image()
3119 fini_array_ = reinterpret_cast<linker_dtor_function_t*>(load_bias + d->d_un.d_ptr); in prelink_image()
3124 fini_array_count_ = static_cast<uint32_t>(d->d_un.d_val) / sizeof(ElfW(Addr)); in prelink_image()
3128 preinit_array_ = reinterpret_cast<linker_ctor_function_t*>(load_bias + d->d_un.d_ptr); in prelink_image()
3133 preinit_array_count_ = static_cast<uint32_t>(d->d_un.d_val) / sizeof(ElfW(Addr)); in prelink_image()
3154 if (d->d_un.d_val & DF_TEXTREL) { in prelink_image()
3162 if (d->d_un.d_val & DF_SYMBOLIC) { in prelink_image()
3168 set_dt_flags_1(d->d_un.d_val); in prelink_image()
3170 if ((d->d_un.d_val & ~SUPPORTED_DT_FLAGS_1) != 0) { in prelink_image()
3173 get_realpath(), reinterpret_cast<void*>(d->d_un.d_val)); in prelink_image()
3182 versym_ = reinterpret_cast<ElfW(Versym)*>(load_bias + d->d_un.d_ptr); in prelink_image()
3186 verdef_ptr_ = load_bias + d->d_un.d_ptr; in prelink_image()
3189 verdef_cnt_ = d->d_un.d_val; in prelink_image()
3193 verneed_ptr_ = load_bias + d->d_un.d_ptr; in prelink_image()
3197 verneed_cnt_ = d->d_un.d_val; in prelink_image()
3218 memtag_dynamic_entries_.memtag_mode = d->d_un.d_val; in prelink_image()
3221 memtag_dynamic_entries_.memtag_heap = d->d_un.d_val; in prelink_image()
3232 memtag_dynamic_entries_.memtag_stack = d->d_un.d_val; in prelink_image()
3238 memtag_dynamic_entries_.memtag_globals = reinterpret_cast<void*>(load_bias + d->d_un.d_ptr); in prelink_image()
3241 memtag_dynamic_entries_.memtag_globalssz = d->d_un.d_val; in prelink_image()
3263 reinterpret_cast<void*>(d->d_un.d_val)); in prelink_image()
3297 set_soname(get_string(d->d_un.d_val)); in prelink_image()
3300 set_dt_runpath(get_string(d->d_un.d_val)); in prelink_image()