Searched refs:d_tag (Results 1 – 3 of 3) sorted by relevance
/art/libelffile/elf/ |
D | elf_utils.h | 110 static inline bool IsDynamicSectionPointer(Elf32_Word d_tag, Elf32_Word e_machine) { in IsDynamicSectionPointer() argument 111 switch (d_tag) { in IsDynamicSectionPointer() 153 LOG(FATAL) << "Illegal d_tag value 0x" << std::hex << d_tag; in IsDynamicSectionPointer() 158 if ((DT_ENCODING < d_tag && d_tag < DT_LOOS) in IsDynamicSectionPointer() 159 || (DT_LOOS < d_tag && d_tag < DT_HIOS) in IsDynamicSectionPointer() 160 || (DT_LOPROC < d_tag && d_tag < DT_HIPROC)) { in IsDynamicSectionPointer() 163 switch (d_tag) { in IsDynamicSectionPointer() 185 LOG(FATAL) << "Unknown MIPS d_tag value 0x" << std::hex << d_tag; in IsDynamicSectionPointer() 189 } else if ((d_tag % 2) == 0) { in IsDynamicSectionPointer() 195 LOG(FATAL) << "Unknown d_tag value 0x" << std::hex << d_tag; in IsDynamicSectionPointer()
|
D | elf_builder.h | 749 { .d_tag = DT_HASH, .d_un = { .d_ptr = hash_.GetAddress() }, }, in PrepareDynamicSection() 750 { .d_tag = DT_STRTAB, .d_un = { .d_ptr = dynstr_.GetAddress() }, }, in PrepareDynamicSection() 751 { .d_tag = DT_SYMTAB, .d_un = { .d_ptr = dynsym_.GetAddress() }, }, in PrepareDynamicSection() 752 { .d_tag = DT_SYMENT, .d_un = { .d_ptr = sizeof(Elf_Sym) }, }, in PrepareDynamicSection() 753 { .d_tag = DT_STRSZ, .d_un = { .d_ptr = dynstr_.GetCacheSize() }, }, in PrepareDynamicSection() 754 { .d_tag = DT_SONAME, .d_un = { .d_ptr = soname_offset }, }, in PrepareDynamicSection() 755 { .d_tag = DT_NULL, .d_un = { .d_ptr = 0 }, }, in PrepareDynamicSection()
|
/art/runtime/ |
D | elf_file.cc | 967 if (dyn->d_tag == type) { in FindDynamicByType() 1288 switch (elf_dyn.d_tag) { in Load() 1563 Elf_Word d_tag = elf_dyn.d_tag; in FixupDynamic() local 1564 if (IsDynamicSectionPointer(d_tag, GetHeader().e_machine)) { in FixupDynamic()
|