/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...] |
/external/syslinux/gnu-efi/gnu-efi-3.0/gnuefi/ |
reloc_ia64.S | 61 #define DT_RELA 7 /* Address of Rela relocs */ 62 #define DT_RELASZ 8 /* Total size of Rela relocs */ 63 #define DT_RELAENT 9 /* Size of one Rela reloc */ 80 #define rela r18 define 138 (Prela) add rela = d_val, ldbase 149 ld8 r_offset = [rela] 150 add addr = 8,rela 159 add rela = rela,relaent
|
/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") && 258 relocations_type_ = has_rel_relocations ? REL : RELA; 690 // we always pack rela, because packed format is pretty much the same 691 std::vector<typename ELF::Rela> relocations; 699 } else if (relocations_type_ == RELA) { 701 const typename ELF::Rela* relocations_base = reinterpret_cast<typename ELF::Rela*>(data->d_buf); 702 relocations = std::vector<typename ELF::Rela>( 978 typename ELF::Rela rela; local [all...] |
/art/runtime/ |
elf_file.cc | 1652 Elf_Rela& rela = GetRela(*sh, j); local [all...] |
/toolchain/binutils/binutils-2.27/bfd/ |
elf32-vax.c | 384 0, 0, 0, 0, /* index into .rela.plt */ 632 srelgot = bfd_get_linker_section (dynobj, ".rela.got"); 640 ".rela.got", 758 (sec, dynobj, 2, abfd, /*rela?*/ TRUE); 993 /* We also need to make an entry in the .rela.plt section. */ 995 s = bfd_get_linker_section (dynobj, ".rela.plt"); 1044 .rela.bss section we are going to use. */ 1049 srel = bfd_get_linker_section (dynobj, ".rela.bss"); 1085 /* We may have created entries in the .rela.got and .got sections. 1087 not actually use these entries. Reset the size of .rela.go 1773 Elf_Internal_Rela rela; local 1839 Elf_Internal_Rela rela; local 1863 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 102 || ELF64_R_SYM (rela.r_info) > bfd_get_symcount (abfd)) 108 ps = symbols + ELF64_R_SYM (rela.r_info) - 1; 118 relent->addend = rela.r_addend; 120 r_type = ELF64_R_TYPE_ID (rela.r_info); 127 relent->addend = ELF64_R_TYPE_DATA (rela.r_info) [all...] |
elfcode.h | 890 rela_hdr = elf_section_data (sec)->rela.hdr; 902 /* Figure out whether the relocations are RELA or REL relocations. */ 1423 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"); 966 When doing a dynamic link, we create a .rela.got 1610 Elf_Internal_Rela rela; local 1673 Elf_Internal_Rela rela; local 1718 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. */ 3127 Elf_Internal_Rela rela; local 3225 Elf_Internal_Rela rela; local 3271 Elf_Internal_Rela rela; local [all...] |
elf32-microblaze.c | 881 The relocs are always passed as Rela structures; if the section 886 necessary, and (if using Rela relocs and generating a 3210 Elf_Internal_Rela rela; local 3324 Elf_Internal_Rela rela; local [all...] |
elf32-or1k.c | 769 The relocs are always passed as Rela structures; if the section 774 necessary, and (if using Rela relocs and generating a relocatable 1111 Elf_Internal_Rela rela; local 1875 Elf_Internal_Rela rela; local 1960 Elf_Internal_Rela rela; local 2001 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 3476 Elf_Internal_Rela rela; local 3626 Elf_Internal_Rela rela; local 3772 Elf_Internal_Rela rela; local 3845 Elf_Internal_Rela rela; local [all...] |
elf32-tilepro.c | 3715 Elf_Internal_Rela rela; local 3771 Elf_Internal_Rela rela; local 3812 Elf_Internal_Rela rela; local [all...] |
elf64-mips.c | 36 . - Relocation handling for RELA relocs related to GOT support are 3775 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") 3390 Elf_Internal_Rela rela; local 3483 Elf_Internal_Rela rela; local 3571 Elf_Internal_Rela rela; local 3638 Elf_Internal_Rela rela; local [all...] |
elfxx-sparc.c | 4229 Elf_Internal_Rela rela; local 4328 Elf_Internal_Rela rela; local 4467 Elf_Internal_Rela rela; local 4525 Elf_Internal_Rela rela; local 4656 Elf_Internal_Rela rela; local [all...] |
elfxx-tilegx.c | 36 /* The size of an external RELA relocation. */ 4102 Elf_Internal_Rela rela; local 4161 Elf_Internal_Rela rela; local 4202 Elf_Internal_Rela rela; local [all...] |
/toolchain/binutils/binutils-2.27/gold/ |
reloc.h | 465 rela(unsigned char* view, Address value, Addendtype addend, function in class:gold::Relocate_functions 479 rela(unsigned char* view, function in class:gold::Relocate_functions 597 // Do an 8-bit RELA relocation with the addend in the relocation. 600 { This::template rela<8>(view, value, addend, CHECK_NONE); } 605 { return This::template rela<8>(view, value, addend, check); } 612 { This::template rela<8>(view, object, psymval, addend, CHECK_NONE); } 620 { return This::template rela<8>(view, object, psymval, addend, check); } 648 // Do a simple 8-bit PC relative RELA relocation with the addend in 702 // Do an 16-bit RELA relocation with the addend in the relocation. 705 { This::template rela<16>(view, value, addend, CHECK_NONE); [all...] |
s390.cc | 135 // Return the .rela.plt section data. 522 const elfcpp::Rela<size, true>& reloc, unsigned int r_type, 531 const elfcpp::Rela<size, true>& reloc, unsigned int r_type, 540 const elfcpp::Rela<size, true>& reloc, 550 const elfcpp::Rela<size, true>& reloc, 594 size_t relnum, const elfcpp::Rela<size, true>&, 602 const elfcpp::Rela<size, true>&, 609 const elfcpp::Rela<size, true>&, 616 const elfcpp::Rela<size, true>&, 623 const elfcpp::Rela<size, true>& 907 rela(unsigned char* view, Address mask, Address value) function in class:__anon4473::S390_relocate_functions 1133 Reloc_section* rela = this->rela_irelative(symtab, layout); local 1153 Reloc_section* rela = this->rela_irelative(symtab, layout); local [all...] |
sparc.cc | 252 const elfcpp::Rela<size, big_endian>& reloc, unsigned int r_type, 261 const elfcpp::Rela<size, big_endian>& reloc, unsigned int r_type, 270 const elfcpp::Rela<size, big_endian>& , 281 const elfcpp::Rela<size, 341 size_t relnum, const elfcpp::Rela<size, big_endian>&, 351 const elfcpp::Rela<size, big_endian>& rela, 416 Symbol* sym, const elfcpp::Rela<size, big_endian>& reloc) 541 rela(unsigned char* view, function in class:__anon4477::Sparc_relocate_functions 562 rela(unsigned char* view function in class:__anon4477::Sparc_relocate_functions [all...] |
tilegx.cc | 116 // Return the .rela.plt section data. 233 // TileGX use RELA 465 const elfcpp::Rela<size, big_endian>& reloc, unsigned int r_type, 474 const elfcpp::Rela<size, big_endian>& reloc, unsigned int r_type, 483 const elfcpp::Rela<size, big_endian>& reloc, 493 const elfcpp::Rela<size, big_endian>& reloc, 598 Symbol* sym, const elfcpp::Rela<size, big_endian>& reloc) 812 // Do a simple rela relocation 815 rela(unsigned char* view, function in class:__anon4489::Tilegx_relocate_functions 839 // Do a simple rela relocatio 870 rela(unsigned char* view, function in class:__anon4489::Tilegx_relocate_functions 2126 Reloc_section* rela = this->rela_irelative(symtab, layout); local 2146 Reloc_section* rela = this->rela_irelative(symtab, layout); local [all...] |
/toolchain/binutils/binutils-2.27/gas/config/ |
tc-msp430.c | 4374 int rela = -1; local [all...] |