Home
last modified time | relevance | path

Searched refs:rela (Results 1 – 25 of 45) sorted by relevance

12

/external/lldb/source/Plugins/ObjectFile/ELF/
DELFHeader.h402 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/
Dplt.c31 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/
Dplt.c226 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/
Dplt.c39 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/
Dltrace-elf.c71 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 …]
Dbackend.h188 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,
Dltrace-elf.h97 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/
Dplt.c26 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/
Drelocation-executable.test5 // CHECK-NEXT: Section (8) .rela.dyn {
13 // CHECK-NEXT: Section (9) .rela.plt {
Delf-reloc-no-sym.test4 CHECK-NEXT: Section (1) .rela.plt {
Dobjdump-sectionheaders.test13 ; CHECK: 4 .rela.text 00000048 0000000000000038
/external/ltrace/sysdeps/linux-gnu/mips/
Dplt.c72 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/
Dppc64-relocs-01.s24 # The relocations in .rela.text are the 'number64' load using a
27 # CHECK: Section ({{[0-9]+}}) .rela.text {
Dppc64-localentry.s48 # CHECK: Section ({{[0-9]*}}) .rela.text {
52 # CHECK: Section ({{[0-9]*}}) .rela.text.other {
Dppc64-initial-cfa.s41 # STATIC: Name: .rela.eh_frame
82 # PIC: Name: .rela.eh_frame
Dppc-reloc.s15 # CHECK-NEXT: Section {{.*}} .rela.text {
Dppc64-tls-relocs-01.s19 # CHECK: Section ({{[0-9]+}}) .rela.text {
/external/ltrace/sysdeps/linux-gnu/alpha/
Dplt.c26 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/
Dplt.c29 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/
Dplt.c26 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/
Dplt.c35 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/
Dplt.c27 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/
Dplt.c52 arch_plt_sym_val(struct ltelf *lte, size_t ndx, GElf_Rela * rela) in arch_plt_sym_val() argument
/external/ltrace/sysdeps/linux-gnu/
Dtrace.h136 GElf_Rela *rela, size_t ndx,
/external/elfutils/src/src/
Dfindtextrel.c461 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()

12