Home
last modified time | relevance | path

Searched refs:r_info (Results 1 – 25 of 44) sorted by relevance

12

/external/lldb/source/Plugins/ObjectFile/ELF/
DELFHeader.h320 elf_xword r_info; ///< symbol index and type of relocation. member
345 return rel.r_info & 0x0ff; in RelocType32()
352 return rel.r_info & 0xffffffff; in RelocType64()
360 return rel.r_info >> 8; in RelocSymbol32()
368 return rel.r_info >> 32; in RelocSymbol64()
378 elf_xword r_info; ///< Symbol index and type of relocation. member
404 return rela.r_info & 0x0ff; in RelocType32()
411 return rela.r_info & 0xffffffff; in RelocType64()
419 return rela.r_info >> 8; in RelocSymbol32()
427 return rela.r_info >> 32; in RelocSymbol64()
/external/elfutils/0.153/libelf/
Dgelf_update_rel.c94 || unlikely (GELF_R_SYM (src->r_info) > 0xffffff) in gelf_update_rel()
95 || unlikely (GELF_R_TYPE (src->r_info) > 0xff)) in gelf_update_rel()
111 rel->r_info = ELF32_R_INFO (GELF_R_SYM (src->r_info), in gelf_update_rel()
112 GELF_R_TYPE (src->r_info)); in gelf_update_rel()
Dgelf_update_rela.c94 || unlikely (GELF_R_SYM (src->r_info) > 0xffffff) in gelf_update_rela()
95 || unlikely (GELF_R_TYPE (src->r_info) > 0xff) in gelf_update_rela()
113 rel->r_info = ELF32_R_INFO (GELF_R_SYM (src->r_info), in gelf_update_rela()
114 GELF_R_TYPE (src->r_info)); in gelf_update_rela()
Dgelf_getrel.c106 dst->r_info = GELF_R_INFO (ELF32_R_SYM (src->r_info),
107 ELF32_R_TYPE (src->r_info));
Dgelf_getrela.c106 dst->r_info = GELF_R_INFO (ELF32_R_SYM (src->r_info),
107 ELF32_R_TYPE (src->r_info));
Dabstract.h160 TYPE_NAME (ElfW2(32, Ext##Word), r_info) \
165 TYPE_NAME (ElfW2(64, Ext##Xword), r_info) \
171 TYPE_NAME (ElfW2(32, Ext##Word), r_info) \
177 TYPE_NAME (ElfW2(64, Ext##Xword), r_info) \
/external/elfutils/0.153/src/
Di386_ld.c132 si = symindirect[XELF_R_SYM (rel->r_info)]; in elf_i386_relocate_section()
137 assert (symref[XELF_R_SYM (rel->r_info)] != NULL); in elf_i386_relocate_section()
138 si = symref[XELF_R_SYM (rel->r_info)]->outsymidx; in elf_i386_relocate_section()
145 xelf_getsymshndx (insymdata, inxndxdata, XELF_R_SYM (rel->r_info), in elf_i386_relocate_section()
163 assert (XELF_R_TYPE (rel->r_info) == R_386_32); in elf_i386_relocate_section()
180 rel->r_info = XELF_R_INFO (si, XELF_R_TYPE (rel->r_info)); in elf_i386_relocate_section()
516 rel->r_info = XELF_R_INFO (ndxtosym[idx]->outdynsymidx, R_386_JMP_SLOT); in elf_i386_finalize_plt()
554 Elf32_Word r_sym = XELF_R_SYM (rel->r_info); in elf_i386_count_relocations()
562 switch (XELF_R_TYPE (rel->r_info)) in elf_i386_count_relocations()
613 && XELF_R_TYPE (rel->r_info) == R_386_32) in elf_i386_count_relocations()
[all …]
Dobjdump.c371 GElf_Addr r_offset, GElf_Xword r_info, GElf_Sxword r_addend) in show_relocs_x() argument
378 ebl_reloc_type_name (ebl, GELF_R_TYPE (r_info), buf, sizeof (buf))); in show_relocs_x()
382 GElf_Sym *sym = gelf_getsymshndx (symdata, xndxdata, GELF_R_SYM (r_info), in show_relocs_x()
387 gettext ("INVALID SYMBOL"), (long int) GELF_R_SYM (r_info)); in show_relocs_x()
439 rel->r_offset, rel->r_info, 0); in show_relocs_rel()
459 rel->r_offset, rel->r_info, rel->r_addend); in show_relocs_rela()
/external/llvm/include/llvm/Object/
DELFTypes.h295 Elf_Word r_info; // Symbol table index and type of relocation to apply
299 return r_info;
301 void setRInfo(uint32_t R) { r_info = R; }
308 Elf_Xword r_info; // Symbol table index and type of relocation to apply
311 uint64_t t = r_info;
322 r_info = R;
330 Elf_Word r_info; // Symbol table index and type of relocation to apply
335 return r_info;
337 void setRInfo(uint32_t R) { r_info = R; }
344 Elf_Xword r_info; // Symbol table index and type of relocation to apply
[all …]
/external/chromium_org/tools/relocation_packer/src/
Dpacker_unittest.cc17 relocation.r_info = ELF_R_INFO(0, ELF::kRelativeRelocationCode); in AddRelocation()
23 ELF_R_SYM(relocation.r_info) == 0 && in CheckRelocation()
24 ELF_R_TYPE(relocation.r_info) == ELF::kRelativeRelocationCode; in CheckRelocation()
32 relocation.r_info = ELF_R_INFO(0, ELF::kRelativeRelocationCode); in AddRelocation()
41 ELF_R_SYM(relocation.r_info) == 0 && in CheckRelocation()
42 ELF_R_TYPE(relocation.r_info) == ELF::kRelativeRelocationCode && in CheckRelocation()
Drun_length_encoder.cc24 CHECK(ELF_R_TYPE(first->r_info) == ELF::kRelativeRelocationCode); in GetDeltas()
27 CHECK(ELF_R_TYPE(second->r_info) == ELF::kRelativeRelocationCode); in GetDeltas()
75 initial.r_info = ELF_R_INFO(0, ELF::kRelativeRelocationCode); in Uncondense()
90 relocation.r_info = ELF_R_INFO(0, ELF::kRelativeRelocationCode); in Uncondense()
Drun_length_encoder_unittest.cc17 relocation.r_info = ELF_R_INFO(0, ELF::kRelativeRelocationCode); in AddRelocation()
23 ELF_R_SYM(relocation.r_info) == 0 && in CheckRelocation()
24 ELF_R_TYPE(relocation.r_info) == ELF::kRelativeRelocationCode; in CheckRelocation()
Ddelta_encoder_unittest.cc19 relocation.r_info = ELF_R_INFO(0, ELF::kRelativeRelocationCode); in AddRelocation()
28 ELF_R_SYM(relocation.r_info) == 0 && in CheckRelocation()
29 ELF_R_TYPE(relocation.r_info) == ELF::kRelativeRelocationCode && in CheckRelocation()
Ddelta_encoder.cc31 CHECK(ELF_R_TYPE(relocation->r_info) == ELF::kRelativeRelocationCode); in Encode()
66 relocation.r_info = ELF_R_INFO(0, ELF::kRelativeRelocationCode); in Decode()
/external/chromium_org/third_party/android_crazy_linker/src/src/
Dcrazy_linker_elf_relocations.cpp381 relocation.r_info = ELF_R_INFO(0, RELATIVE_RELOCATION_CODE); in ApplyPackedRel()
431 relocation.r_info = ELF_R_INFO(0, RELATIVE_RELOCATION_CODE); in ApplyPackedRela()
472 const ELF::Word rela_type = ELF_R_TYPE(rela->r_info); in ApplyRelaReloc()
473 const ELF::Word CRAZY_UNUSED rela_symbol = ELF_R_SYM(rela->r_info); in ApplyRelaReloc()
567 const ELF::Word rel_type = ELF_R_TYPE(rel->r_info); in ApplyRelReloc()
568 const ELF::Word CRAZY_UNUSED rel_symbol = ELF_R_SYM(rel->r_info); in ApplyRelReloc()
735 const ELF::Word rel_type = ELF_R_TYPE(rel->r_info); in ApplyRelRelocs()
736 const ELF::Word rel_symbol = ELF_R_SYM(rel->r_info); in ApplyRelRelocs()
785 const ELF::Word rel_type = ELF_R_TYPE(rela->r_info); in ApplyRelaRelocs()
786 const ELF::Word rel_symbol = ELF_R_SYM(rela->r_info); in ApplyRelaRelocs()
[all …]
/external/llvm/include/llvm/Support/
DELF.h1496 Elf32_Word r_info; // Symbol table index and type of relocation to apply member
1500 Elf32_Word getSymbol() const { return (r_info >> 8); } in getSymbol()
1501 unsigned char getType() const { return (unsigned char) (r_info & 0x0ff); } in getType()
1505 r_info = (s << 8) + t; in setSymbolAndType()
1512 Elf32_Word r_info; // Symbol table index and type of relocation to apply member
1517 Elf32_Word getSymbol() const { return (r_info >> 8); } in getSymbol()
1518 unsigned char getType() const { return (unsigned char) (r_info & 0x0ff); } in getType()
1522 r_info = (s << 8) + t; in setSymbolAndType()
1529 Elf64_Xword r_info; // Symbol table index and type of relocation to apply. member
1533 Elf64_Word getSymbol() const { return (r_info >> 32); } in getSymbol()
[all …]
/external/chromium_org/courgette/
Ddisassembler_elf_32_x86.cc29 (elf32_rel_386_type_values)(unsigned char)rel.r_info; in RelToRVA()
32 uint32 symbol = rel.r_info >> 8; in RelToRVA()
100 if (section_relocs_iter->r_info != R_386_RELATIVE || in ParseRelocationSection()
Dtypes_elf.h120 Elf32_Word r_info; member
125 Elf32_Word r_info; member
Ddisassembler_elf_32_arm.cc276 (elf32_rel_arm_type_values)(unsigned char)rel.r_info; in RelToRVA()
279 uint32 symbol = rel.r_info >> 8; in RelToRVA()
346 if (section_relocs_iter->r_info != R_ARM_RELATIVE || in ParseRelocationSection()
/external/chromium_org/third_party/libvpx/include/
Delf.h182 Elf32_Word r_info; member
187 Elf64_Xword r_info; member
192 Elf32_Word r_info; member
198 Elf64_Xword r_info; member
/external/kernel-headers/original/uapi/linux/
Delf.h162 Elf32_Word r_info; member
167 Elf64_Xword r_info; /* index and type of relocation */ member
172 Elf32_Word r_info; member
178 Elf64_Xword r_info; /* index and type of relocation */ member
/external/ltrace/sysdeps/linux-gnu/x86/
Dplt.c59 irelative = GELF_R_TYPE(rela->r_info) == R_X86_64_IRELATIVE; in arch_elf_add_plt_entry()
64 irelative = GELF_R_TYPE(rela->r_info) == R_386_IRELATIVE; in arch_elf_add_plt_entry()
/external/elfutils/0.153/libdwfl/
Drelocate.c490 GELF_R_TYPE (r->r_info), in relocate_section()
491 GELF_R_SYM (r->r_info)); in relocate_section()
519 GELF_R_TYPE (r->r_info), in relocate_section()
520 GELF_R_SYM (r->r_info)); in relocate_section()
561 if (r->r_info != 0 || r->r_offset != 0) in relocate_section()
573 if (r->r_info != 0 || r->r_offset != 0 || r->r_addend != 0) in relocate_section()
/external/ltrace/sysdeps/linux-gnu/s390/
Dplt.c47 bool irelative = GELF_R_TYPE(rela->r_info) == R_390_IRELATIVE; in arch_elf_add_plt_entry()
/external/llvm/test/tools/llvm-readobj/Inputs/
Drelocs.py200 r_info = f.word()
204 r_info = (r_info & 0xFFFFFFFF00000000) | (r_type & 0xFFFFFFFF)
206 r_info = (r_info & 0xFF00) | (r_type & 0xFF)
210 f.writeWord(r_info)

12