Home
last modified time | relevance | path

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

/external/elfutils/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) \
Delf.h501 Elf32_Word r_info; /* Relocation type and symbol index */ member
512 Elf64_Xword r_info; /* Relocation type and symbol index */ member
520 Elf32_Word r_info; /* Relocation type and symbol index */ member
527 Elf64_Xword r_info; /* Relocation type and symbol index */ member
/external/elfutils/src/
Dobjdump.c381 sym = gelf_getsymshndx (symdata, xndxdata, GELF_R_SYM (rel->r_info), in show_relocs_rel()
386 ebl_reloc_type_check (ebl, GELF_R_TYPE (rel->r_info)) in show_relocs_rel()
387 ? ebl_reloc_type_name (ebl, GELF_R_TYPE (rel->r_info), in show_relocs_rel()
391 (long int) GELF_R_SYM (rel->r_info)); in show_relocs_rel()
395 ebl_reloc_type_check (ebl, GELF_R_TYPE (rel->r_info)) in show_relocs_rel()
396 ? ebl_reloc_type_name (ebl, GELF_R_TYPE (rel->r_info), in show_relocs_rel()
412 ebl_reloc_type_check (ebl, GELF_R_TYPE (rel->r_info)) in show_relocs_rel()
413 ? ebl_reloc_type_name (ebl, GELF_R_TYPE (rel->r_info), in show_relocs_rel()
422 ebl_reloc_type_check (ebl, GELF_R_TYPE (rel->r_info)) in show_relocs_rel()
423 ? ebl_reloc_type_name (ebl, GELF_R_TYPE (rel->r_info), in show_relocs_rel()
[all …]
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 …]
Delfcmp.c623 if ((int) GELF_R_SYM (rel->r_info) == symndx in search_for_copy_reloc()
624 && ebl_copy_reloc_p (ebl, GELF_R_TYPE (rel->r_info))) in search_for_copy_reloc()
637 if ((int) GELF_R_SYM (rela->r_info) == symndx in search_for_copy_reloc()
638 && ebl_copy_reloc_p (ebl, GELF_R_TYPE (rela->r_info))) in search_for_copy_reloc()
Delflint.c1053 GELF_R_TYPE (rel->r_info))) in is_rel_dyn()
1105 GELF_R_TYPE (rela->r_info))) in is_rel_dyn()
1271 GElf_Addr r_offset, GElf_Xword r_info, in check_one_reloc() argument
1277 if (!ebl_reloc_type_check (ebl, GELF_R_TYPE (r_info))) in check_one_reloc()
1285 && !ebl_reloc_valid_use (ebl, GELF_R_TYPE (r_info))) in check_one_reloc()
1291 && ((GELF_R_SYM (r_info) + 1) in check_one_reloc()
1299 if (ebl_none_reloc_p (ebl, GELF_R_TYPE (r_info))) in check_one_reloc()
1302 if (ebl_gotpc_reloc_check (ebl, GELF_R_TYPE (r_info))) in check_one_reloc()
1307 GElf_Sym *sym = gelf_getsym (symdata, GELF_R_SYM (r_info), &sym_mem); in check_one_reloc()
1315 ebl_reloc_type_name (ebl, GELF_R_SYM (r_info), in check_one_reloc()
[all …]
Dreadelf.c1538 GELF_R_SYM (rel->r_info), in handle_relocs_rel()
1543 ebl_reloc_type_check (ebl, GELF_R_TYPE (rel->r_info)) in handle_relocs_rel()
1546 ? ebl_reloc_type_name (ebl, GELF_R_TYPE (rel->r_info), in handle_relocs_rel()
1550 (long int) GELF_R_SYM (rel->r_info)); in handle_relocs_rel()
1555 GELF_R_TYPE (rel->r_info))) in handle_relocs_rel()
1558 ? ebl_reloc_type_name (ebl, GELF_R_TYPE (rel->r_info), in handle_relocs_rel()
1573 ebl_reloc_type_check (ebl, GELF_R_TYPE (rel->r_info)) in handle_relocs_rel()
1576 ? ebl_reloc_type_name (ebl, GELF_R_TYPE (rel->r_info), in handle_relocs_rel()
1585 ebl_reloc_type_check (ebl, GELF_R_TYPE (rel->r_info)) in handle_relocs_rel()
1588 ? ebl_reloc_type_name (ebl, GELF_R_TYPE (rel->r_info), in handle_relocs_rel()
[all …]
Dstrip.c1357 size_t symidx = GELF_R_SYM (rel_mem.r_info); in handle_elf()
1360 rel_mem.r_info in handle_elf()
1362 GELF_R_TYPE (rel_mem.r_info)); in handle_elf()
1375 size_t symidx = GELF_R_SYM (rel_mem.r_info); in handle_elf()
1378 rel_mem.r_info in handle_elf()
1380 GELF_R_TYPE (rel_mem.r_info)); in handle_elf()
Dunstrip.c406 adjust_reloc (&rel->r_info); in adjust_relocs()
417 adjust_reloc (&rela->r_info); in adjust_relocs()
/external/llvm/include/llvm/Support/
DELF.h1197 Elf32_Word r_info; // Symbol table index and type of relocation to apply member
1201 Elf32_Word getSymbol() const { return (r_info >> 8); } in getSymbol()
1202 unsigned char getType() const { return (unsigned char) (r_info & 0x0ff); } in getType()
1206 r_info = (s << 8) + t; in setSymbolAndType()
1213 Elf32_Word r_info; // Symbol table index and type of relocation to apply member
1218 Elf32_Word getSymbol() const { return (r_info >> 8); } in getSymbol()
1219 unsigned char getType() const { return (unsigned char) (r_info & 0x0ff); } in getType()
1223 r_info = (s << 8) + t; in setSymbolAndType()
1230 Elf64_Xword r_info; // Symbol table index and type of relocation to apply. member
1234 Elf64_Word getSymbol() const { return (r_info >> 32); } in getSymbol()
[all …]
/external/llvm/test/Scripts/
Delf-dump164 r_info = f.readWord()[0]
166 r_sym = (r_info >> 32, 32)
167 r_type = (r_info & 0xffffffff, 32)
169 r_sym = (r_info >> 8, 24)
170 r_type = (r_info & 0xff, 8)
/external/elfutils/libdwfl/
Drelocate.c463 GELF_R_TYPE (r->r_info), in relocate_section()
464 GELF_R_SYM (r->r_info)); in relocate_section()
492 GELF_R_TYPE (r->r_info), in relocate_section()
493 GELF_R_SYM (r->r_info)); in relocate_section()
534 if (r->r_info != 0 || r->r_offset != 0) in relocate_section()
546 if (r->r_info != 0 || r->r_offset != 0 || r->r_addend != 0) in relocate_section()
/external/kernel-headers/original/asm-mips/
Dmodule.h45 #define ELF_MIPS_R_SYM(rel) ELF32_R_SYM(rel.r_info)
46 #define ELF_MIPS_R_TYPE(rel) ELF32_R_TYPE(rel.r_info)
/external/qemu/
Delf.h960 Elf32_Word r_info; member
965 Elf64_Xword r_info; /* index and type of relocation */ member
970 Elf32_Word r_info; member
976 Elf64_Xword r_info; /* index and type of relocation */ member
/external/llvm/include/llvm/Object/
DELF.h334 Elf_Word r_info; // Symbol table index and type of relocation to apply
343 Elf_Xword r_info; // Symbol table index and type of relocation to apply
352 Elf_Word r_info; // Symbol table index and type of relocation to apply
362 Elf_Xword r_info; // Symbol table index and type of relocation to apply
373 using Elf_Rel_Base<ELFT<TargetEndianness, MaxAlign, true>, isRela>::r_info;
379 uint32_t getSymbol() const { return (uint32_t) (r_info >> 32); }
381 return (uint32_t) (r_info & 0xffffffffL);
386 r_info = ((uint64_t)s << 32) + (t&0xffffffffL);
394 using Elf_Rel_Base<ELFT<TargetEndianness, MaxAlign, false>, isRela>::r_info;
400 uint32_t getSymbol() const { return (r_info >> 8); }
[all …]
/external/valgrind/main/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/main/VEX/switchback/
Dlinker.c532 Elf_Addr info = rtab[j].r_info;
665 Elf_Addr info = rtab[j].r_info;
/external/valgrind/main/perf/
Dtinycc.c494 Elf32_Word r_info; /* Relocation type and symbol index */ member
505 Elf64_Xword r_info; /* Relocation type and symbol index */ member
513 Elf32_Word r_info; /* Relocation type and symbol index */ member
520 Elf64_Xword r_info; /* Relocation type and symbol index */ member
6558 rel->r_info = ELF32_R_INFO(sym->c, ELF32_R_TYPE(rel->r_info)); in gen_bounded_ptr_deref()
18370 rel->r_info = ELF32_R_INFO(symbol, type); in put_elf_reloc()
18472 sym_index = ELF32_R_SYM(rel->r_info); in sort_syms()
18473 type = ELF32_R_TYPE(rel->r_info); in sort_syms()
18475 rel->r_info = ELF32_R_INFO(sym_index, type); in sort_syms()
18579 sym_index = ELF32_R_SYM(rel->r_info); in relocate_section()
[all …]
/external/llvm/lib/MC/
DELFObjectWriter.cpp1086 String64(*F, ERE64.r_info); in WriteRelocationsFragment()
1095 String32(*F, ERE32.r_info); in WriteRelocationsFragment()
/external/linux-tools-perf/util/
Dsymbol.c966 symidx = GELF_R_SYM(pos->r_info); in dso__synthesize_plt_symbols()
988 symidx = GELF_R_SYM(pos->r_info); in dso__synthesize_plt_symbols()