Home
last modified time | relevance | path

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

12

/external/llvm-project/lldb/source/Plugins/ObjectFile/ELF/
DELFHeader.h307 elf_xword r_info; ///< symbol index and type of relocation. member
328 static unsigned RelocType32(const ELFRel &rel) { return rel.r_info & 0x0ff; } in RelocType32()
332 return rel.r_info & 0xffffffff; in RelocType64()
337 static unsigned RelocSymbol32(const ELFRel &rel) { return rel.r_info >> 8; } in RelocSymbol32()
341 static unsigned RelocSymbol64(const ELFRel &rel) { return rel.r_info >> 32; } in RelocSymbol64()
348 elf_xword r_info; ///< Symbol index and type of relocation. member
371 return rela.r_info & 0x0ff; in RelocType32()
376 return rela.r_info & 0xffffffff; in RelocType64()
382 return rela.r_info >> 8; in RelocSymbol32()
388 return rela.r_info >> 32; in RelocSymbol64()
/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) \
/external/llvm/include/llvm/Support/
DELF.h921 Elf32_Word r_info; // Symbol table index and type of relocation to apply member
925 Elf32_Word getSymbol() const { return (r_info >> 8); } in getSymbol()
926 unsigned char getType() const { return (unsigned char) (r_info & 0x0ff); } in getType()
930 r_info = (s << 8) + t; in setSymbolAndType()
937 Elf32_Word r_info; // Symbol table index and type of relocation to apply member
942 Elf32_Word getSymbol() const { return (r_info >> 8); } in getSymbol()
943 unsigned char getType() const { return (unsigned char) (r_info & 0x0ff); } in getType()
947 r_info = (s << 8) + t; in setSymbolAndType()
954 Elf64_Xword r_info; // Symbol table index and type of relocation to apply. member
958 Elf64_Word getSymbol() const { return (r_info >> 32); } in getSymbol()
[all …]
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DELF.h923 Elf32_Word r_info; // Symbol table index and type of relocation to apply member
927 Elf32_Word getSymbol() const { return (r_info >> 8); } in getSymbol()
928 unsigned char getType() const { return (unsigned char)(r_info & 0x0ff); } in getType()
932 r_info = (s << 8) + t; in setSymbolAndType()
939 Elf32_Word r_info; // Symbol table index and type of relocation to apply member
944 Elf32_Word getSymbol() const { return (r_info >> 8); } in getSymbol()
945 unsigned char getType() const { return (unsigned char)(r_info & 0x0ff); } in getType()
949 r_info = (s << 8) + t; in setSymbolAndType()
956 Elf64_Xword r_info; // Symbol table index and type of relocation to apply. member
960 Elf64_Word getSymbol() const { return (r_info >> 32); } in getSymbol()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/BinaryFormat/
DELF.h1088 Elf32_Word r_info; // Symbol table index and type of relocation to apply member
1092 Elf32_Word getSymbol() const { return (r_info >> 8); } in getSymbol()
1093 unsigned char getType() const { return (unsigned char)(r_info & 0x0ff); } in getType()
1097 r_info = (s << 8) + t; in setSymbolAndType()
1104 Elf32_Word r_info; // Symbol table index and type of relocation to apply member
1109 Elf32_Word getSymbol() const { return (r_info >> 8); } in getSymbol()
1110 unsigned char getType() const { return (unsigned char)(r_info & 0x0ff); } in getType()
1114 r_info = (s << 8) + t; in setSymbolAndType()
1124 Elf64_Xword r_info; // Symbol table index and type of relocation to apply. member
1128 Elf64_Word getSymbol() const { return (r_info >> 32); } in getSymbol()
[all …]
/external/llvm-project/llvm/include/llvm/BinaryFormat/
DELF.h1115 Elf32_Word r_info; // Symbol table index and type of relocation to apply member
1119 Elf32_Word getSymbol() const { return (r_info >> 8); } in getSymbol()
1120 unsigned char getType() const { return (unsigned char)(r_info & 0x0ff); } in getType()
1124 r_info = (s << 8) + t; in setSymbolAndType()
1131 Elf32_Word r_info; // Symbol table index and type of relocation to apply member
1136 Elf32_Word getSymbol() const { return (r_info >> 8); } in getSymbol()
1137 unsigned char getType() const { return (unsigned char)(r_info & 0x0ff); } in getType()
1141 r_info = (s << 8) + t; in setSymbolAndType()
1151 Elf64_Xword r_info; // Symbol table index and type of relocation to apply. member
1155 Elf64_Word getSymbol() const { return (r_info >> 32); } in getSymbol()
[all …]
/external/kernel-headers/original/uapi/linux/
Delf.h164 Elf32_Word r_info; member
169 Elf64_Xword r_info; /* index and type of relocation */ member
174 Elf32_Word r_info; member
180 Elf64_Xword r_info; /* index and type of relocation */ member
/external/llvm/include/llvm/Object/
DELFTypes.h379 Elf_Word r_info; // Symbol table index and type of relocation to apply
383 return r_info;
387 r_info = R;
422 Elf_Xword r_info; // Symbol table index and type of relocation to apply
425 uint64_t t = r_info;
436 r_info = (R >> 32) | ((R & 0xff000000) << 8) | ((R & 0x00ff0000) << 24) |
439 r_info = R;
/external/elfutils/src/
Dobjdump.c347 GElf_Addr r_offset, GElf_Xword r_info, GElf_Sxword r_addend) in show_relocs_x() argument
354 ebl_reloc_type_name (ebl, GELF_R_TYPE (r_info), buf, sizeof (buf))); in show_relocs_x()
358 GElf_Sym *sym = gelf_getsymshndx (symdata, xndxdata, GELF_R_SYM (r_info), in show_relocs_x()
363 _("INVALID SYMBOL"), (long int) GELF_R_SYM (r_info)); in show_relocs_x()
416 rel->r_offset, rel->r_info, 0); in show_relocs_rel()
437 rel->r_offset, rel->r_info, rel->r_addend); in show_relocs_rela()
Delfcmp.c784 if ((int) GELF_R_SYM (rel->r_info) == symndx in search_for_copy_reloc()
785 && ebl_copy_reloc_p (ebl, GELF_R_TYPE (rel->r_info))) in search_for_copy_reloc()
798 if ((int) GELF_R_SYM (rela->r_info) == symndx in search_for_copy_reloc()
799 && ebl_copy_reloc_p (ebl, GELF_R_TYPE (rela->r_info))) in search_for_copy_reloc()
Dstrip.c660 rtype = GELF_R_TYPE (r->r_info); in remove_debug_relocations()
661 symndx = GELF_R_SYM (r->r_info); in remove_debug_relocations()
669 rtype = GELF_R_TYPE (r->r_info); in remove_debug_relocations()
670 symndx = GELF_R_SYM (r->r_info); in remove_debug_relocations()
2221 size_t symidx = GELF_R_SYM (rel_mem.r_info); in handle_elf()
2225 rel_mem.r_info in handle_elf()
2227 GELF_R_TYPE (rel_mem.r_info)); in handle_elf()
2240 size_t symidx = GELF_R_SYM (rel_mem.r_info); in handle_elf()
2244 rel_mem.r_info in handle_elf()
2246 GELF_R_TYPE (rel_mem.r_info)); in handle_elf()
Delflint.c1154 GELF_R_TYPE (rel->r_info))) in is_rel_dyn()
1207 GELF_R_TYPE (rela->r_info))) in is_rel_dyn()
1374 GElf_Addr r_offset, GElf_Xword r_info, in check_one_reloc() argument
1380 if (!ebl_reloc_type_check (ebl, GELF_R_TYPE (r_info))) in check_one_reloc()
1388 && !ebl_reloc_valid_use (ebl, GELF_R_TYPE (r_info))) in check_one_reloc()
1394 && ((GELF_R_SYM (r_info) + 1) in check_one_reloc()
1402 if (ebl_none_reloc_p (ebl, GELF_R_TYPE (r_info))) in check_one_reloc()
1405 if (ebl_gotpc_reloc_check (ebl, GELF_R_TYPE (r_info))) in check_one_reloc()
1410 GElf_Sym *sym = gelf_getsym (symdata, GELF_R_SYM (r_info), &sym_mem); in check_one_reloc()
1418 ebl_reloc_type_name (ebl, GELF_R_SYM (r_info), in check_one_reloc()
[all …]
/external/llvm-project/llvm/include/llvm/Object/
DELFTypes.h361 Elf_Word r_info; // Symbol table index and type of relocation to apply
365 return r_info;
369 r_info = R;
404 Elf_Xword r_info; // Symbol table index and type of relocation to apply
407 uint64_t t = r_info;
419 r_info = (R >> 32) | ((R & 0xff000000) << 8) | ((R & 0x00ff0000) << 24) |
422 r_info = R;
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/
DELFTypes.h363 Elf_Word r_info; // Symbol table index and type of relocation to apply
367 return r_info;
371 r_info = R;
406 Elf_Xword r_info; // Symbol table index and type of relocation to apply
409 uint64_t t = r_info;
421 r_info = (R >> 32) | ((R & 0xff000000) << 8) | ((R & 0x00ff0000) << 24) |
424 r_info = R;
/external/elfutils/libdwfl/
Drelocate.c636 GELF_R_TYPE (r->r_info), in relocate_section()
637 GELF_R_SYM (r->r_info)); in relocate_section()
667 GELF_R_TYPE (r->r_info), in relocate_section()
668 GELF_R_SYM (r->r_info)); in relocate_section()
713 if (r->r_info != 0 || r->r_offset != 0) in relocate_section()
728 if (r->r_info != 0 || r->r_offset != 0 || r->r_addend != 0) in relocate_section()
/external/google-breakpad/src/common/dwarf/
Delf_reader.cc142 static int r_sym(const Elf32_Word r_info) { in r_sym() argument
143 return ELF32_R_SYM(r_info); in r_sym()
167 static int r_sym(const Elf64_Xword r_info) { in r_sym() argument
168 return ELF64_R_SYM(r_info); in r_sym()
681 int sym_index = ElfArch::r_sym(rel_section ? rel[i].r_info in VisitRelocationEntries()
682 : rela[i].r_info); in VisitRelocationEntries()
/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/swiftshader/third_party/subzero/src/
DIceELFSection.h378 Str.writeELFXword<IsELF64>(Rela.r_info); in writeData()
385 Str.writeELFWord<IsELF64>(Rel.r_info); in writeData()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DELF.cpp304 Rela.r_info = 0; in decode_relrs()
413 R.r_info = GroupedByInfo ? GroupRInfo : ReadSLEB(); in android_relas()
/external/llvm-project/llvm/lib/Object/
DELF.cpp324 Rel.r_info = 0; in decode_relrs()
432 R.r_info = GroupedByInfo ? GroupRInfo : ReadSLEB(); in android_relas()
/external/llvm/tools/llvm-readobj/
DELFDumper.cpp2486 Info = to_string(format_hex_no_prefix(R.r_info, Width)); in printRelocation()
2536 Rela.r_info = R.r_info; in printRelocations()
2980 Info = to_string(format_hex_no_prefix(R.r_info, Width)); in printDynamicRelocation()
3031 Rela.r_info = Rel.r_info; in printDynamicRelocations()
3051 Rela.r_info = Rel.r_info; in printDynamicRelocations()
3273 Rela.r_info = R.r_info; in printRelocations()
3468 Rela.r_info = Rel.r_info; in printDynamicRelocations()
3479 Rela.r_info = Rel.r_info; in printDynamicRelocations()

12