Home
last modified time | relevance | path

Searched refs:r_info (Results 1 – 25 of 31) 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/src/libelf/
Dgelf_update_rel.c67 || unlikely (GELF_R_SYM (src->r_info) > 0xffffff) in gelf_update_rel()
68 || unlikely (GELF_R_TYPE (src->r_info) > 0xff)) in gelf_update_rel()
84 rel->r_info = ELF32_R_INFO (GELF_R_SYM (src->r_info), in gelf_update_rel()
85 GELF_R_TYPE (src->r_info)); in gelf_update_rel()
Dgelf_update_rela.c67 || unlikely (GELF_R_SYM (src->r_info) > 0xffffff) in gelf_update_rela()
68 || unlikely (GELF_R_TYPE (src->r_info) > 0xff) in gelf_update_rela()
86 rel->r_info = ELF32_R_INFO (GELF_R_SYM (src->r_info), in gelf_update_rela()
87 GELF_R_TYPE (src->r_info)); in gelf_update_rela()
Dgelf_getrel.c79 dst->r_info = GELF_R_INFO (ELF32_R_SYM (src->r_info),
80 ELF32_R_TYPE (src->r_info));
Dgelf_getrela.c79 dst->r_info = GELF_R_INFO (ELF32_R_SYM (src->r_info),
80 ELF32_R_TYPE (src->r_info));
Dabstract.h139 TYPE_NAME (ElfW2(32, Ext##Word), r_info) \
144 TYPE_NAME (ElfW2(64, Ext##Xword), r_info) \
150 TYPE_NAME (ElfW2(32, Ext##Word), r_info) \
156 TYPE_NAME (ElfW2(64, Ext##Xword), r_info) \
Delf.h499 Elf32_Word r_info; /* Relocation type and symbol index */ member
510 Elf64_Xword r_info; /* Relocation type and symbol index */ member
518 Elf32_Word r_info; /* Relocation type and symbol index */ member
525 Elf64_Xword r_info; /* Relocation type and symbol index */ member
/external/llvm/include/llvm/Support/
DELF.h827 Elf32_Word r_info; // Symbol table index and type of relocation to apply member
831 Elf32_Word getSymbol() const { return (r_info >> 8); } in getSymbol()
832 unsigned char getType() const { return (unsigned char) (r_info & 0x0ff); } in getType()
836 r_info = (s << 8) + t; in setSymbolAndType()
843 Elf32_Word r_info; // Symbol table index and type of relocation to apply member
848 Elf32_Word getSymbol() const { return (r_info >> 8); } in getSymbol()
849 unsigned char getType() const { return (unsigned char) (r_info & 0x0ff); } in getType()
853 r_info = (s << 8) + t; in setSymbolAndType()
860 Elf64_Xword r_info; // Symbol table index and type of relocation to apply. member
864 Elf64_Word getSymbol() const { return (r_info >> 32); } in getSymbol()
[all …]
/external/llvm/include/llvm/Object/
DELFTypes.h307 Elf_Word r_info; // Symbol table index and type of relocation to apply
311 return r_info;
315 r_info = R;
323 Elf_Xword r_info; // Symbol table index and type of relocation to apply
326 uint64_t t = r_info;
337 r_info = (R >> 32) | ((R & 0xff000000) << 8) | ((R & 0x00ff0000) << 24) |
340 r_info = R;
348 Elf_Word r_info; // Symbol table index and type of relocation to apply
353 return r_info;
357 r_info = R;
[all …]
/external/elfutils/src/src/
Di386_ld.c124 si = symindirect[XELF_R_SYM (rel->r_info)]; in elf_i386_relocate_section()
129 assert (symref[XELF_R_SYM (rel->r_info)] != NULL); in elf_i386_relocate_section()
130 si = symref[XELF_R_SYM (rel->r_info)]->outsymidx; in elf_i386_relocate_section()
137 xelf_getsymshndx (insymdata, inxndxdata, XELF_R_SYM (rel->r_info), in elf_i386_relocate_section()
155 assert (XELF_R_TYPE (rel->r_info) == R_386_32); in elf_i386_relocate_section()
172 rel->r_info = XELF_R_INFO (si, XELF_R_TYPE (rel->r_info)); in elf_i386_relocate_section()
508 rel->r_info = XELF_R_INFO (ndxtosym[idx]->outdynsymidx, R_386_JMP_SLOT); in elf_i386_finalize_plt()
546 Elf32_Word r_sym = XELF_R_SYM (rel->r_info); in elf_i386_count_relocations()
554 switch (XELF_R_TYPE (rel->r_info)) in elf_i386_count_relocations()
605 && XELF_R_TYPE (rel->r_info) == R_386_32) in elf_i386_count_relocations()
[all …]
Dobjdump.c363 GElf_Addr r_offset, GElf_Xword r_info, GElf_Sxword r_addend) in show_relocs_x() argument
370 ebl_reloc_type_name (ebl, GELF_R_TYPE (r_info), buf, sizeof (buf))); in show_relocs_x()
374 GElf_Sym *sym = gelf_getsymshndx (symdata, xndxdata, GELF_R_SYM (r_info), in show_relocs_x()
379 gettext ("INVALID SYMBOL"), (long int) GELF_R_SYM (r_info)); in show_relocs_x()
432 rel->r_offset, rel->r_info, 0); in show_relocs_rel()
453 rel->r_offset, rel->r_info, rel->r_addend); in show_relocs_rela()
Dstrip.c1436 size_t symidx = GELF_R_SYM (rel_mem.r_info); in handle_elf()
1439 rel_mem.r_info in handle_elf()
1441 GELF_R_TYPE (rel_mem.r_info)); in handle_elf()
1454 size_t symidx = GELF_R_SYM (rel_mem.r_info); in handle_elf()
1457 rel_mem.r_info in handle_elf()
1459 GELF_R_TYPE (rel_mem.r_info)); in handle_elf()
1837 GELF_R_TYPE (r->r_info), in handle_elf()
1838 GELF_R_SYM (r->r_info))) in handle_elf()
1851 GELF_R_TYPE (r->r_info), in handle_elf()
1852 GELF_R_SYM (r->r_info))) in handle_elf()
Delfcmp.c773 if ((int) GELF_R_SYM (rel->r_info) == symndx in search_for_copy_reloc()
774 && ebl_copy_reloc_p (ebl, GELF_R_TYPE (rel->r_info))) in search_for_copy_reloc()
787 if ((int) GELF_R_SYM (rela->r_info) == symndx in search_for_copy_reloc()
788 && ebl_copy_reloc_p (ebl, GELF_R_TYPE (rela->r_info))) in search_for_copy_reloc()
Delflint.c1115 GELF_R_TYPE (rel->r_info))) in is_rel_dyn()
1167 GELF_R_TYPE (rela->r_info))) in is_rel_dyn()
1333 GElf_Addr r_offset, GElf_Xword r_info, in check_one_reloc() argument
1339 if (!ebl_reloc_type_check (ebl, GELF_R_TYPE (r_info))) in check_one_reloc()
1347 && !ebl_reloc_valid_use (ebl, GELF_R_TYPE (r_info))) in check_one_reloc()
1353 && ((GELF_R_SYM (r_info) + 1) in check_one_reloc()
1361 if (ebl_none_reloc_p (ebl, GELF_R_TYPE (r_info))) in check_one_reloc()
1364 if (ebl_gotpc_reloc_check (ebl, GELF_R_TYPE (r_info))) in check_one_reloc()
1369 GElf_Sym *sym = gelf_getsym (symdata, GELF_R_SYM (r_info), &sym_mem); in check_one_reloc()
1377 ebl_reloc_type_name (ebl, GELF_R_SYM (r_info), in check_one_reloc()
[all …]
Dreadelf.c1830 GELF_R_SYM (rel->r_info), in handle_relocs_rel()
1863 ebl_reloc_type_check (ebl, GELF_R_TYPE (rel->r_info)) in handle_relocs_rel()
1866 ? ebl_reloc_type_name (ebl, GELF_R_TYPE (rel->r_info), in handle_relocs_rel()
1874 ebl_reloc_type_check (ebl, GELF_R_TYPE (rel->r_info)) in handle_relocs_rel()
1877 ? ebl_reloc_type_name (ebl, GELF_R_TYPE (rel->r_info), in handle_relocs_rel()
1881 (long int) GELF_R_SYM (rel->r_info)); in handle_relocs_rel()
1887 GELF_R_TYPE (rel->r_info))) in handle_relocs_rel()
1890 ? ebl_reloc_type_name (ebl, GELF_R_TYPE (rel->r_info), in handle_relocs_rel()
1908 ebl_reloc_type_check (ebl, GELF_R_TYPE (rel->r_info)) in handle_relocs_rel()
1911 ? ebl_reloc_type_name (ebl, GELF_R_TYPE (rel->r_info), in handle_relocs_rel()
[all …]
/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/src/libdwfl/
Drelocate.c518 GELF_R_TYPE (r->r_info), in relocate_section()
519 GELF_R_SYM (r->r_info)); in relocate_section()
547 GELF_R_TYPE (r->r_info), in relocate_section()
548 GELF_R_SYM (r->r_info)); in relocate_section()
589 if (r->r_info != 0 || r->r_offset != 0) in relocate_section()
601 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)
/external/llvm/tools/llvm-readobj/
DARMEHABIPrinter.h377 RelA.r_info = RI->r_info; in FindExceptionTable()
/external/ltrace/sysdeps/linux-gnu/mips/
Dplt.c160 return gelf_getsym(lte->dynsym, ELF64_R_SYM(rela->r_info), in arch_get_sym_info()
/external/ltrace/
Dltrace-elf.c469 rela->r_info = rel->r_info; in rel_to_rela()
718 ELF64_R_SYM(rela->r_info), sym) != NULL ? 0 : -1; in arch_get_sym_info()
/external/ltrace/sysdeps/linux-gnu/ppc/
Dplt.c231 irelative = GELF_R_TYPE(rela->r_info) == R_PPC64_JMP_IREL; in reloc_is_irelative()
236 irelative = GELF_R_TYPE(rela->r_info) == R_PPC_IRELATIVE; in reloc_is_irelative()
/external/linux-tools-perf/src/tools/perf/util/
Dsymbol-elf.c260 symidx = GELF_R_SYM(pos->r_info); in dso__synthesize_plt_symbols()
282 symidx = GELF_R_SYM(pos->r_info); in dso__synthesize_plt_symbols()

12