/external/lldb/source/Plugins/ObjectFile/ELF/ |
D | ELFHeader.h | 402 RelocType32(const ELFRela &rela) in RelocType32() 404 return rela.r_info & 0x0ff; in RelocType32() 409 RelocType64(const ELFRela &rela) in RelocType64() 411 return rela.r_info & 0xffffffff; in RelocType64() 417 RelocSymbol32(const ELFRela &rela) in RelocSymbol32() 419 return rela.r_info >> 8; in RelocSymbol32() 425 RelocSymbol64(const ELFRela &rela) in RelocSymbol64() 427 return rela.r_info >> 32; in RelocSymbol64()
|
/external/ltrace/sysdeps/linux-gnu/s390/ |
D | plt.c | 31 arch_plt_sym_val(struct ltelf *lte, size_t ndx, GElf_Rela * rela) { in arch_plt_sym_val() argument 43 const char *a_name, GElf_Rela *rela, size_t ndx, in arch_elf_add_plt_entry() argument 47 bool irelative = GELF_R_TYPE(rela->r_info) == R_390_IRELATIVE; in arch_elf_add_plt_entry() 53 return linux_elf_add_plt_entry_irelative(proc, lte, rela, in arch_elf_add_plt_entry()
|
/external/ltrace/sysdeps/linux-gnu/ppc/ |
D | plt.c | 226 reloc_is_irelative(int machine, GElf_Rela *rela) in reloc_is_irelative() argument 231 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() 243 arch_plt_sym_val(struct ltelf *lte, size_t ndx, GElf_Rela *rela) in arch_plt_sym_val() argument 250 return rela->r_offset; in arch_plt_sym_val() 255 } else if (reloc_is_irelative(lte->ehdr.e_machine, rela)) { in arch_plt_sym_val() 260 assert(rela->r_addend != 0); in arch_plt_sym_val() 262 arch_addr_t res_addr = (arch_addr_t) (uintptr_t) rela->r_addend; in arch_plt_sym_val() 422 reloc_copy_if_irelative(GElf_Rela *rela, void *data) in reloc_copy_if_irelative() argument 426 return CBS_STOP_IF(reloc_is_irelative(lte->ehdr.e_machine, rela) in reloc_copy_if_irelative() [all …]
|
/external/ltrace/sysdeps/linux-gnu/x86/ |
D | plt.c | 39 arch_plt_sym_val(struct ltelf *lte, size_t ndx, GElf_Rela *rela) in arch_plt_sym_val() argument 53 const char *a_name, GElf_Rela *rela, size_t ndx, in arch_elf_add_plt_entry() argument 59 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() 69 return linux_elf_add_plt_entry_irelative(proc, lte, rela, in arch_elf_add_plt_entry()
|
/external/ltrace/ |
D | ltrace-elf.c | 71 const char *a_name, GElf_Rela *rela, size_t ndx, in os_elf_add_plt_entry() argument 81 const char *a_name, GElf_Rela *rela, size_t ndx, in arch_elf_add_plt_entry() argument 466 rel_to_rela(struct ltelf *lte, const GElf_Rel *rel, GElf_Rela *rela) in rel_to_rela() argument 468 rela->r_offset = rel->r_offset; in rel_to_rela() 469 rela->r_info = rel->r_info; in rel_to_rela() 492 rela->r_addend = value; in rel_to_rela() 519 GElf_Rela rela; in elf_read_relocs() local 523 || rel_to_rela(lte, &rel, &rela) < 0) in elf_read_relocs() 526 } else if (gelf_getrela(relplt, i, &rela) == NULL) { in elf_read_relocs() 530 if (VECT_PUSHBACK(rela_vec, &rela) < 0) in elf_read_relocs() [all …]
|
D | backend.h | 188 GElf_Addr arch_plt_sym_val(struct ltelf *lte, size_t ndx, GElf_Rela *rela); 315 GElf_Rela *rela, GElf_Sym *sym); 336 const char *name, GElf_Rela *rela, 343 const char *name, GElf_Rela *rela,
|
D | ltrace-elf.h | 97 const char *name, GElf_Rela *rela, size_t idx, 108 const char *a_name, GElf_Rela *rela, size_t ndx,
|
/external/ltrace/sysdeps/linux-gnu/sparc/ |
D | plt.c | 26 arch_plt_sym_val(struct ltelf *lte, size_t ndx, GElf_Rela * rela) { in arch_plt_sym_val() argument 27 return rela->r_offset + 4; in arch_plt_sym_val()
|
/external/llvm/test/Object/ |
D | relocation-executable.test | 5 // CHECK-NEXT: Section (8) .rela.dyn { 13 // CHECK-NEXT: Section (9) .rela.plt {
|
D | elf-reloc-no-sym.test | 4 CHECK-NEXT: Section (1) .rela.plt {
|
D | objdump-sectionheaders.test | 13 ; CHECK: 4 .rela.text 00000048 0000000000000038
|
/external/ltrace/sysdeps/linux-gnu/mips/ |
D | plt.c | 72 arch_plt_sym_val(struct ltelf *lte, size_t ndx, GElf_Rela *rela) in arch_plt_sym_val() argument 157 size_t sym_index, GElf_Rela *rela, GElf_Sym *sym) in arch_get_sym_info() argument 160 return gelf_getsym(lte->dynsym, ELF64_R_SYM(rela->r_info), in arch_get_sym_info() 345 const char *a_name, GElf_Rela *rela, size_t ndx, in arch_elf_add_plt_entry() argument
|
/external/llvm/test/MC/PowerPC/ |
D | ppc64-relocs-01.s | 24 # The relocations in .rela.text are the 'number64' load using a 27 # CHECK: Section ({{[0-9]+}}) .rela.text {
|
D | ppc64-localentry.s | 48 # CHECK: Section ({{[0-9]*}}) .rela.text { 52 # CHECK: Section ({{[0-9]*}}) .rela.text.other {
|
D | ppc64-initial-cfa.s | 41 # STATIC: Name: .rela.eh_frame 82 # PIC: Name: .rela.eh_frame
|
D | ppc-reloc.s | 15 # CHECK-NEXT: Section {{.*}} .rela.text {
|
D | ppc64-tls-relocs-01.s | 19 # CHECK: Section ({{[0-9]+}}) .rela.text {
|
/external/ltrace/sysdeps/linux-gnu/alpha/ |
D | plt.c | 26 arch_plt_sym_val(struct ltelf *lte, size_t ndx, GElf_Rela *rela) in arch_plt_sym_val() argument
|
/external/ltrace/sysdeps/linux-gnu/metag/ |
D | plt.c | 29 arch_plt_sym_val(struct ltelf *lte, size_t ndx, GElf_Rela * rela) in arch_plt_sym_val() argument
|
/external/ltrace/sysdeps/linux-gnu/cris/ |
D | plt.c | 26 GElf_Addr arch_plt_sym_val(struct ltelf *lte, size_t ndx, GElf_Rela * rela) in arch_plt_sym_val() argument
|
/external/ltrace/sysdeps/linux-gnu/aarch64/ |
D | plt.c | 35 arch_plt_sym_val(struct ltelf *lte, size_t ndx, GElf_Rela *rela) in arch_plt_sym_val() argument
|
/external/ltrace/sysdeps/linux-gnu/m68k/ |
D | plt.c | 27 arch_plt_sym_val(struct ltelf *lte, size_t ndx, GElf_Rela * rela) { in arch_plt_sym_val() argument
|
/external/ltrace/sysdeps/linux-gnu/ia64/ |
D | plt.c | 52 arch_plt_sym_val(struct ltelf *lte, size_t ndx, GElf_Rela * rela) in arch_plt_sym_val() argument
|
/external/ltrace/sysdeps/linux-gnu/ |
D | trace.h | 136 GElf_Rela *rela, size_t ndx,
|
/external/elfutils/src/src/ |
D | findtextrel.c | 461 GElf_Rela *rela = gelf_getrela (data, cnt, &rela_mem); in process_file() local 462 if (rela == NULL) in process_file() 471 check_rel (nsegments, segments, rela->r_offset, elf, in process_file()
|