Home
last modified time | relevance | path

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

12

/external/elfutils/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.c76 dst->r_info = GELF_R_INFO (ELF32_R_SYM (src->r_info), in gelf_getrel()
77 ELF32_R_TYPE (src->r_info)); in gelf_getrel()
Dgelf_getrela.c76 dst->r_info = GELF_R_INFO (ELF32_R_SYM (src->r_info), in gelf_getrela()
77 ELF32_R_TYPE (src->r_info)); in gelf_getrela()
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.h525 Elf32_Word r_info; /* Relocation type and symbol index */ member
536 Elf64_Xword r_info; /* Relocation type and symbol index */ member
544 Elf32_Word r_info; /* Relocation type and symbol index */ member
551 Elf64_Xword r_info; /* Relocation type and symbol index */ member
/external/llvm/include/llvm/Support/
DELF.h896 Elf32_Word r_info; // Symbol table index and type of relocation to apply member
900 Elf32_Word getSymbol() const { return (r_info >> 8); } in getSymbol()
901 unsigned char getType() const { return (unsigned char) (r_info & 0x0ff); } in getType()
905 r_info = (s << 8) + t; in setSymbolAndType()
912 Elf32_Word r_info; // Symbol table index and type of relocation to apply member
917 Elf32_Word getSymbol() const { return (r_info >> 8); } in getSymbol()
918 unsigned char getType() const { return (unsigned char) (r_info & 0x0ff); } in getType()
922 r_info = (s << 8) + t; in setSymbolAndType()
929 Elf64_Xword r_info; // Symbol table index and type of relocation to apply. member
933 Elf64_Word getSymbol() const { return (r_info >> 32); } in getSymbol()
[all …]
/external/elfutils/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.c359 GElf_Addr r_offset, GElf_Xword r_info, GElf_Sxword r_addend) in show_relocs_x() argument
366 ebl_reloc_type_name (ebl, GELF_R_TYPE (r_info), buf, sizeof (buf))); in show_relocs_x()
370 GElf_Sym *sym = gelf_getsymshndx (symdata, xndxdata, GELF_R_SYM (r_info), in show_relocs_x()
375 gettext ("INVALID SYMBOL"), (long int) GELF_R_SYM (r_info)); in show_relocs_x()
428 rel->r_offset, rel->r_info, 0); in show_relocs_rel()
449 rel->r_offset, rel->r_info, rel->r_addend); in show_relocs_rela()
Dstrip.c1507 size_t symidx = GELF_R_SYM (rel_mem.r_info); in handle_elf()
1511 rel_mem.r_info in handle_elf()
1513 GELF_R_TYPE (rel_mem.r_info)); in handle_elf()
1526 size_t symidx = GELF_R_SYM (rel_mem.r_info); in handle_elf()
1530 rel_mem.r_info in handle_elf()
1532 GELF_R_TYPE (rel_mem.r_info)); in handle_elf()
1945 GELF_R_TYPE (r->r_info), in handle_elf()
1946 GELF_R_SYM (r->r_info))) in handle_elf()
1959 GELF_R_TYPE (r->r_info), in handle_elf()
1960 GELF_R_SYM (r->r_info))) in handle_elf()
Delfcmp.c782 if ((int) GELF_R_SYM (rel->r_info) == symndx in search_for_copy_reloc()
783 && ebl_copy_reloc_p (ebl, GELF_R_TYPE (rel->r_info))) in search_for_copy_reloc()
796 if ((int) GELF_R_SYM (rela->r_info) == symndx in search_for_copy_reloc()
797 && ebl_copy_reloc_p (ebl, GELF_R_TYPE (rela->r_info))) in search_for_copy_reloc()
Delflint.c1133 GELF_R_TYPE (rel->r_info))) in is_rel_dyn()
1186 GELF_R_TYPE (rela->r_info))) in is_rel_dyn()
1353 GElf_Addr r_offset, GElf_Xword r_info, in check_one_reloc() argument
1359 if (!ebl_reloc_type_check (ebl, GELF_R_TYPE (r_info))) in check_one_reloc()
1367 && !ebl_reloc_valid_use (ebl, GELF_R_TYPE (r_info))) in check_one_reloc()
1373 && ((GELF_R_SYM (r_info) + 1) in check_one_reloc()
1381 if (ebl_none_reloc_p (ebl, GELF_R_TYPE (r_info))) in check_one_reloc()
1384 if (ebl_gotpc_reloc_check (ebl, GELF_R_TYPE (r_info))) in check_one_reloc()
1389 GElf_Sym *sym = gelf_getsym (symdata, GELF_R_SYM (r_info), &sym_mem); in check_one_reloc()
1397 ebl_reloc_type_name (ebl, GELF_R_SYM (r_info), in check_one_reloc()
[all …]
Dreadelf.c1918 GELF_R_SYM (rel->r_info), in handle_relocs_rel()
1951 ebl_reloc_type_check (ebl, GELF_R_TYPE (rel->r_info)) in handle_relocs_rel()
1954 ? ebl_reloc_type_name (ebl, GELF_R_TYPE (rel->r_info), in handle_relocs_rel()
1962 ebl_reloc_type_check (ebl, GELF_R_TYPE (rel->r_info)) in handle_relocs_rel()
1965 ? ebl_reloc_type_name (ebl, GELF_R_TYPE (rel->r_info), in handle_relocs_rel()
1969 (long int) GELF_R_SYM (rel->r_info)); in handle_relocs_rel()
1975 GELF_R_TYPE (rel->r_info))) in handle_relocs_rel()
1978 ? ebl_reloc_type_name (ebl, GELF_R_TYPE (rel->r_info), in handle_relocs_rel()
1996 ebl_reloc_type_check (ebl, GELF_R_TYPE (rel->r_info)) in handle_relocs_rel()
1999 ? 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/llvm/include/llvm/Object/
DELFTypes.h330 Elf_Word r_info; // Symbol table index and type of relocation to apply
334 return r_info;
338 r_info = R;
371 Elf_Xword r_info; // Symbol table index and type of relocation to apply
374 uint64_t t = r_info;
385 r_info = (R >> 32) | ((R & 0xff000000) << 8) | ((R & 0x00ff0000) << 24) |
388 r_info = R;
/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/libdwfl/
Drelocate.c599 GELF_R_TYPE (r->r_info), in relocate_section()
600 GELF_R_SYM (r->r_info)); in relocate_section()
629 GELF_R_TYPE (r->r_info), in relocate_section()
630 GELF_R_SYM (r->r_info)); in relocate_section()
671 if (r->r_info != 0 || r->r_offset != 0) in relocate_section()
683 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.h388 RelA.r_info = R.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/valgrind/VEX/unused/
Dlinker.c438 Elf_Addr info = rtab[j].r_info; in do_Elf_Rel_relocations()
568 Elf_Addr info = rtab[j].r_info; in do_Elf_Rela_relocations()
/external/valgrind/VEX/switchback/
Dlinker.c534 Elf_Addr info = rtab[j].r_info;
667 Elf_Addr info = rtab[j].r_info;

12