/external/elfutils/src/ |
findtextrel.c | 461 GElf_Rela *rela = gelf_getrela (data, cnt, &rela_mem); local 462 if (rela == NULL) 471 check_rel (nsegments, segments, rela->r_offset, elf,
|
elfcmp.c | 791 GElf_Rela *rela = gelf_getrela (data, ndx, &rela_mem); local 792 if (rela == NULL) 796 if ((int) GELF_R_SYM (rela->r_info) == symndx 797 && ebl_copy_reloc_p (ebl, GELF_R_TYPE (rela->r_info)))
|
unstrip.c | 457 GElf_Rela *rela = gelf_getrela (data, i, &rela_mem); 458 adjust_reloc (&rela->r_info); 459 ELF_CHECK (gelf_update_rela (data, i, rela), 456 GElf_Rela *rela = gelf_getrela (data, i, &rela_mem); local [all...] |
/bionic/tools/relocation_packer/src/ |
elf_file.cc | 131 // the .rel.dyn or .rela.dyn, .dynamic, and .android.rel.dyn or 132 // .android.rela.dyn sections. No-op if the ELF file has already been loaded. 212 if ((name == ".rel.dyn" || name == ".rela.dyn") && 238 LOG(ERROR) << "Missing or empty .rel.dyn or .rela.dyn section"; 260 relocations_type_ = has_rel_relocations ? REL : RELA; 687 // we always pack rela, because packed format is pretty much the same 688 std::vector<typename ELF::Rela> relocations; 696 } else if (relocations_type_ == RELA) { 698 const typename ELF::Rela* relocations_base = reinterpret_cast<typename ELF::Rela*>(data->d_buf) 970 typename ELF::Rela rela; local [all...] |
/external/ltrace/ |
ltrace-elf.c | 71 const char *a_name, GElf_Rela *rela, size_t ndx, 81 const char *a_name, GElf_Rela *rela, size_t ndx, 466 rel_to_rela(struct ltelf *lte, const GElf_Rel *rel, GElf_Rela *rela) 468 rela->r_offset = rel->r_offset; 469 rela->r_info = rel->r_info; 492 rela->r_addend = value; 519 GElf_Rela rela; local 523 || rel_to_rela(lte, &rel, &rela) < 0) 526 } else if (gelf_getrela(relplt, i, &rela) == NULL) { 530 if (VECT_PUSHBACK(rela_vec, &rela) < 0 819 GElf_Rela *rela = VECT_ELEMENT(<e->plt_relocs, GElf_Rela, i); local [all...] |
/external/ltrace/sysdeps/linux-gnu/ppc/ |
plt.c | 226 reloc_is_irelative(int machine, GElf_Rela *rela) 231 irelative = GELF_R_TYPE(rela->r_info) == R_PPC64_JMP_IREL; 236 irelative = GELF_R_TYPE(rela->r_info) == R_PPC_IRELATIVE; 243 arch_plt_sym_val(struct ltelf *lte, size_t ndx, GElf_Rela *rela) 250 return rela->r_offset; 255 } else if (reloc_is_irelative(lte->ehdr.e_machine, rela)) { 260 assert(rela->r_addend != 0); 262 arch_addr_t res_addr = (arch_addr_t) (uintptr_t) rela->r_addend; 422 reloc_copy_if_irelative(GElf_Rela *rela, void *data) 426 return CBS_STOP_IF(reloc_is_irelative(lte->ehdr.e_machine, rela) 455 GElf_Addr rela, relasz; local 645 GElf_Rela *rela = VECT_ELEMENT(<e->plt_relocs, GElf_Rela, i); local [all...] |
/toolchain/binutils/binutils-2.25/gold/ |
reloc.h | 382 rela(unsigned char* view, function in class:gold::Relocate_functions 395 rela(unsigned char* view, function in class:gold::Relocate_functions 495 // Do an 8-bit RELA relocation with the addend in the relocation. 498 { This::template rela<8>(view, value, addend); } 505 { This::template rela<8>(view, object, psymval, addend); } 521 // Do a simple 8-bit PC relative RELA relocation with the addend in 548 // Do an 16-bit RELA relocation with the addend in the relocation. 551 { This::template rela<16>(view, value, addend); } 558 { This::template rela<16>(view, object, psymval, addend); } 574 // Do a simple 16-bit PC relative RELA relocation with the addend i [all...] |
sparc.cc | 240 const elfcpp::Rela<size, big_endian>& reloc, unsigned int r_type, 249 const elfcpp::Rela<size, big_endian>& reloc, unsigned int r_type, 258 const elfcpp::Rela<size, big_endian>& , 269 const elfcpp::Rela<size, 321 const elfcpp::Rela<size, big_endian>&, 332 size_t relnum, const elfcpp::Rela<size, big_endian>&, 342 const elfcpp::Rela<size, big_endian>& rela, 416 Symbol* sym, const elfcpp::Rela<size, big_endian>& reloc) 524 rela(unsigned char* view function in class:__anon75349::Sparc_relocate_functions 545 rela(unsigned char* view, function in class:__anon75349::Sparc_relocate_functions [all...] |
tilegx.cc | 116 // Return the .rela.plt section data. 233 // TileGX use RELA 451 const elfcpp::Rela<size, big_endian>& reloc, unsigned int r_type, 460 const elfcpp::Rela<size, big_endian>& reloc, unsigned int r_type, 469 const elfcpp::Rela<size, big_endian>& reloc, 479 const elfcpp::Rela<size, big_endian>& reloc, 522 size_t relnum, const elfcpp::Rela<size, big_endian>&, 595 Symbol* sym, const elfcpp::Rela<size, big_endian>& reloc) 802 // Do a simple rela relocation 805 rela(unsigned char* view function in class:__anon75359::Tilegx_relocate_functions 860 rela(unsigned char* view, function in class:__anon75359::Tilegx_relocate_functions 2116 Reloc_section* rela = this->rela_irelative(symtab, layout); local 2136 Reloc_section* rela = this->rela_irelative(symtab, layout); local [all...] |
/art/runtime/ |
elf_file.cc | 1648 Elf_Rela& rela = GetRela(*sh, j); local [all...] |
/toolchain/binutils/binutils-2.25/bfd/ |
elf32-vax.c | 376 0, 0, 0, 0, /* index into .rela.plt */ 624 srelgot = bfd_get_linker_section (dynobj, ".rela.got"); 632 ".rela.got", 750 (sec, dynobj, 2, abfd, /*rela?*/ TRUE); 985 /* We also need to make an entry in the .rela.plt section. */ 987 s = bfd_get_linker_section (dynobj, ".rela.plt"); 1036 .rela.bss section we are going to use. */ 1041 srel = bfd_get_linker_section (dynobj, ".rela.bss"); 1077 /* We may have created entries in the .rela.got and .got sections. 1079 not actually use these entries. Reset the size of .rela.go 1767 Elf_Internal_Rela rela; local 1833 Elf_Internal_Rela rela; local 1857 Elf_Internal_Rela rela; local [all...] |
elf64-sparc.c | 86 Elf_Internal_Rela rela; local 89 bfd_elf64_swap_reloca_in (abfd, native_relocs, &rela); 96 relent->address = rela.r_offset; 98 relent->address = rela.r_offset - asect->vma; 100 if (ELF64_R_SYM (rela.r_info) == STN_UNDEF) 106 ps = symbols + ELF64_R_SYM (rela.r_info) - 1; 116 relent->addend = rela.r_addend; 118 r_type = ELF64_R_TYPE_ID (rela.r_info); 125 relent->addend = ELF64_R_TYPE_DATA (rela.r_info); 166 rel_hdr2 = d->rela.hdr [all...] |
elfcode.h | 886 rela_hdr = elf_section_data (sec)->rela.hdr; 898 /* Figure out whether the relocations are RELA or REL relocations. */ 1419 Elf_Internal_Rela rela; local [all...] |
elf32-cris.c | 2096 Elf_Internal_Rela rela; local 2222 Elf_Internal_Rela rela; local 2265 Elf_Internal_Rela rela; local [all...] |
elf32-lm32.c | 200 /* Create .got, .gotplt, and .rela.got sections in DYNOBJ, and set up 223 htab->srelgot = bfd_get_linker_section (dynobj, ".rela.got"); 960 When doing a dynamic link, we create a .rela.got 1611 Elf_Internal_Rela rela; local 1674 Elf_Internal_Rela rela; local 1719 Elf_Internal_Rela rela; local [all...] |
elf32-m32r.c | 30 /* Use REL instead of RELA to save space. 39 /* Use RELA. But use REL to link old objects for backwords compatibility. */ 3128 Elf_Internal_Rela rela; local 3226 Elf_Internal_Rela rela; local 3272 Elf_Internal_Rela rela; local [all...] |
elf32-microblaze.c | 872 The relocs are always passed as Rela structures; if the section 877 necessary, and (if using Rela relocs and generating a 3201 Elf_Internal_Rela rela; local 3315 Elf_Internal_Rela rela; local [all...] |
elf32-or1k.c | 765 The relocs are always passed as Rela structures; if the section 770 necessary, and (if using Rela relocs and generating a relocatable 1105 Elf_Internal_Rela rela; local 1886 Elf_Internal_Rela rela; local 1971 Elf_Internal_Rela rela; local 2012 Elf_Internal_Rela rela; local [all...] |
elf32-s390.c | 473 28(15) = Offset into rela.plt 491 .long ? # 4 bytes offset into rela.plt 501 L 1,14(1) # 4 bytes Load offset in rela.plt in r1 504 .long ? # 4 bytes offset into rela.plt 513 L 1,14(1) # 4 bytes Load offset in rela.plt in r1 516 .long ? # 4 bytes offset into rela.plt 531 .long ? # 4 bytes offset into rela.plt */ 544 0x00, 0x00, 0x00, 0x00 /* rela.plt offset */ 559 0x00, 0x00, 0x00, 0x00 /* rela.plt offset */ 593 /* The first PLT entry pushes the offset into the rela.pl 3394 Elf_Internal_Rela rela; local 3544 Elf_Internal_Rela rela; local 3691 Elf_Internal_Rela rela; local 3764 Elf_Internal_Rela rela; local [all...] |
elf32-tilepro.c | 3713 Elf_Internal_Rela rela; local 3769 Elf_Internal_Rela rela; local 3810 Elf_Internal_Rela rela; local [all...] |
elf64-mips.c | 36 . - Relocation handling for RELA relocs related to GOT support are 3739 Elf64_Mips_Internal_Rela rela; local [all...] |
elf64-s390.c | 506 .long ? # 4 bytes offset into .rela.plt 511 Fixup at offset 28: 32 bit offset into .rela.plt 514 .rela.plt sections up to a size of 2 gigabyte. A single dynamic 516 size. Having a .rela.plt of 2GB would already make the .plt 731 /* Create .got, .gotplt, and .rela.got sections in DYNOBJ, and set up 749 htab->elf.srelgot = bfd_get_linker_section (dynobj, ".rela.got"); 755 /* Create .plt, .rela.plt, .got, .got.plt, .rela.got, .dynbss, and 756 .rela.bss sections in DYNOBJ, and set up shortcuts to them in our 776 htab->elf.srelplt = bfd_get_linker_section (dynobj, ".rela.plt") 3319 Elf_Internal_Rela rela; local 3412 Elf_Internal_Rela rela; local 3501 Elf_Internal_Rela rela; local 3568 Elf_Internal_Rela rela; local [all...] |
elfxx-sparc.c | 4224 Elf_Internal_Rela rela; local 4323 Elf_Internal_Rela rela; local 4462 Elf_Internal_Rela rela; local 4520 Elf_Internal_Rela rela; local 4651 Elf_Internal_Rela rela; local [all...] |
elfxx-tilegx.c | 36 /* The size of an external RELA relocation. */ 4098 Elf_Internal_Rela rela; local 4157 Elf_Internal_Rela rela; local 4198 Elf_Internal_Rela rela; local [all...] |
/toolchain/binutils/binutils-2.25/gas/config/ |
tc-msp430.c | 3656 int rela = -1; local [all...] |