Home
last modified time | relevance | path

Searched refs:r_info (Results 1 – 25 of 38) 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) \
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DELF.h888 Elf32_Word r_info; // Symbol table index and type of relocation to apply member
892 Elf32_Word getSymbol() const { return (r_info >> 8); } in getSymbol()
893 unsigned char getType() const { return (unsigned char) (r_info & 0x0ff); } in getType()
897 r_info = (s << 8) + t; in setSymbolAndType()
904 Elf32_Word r_info; // Symbol table index and type of relocation to apply member
909 Elf32_Word getSymbol() const { return (r_info >> 8); } in getSymbol()
910 unsigned char getType() const { return (unsigned char) (r_info & 0x0ff); } in getType()
914 r_info = (s << 8) + t; in setSymbolAndType()
921 Elf64_Xword r_info; // Symbol table index and type of relocation to apply. member
925 Elf64_Xword getSymbol() const { return (r_info >> 32); } in getSymbol()
[all …]
/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/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()
/external/syslinux/gnu-efi/gnu-efi-3.0/gnuefi/
Dreloc_ia64.S84 #define r_info r22 macro
154 ld8 r_info = [addr],8
160 extr.u r_type = r_info, 0, 32
197 extr.u r_sym = r_info,32,32
Dreloc_ia32.c80 switch (ELF32_R_TYPE (rel->r_info)) { in _relocate()
Dreloc_x86_64.c79 switch (ELF64_R_TYPE (rel->r_info)) { in _relocate()
/external/swiftshader/third_party/LLVM/test/Scripts/
Delf-dump125 r_info = f.readWord()[0]
127 r_sym = (r_info >> 32, 32)
128 r_type = (r_info & 0xffffffff, 32)
130 r_sym = (r_info >> 8, 24)
131 r_type = (r_info & 0xff, 8)
/external/syslinux/com32/tools/
Drelocs.c426 rel->r_info = elf32_to_cpu(rel->r_info); in read_relocs()
490 sym = &sh_symtab[ELF32_R_SYM(rel->r_info)]; in print_absolute_relocs()
522 rel->r_info, in print_absolute_relocs()
523 rel_type(ELF32_R_TYPE(rel->r_info)), in print_absolute_relocs()
563 sym = &sh_symtab[ELF32_R_SYM(rel->r_info)]; in walk_relocs()
564 r_type = ELF32_R_TYPE(rel->r_info); in walk_relocs()
633 if (ELF32_R_TYPE(rel->r_info) == R_386_16) in count_reloc()
644 if (ELF32_R_TYPE(rel->r_info) == R_386_16) in collect_reloc()
/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/syslinux/com32/include/sys/
Delf32.h39 Elf32_Word r_info; member
44 Elf32_Word r_info; member
Delf64.h39 Elf64_Xword r_info; member
44 Elf64_Xword r_info; 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/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/swiftshader/third_party/LLVM/lib/Object/
DELFObjectFile.cpp189 Elf_Word r_info; // Symbol table index and type of relocation to apply member
196 Elf_Xword r_info; // Symbol table index and type of relocation to apply member
203 Elf_Word r_info; // Symbol table index and type of relocation to apply member
211 Elf_Xword r_info; // Symbol table index and type of relocation to apply member
221 using Elf_Rel_Base<target_endianness, true, isRela>::r_info;
226 uint64_t getSymbol() const { return (r_info >> 32); } in LLVM_ELF_IMPORT_TYPES()
228 return (unsigned char) (r_info & 0xffffffffL); in getType()
233 r_info = (s << 32) + (t&0xffffffffL); in setSymbolAndType()
240 using Elf_Rel_Base<target_endianness, false, isRela>::r_info;
245 uint32_t getSymbol() const { return (r_info >> 8); } in LLVM_ELF_IMPORT_TYPES()
[all …]
/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/syslinux/com32/lib/sys/module/i386/
Delf_module.c195 Elf32_Word sym = ELF32_R_SYM(rel->r_info); in perform_relocation()
196 unsigned char type = ELF32_R_TYPE(rel->r_info); in perform_relocation()
/external/syslinux/com32/lib/sys/module/x86_64/
Delf_module.c195 Elf64_Word sym = ELF64_R_SYM(rel->r_info); in perform_relocation()
196 unsigned char type = ELF64_R_TYPE(rel->r_info); in perform_relocation()

12