/frameworks/compile/mclinker/lib/LD/ |
StubFactory.cpp | 92 Relocation* reloc = Relocation::Create((*it)->type(), local 95 reloc->setSymInfo(pReloc.symInfo()); 96 island->addRelocation(*reloc); 102 // reset the branch target of the input reloc to this stub instead!
|
/frameworks/compile/mclinker/lib/Fragment/ |
FragmentLinker.cpp | 102 // bypass the reloc section if 105 // 2. it has no reloc data. (All symbols in the input relocs are in the 109 RelocData::iterator reloc, rEnd = (*rs)->getRelocData()->end(); local 110 for (reloc = (*rs)->getRelocData()->begin(); reloc != rEnd; ++reloc) { 111 Relocation* relocation = llvm::cast<Relocation>(reloc); 150 // bypass the reloc section if 153 // 2. it has no reloc data. (All symbols in the input relocs are in the 157 RelocData::iterator reloc, rEnd = (*rs)->getRelocData()->end() local 181 Relocation* reloc = *iter; local 204 Relocation* reloc = llvm::cast<Relocation>(relocIter); local [all...] |
FragmentGraph.cpp | 180 // 2. it has no reloc data. (All symbols in the input relocs are in the 187 Relocation* reloc = llvm::cast<Relocation>(reloc_it); local 188 ResolveInfo* sym = reloc->symInfo(); 200 reloc->targetRef().frag()->getParent()->getSection().kind(); 214 connect(reloc, sym); 279 Relocation* reloc = Relocation::Create(); local 280 reloc->setSymInfo(sym); 283 node->addSignal(reloc);
|
/frameworks/compile/mclinker/lib/Object/ |
ObjectLinker.cpp | 338 // bypass the reloc section if 341 // 2. it has no reloc data. (All symbols in the input relocs are in the 345 RelocData::iterator reloc, rEnd = (*rs)->getRelocData()->end(); local 346 for (reloc = (*rs)->getRelocData()->begin(); reloc != rEnd; ++reloc) { 347 Relocation* relocation = llvm::cast<Relocation>(reloc);
|
/frameworks/compile/mclinker/lib/Target/Mips/ |
MipsRelocator.cpp | 85 Relocation* reloc = static_cast<Relocation*>(pReloc.getNextNode()); local 86 while (NULL != reloc) 88 if (llvm::ELF::R_MIPS_LO16 == reloc->type() && 89 reloc->symInfo() == pReloc.symInfo()) 90 return reloc; 92 reloc = static_cast<Relocation*>(reloc->getNextNode());
|
/external/chromium/base/win/ |
pe_image.cc | 319 PWORD reloc = reinterpret_cast<PWORD>(base + 1); local 323 for (UINT i = 0; i < num_relocs; i++, reloc++) { 324 WORD type = *reloc >> 12; 325 PVOID address = RVAToAddr(base->VirtualAddress + (*reloc & 0x0FFF));
|
/external/linux-tools-perf/util/ |
map.c | 485 s64 reloc; local 490 reloc = (kmap->ref_reloc_sym->unrelocated_addr - 493 if (!reloc) 498 self->pgoff = reloc;
|
/frameworks/compile/mclinker/lib/Target/ARM/ |
ARMLDBackend.cpp | 965 RelocData::iterator reloc, rEnd = (*rs)->getRelocData()->end(); local [all...] |
/frameworks/compile/mclinker/lib/Target/X86/ |
X86LDBackend.cpp | 926 Relocation* reloc = Relocation::Create(X86_32Relocator::R_386_TLS_OPT, local 931 uint8_t* op = (reinterpret_cast<uint8_t*>(&reloc->target())); 932 off = pReloc.targetRef().offset() - reloc->targetRef().offset() - 1; 953 // 3. insert the new relocs "BEFORE" the original reloc. 955 RelocData::iterator(pReloc), reloc); local 957 // 4. change the type of the original reloc 968 // Allocate 2 got entries and 1 dynamic reloc for R_386_TLS_LDM [all...] |
/external/llvm/lib/Object/ |
COFFObjectFile.cpp | 752 const coff_relocation *reloc = toRel(Rel); local 756 switch (reloc->Type) { 779 switch (reloc->Type) { 811 const coff_relocation *reloc = toRel(Rel); local 813 if (error_code ec = getSymbol(reloc->SymbolTableIndex, symb)) return ec;
|
/bionic/linker/ |
linker.cpp | 863 Elf32_Addr reloc = static_cast<Elf32_Addr>(rel->r_offset + si->load_bias); local 915 sym_addr = reloc; 925 DL_ERR("unknown weak reloc type %d @ %p (%d)", 954 TRACE_TYPE(RELO, "RELO JMP_SLOT %08x <- %08x %s", reloc, sym_addr, sym_name); 955 *reinterpret_cast<Elf32_Addr*>(reloc) = sym_addr; 960 TRACE_TYPE(RELO, "RELO GLOB_DAT %08x <- %08x %s", reloc, sym_addr, sym_name); 961 *reinterpret_cast<Elf32_Addr*>(reloc) = sym_addr; 966 TRACE_TYPE(RELO, "RELO ABS %08x <- %08x %s", reloc, sym_addr, sym_name); 967 *reinterpret_cast<Elf32_Addr*>(reloc) += sym_addr; 973 reloc, sym_addr, rel->r_offset, sym_name) [all...] |
/external/qemu/hw/ |
pc.c | 522 uint8_t rom[512], *p, *reloc; local 545 reloc = p; 556 *reloc = (p - rom); [all...] |
/prebuilts/gcc/darwin-x86/arm/arm-eabi-4.6/include/ |
bfdlink.h | 298 /* TRUE if non-PLT relocs should be merged into one reloc section 518 __CTOR_LIST__). RELOC is the relocation to use for an entry in 524 bfd_reloc_code_real_type reloc, bfd *abfd, asection *sec, bfd_vma value); 552 /* A function which is called when a reloc overflow occurs. ENTRY is 553 the link hash table entry for the symbol the reloc is against. 554 NAME is the name of the local symbol or section the reloc is 564 /* A function which is called when a dangerous reloc is performed. 573 /* A function which is called when a reloc is found to be attached 576 the reloc; if this is the result of a 660 /* Description of reloc to generate. Used fo 661 } reloc; member in union:bfd_link_order::__anon22290 680 bfd_reloc_code_real_type reloc; member in struct:bfd_link_order_reloc [all...] |
/prebuilts/gcc/darwin-x86/arm/arm-eabi-4.7/include/ |
bfdlink.h | 362 /* TRUE if non-PLT relocs should be merged into one reloc section 548 __CTOR_LIST__). RELOC is the relocation to use for an entry in 554 bfd_reloc_code_real_type reloc, bfd *abfd, asection *sec, bfd_vma value); 582 /* A function which is called when a reloc overflow occurs. ENTRY is 583 the link hash table entry for the symbol the reloc is against. 584 NAME is the name of the local symbol or section the reloc is 594 /* A function which is called when a dangerous reloc is performed. 603 /* A function which is called when a reloc is found to be attached 606 the reloc; if this is the result of a 693 /* Description of reloc to generate. Used fo 694 } reloc; member in union:bfd_link_order::__anon22684 713 bfd_reloc_code_real_type reloc; member in struct:bfd_link_order_reloc [all...] |
/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.6/include/ |
bfdlink.h | 298 /* TRUE if non-PLT relocs should be merged into one reloc section 518 __CTOR_LIST__). RELOC is the relocation to use for an entry in 524 bfd_reloc_code_real_type reloc, bfd *abfd, asection *sec, bfd_vma value); 552 /* A function which is called when a reloc overflow occurs. ENTRY is 553 the link hash table entry for the symbol the reloc is against. 554 NAME is the name of the local symbol or section the reloc is 564 /* A function which is called when a dangerous reloc is performed. 573 /* A function which is called when a reloc is found to be attached 576 the reloc; if this is the result of a 660 /* Description of reloc to generate. Used fo 661 } reloc; member in union:bfd_link_order::__anon23019 680 bfd_reloc_code_real_type reloc; member in struct:bfd_link_order_reloc [all...] |
/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.7/include/ |
bfdlink.h | 362 /* TRUE if non-PLT relocs should be merged into one reloc section 548 __CTOR_LIST__). RELOC is the relocation to use for an entry in 554 bfd_reloc_code_real_type reloc, bfd *abfd, asection *sec, bfd_vma value); 582 /* A function which is called when a reloc overflow occurs. ENTRY is 583 the link hash table entry for the symbol the reloc is against. 584 NAME is the name of the local symbol or section the reloc is 594 /* A function which is called when a dangerous reloc is performed. 603 /* A function which is called when a reloc is found to be attached 606 the reloc; if this is the result of a 693 /* Description of reloc to generate. Used fo 694 } reloc; member in union:bfd_link_order::__anon23413 713 bfd_reloc_code_real_type reloc; member in struct:bfd_link_order_reloc [all...] |
/prebuilts/gcc/darwin-x86/mips/mipsel-linux-android-4.6/include/ |
bfdlink.h | 298 /* TRUE if non-PLT relocs should be merged into one reloc section 518 __CTOR_LIST__). RELOC is the relocation to use for an entry in 524 bfd_reloc_code_real_type reloc, bfd *abfd, asection *sec, bfd_vma value); 552 /* A function which is called when a reloc overflow occurs. ENTRY is 553 the link hash table entry for the symbol the reloc is against. 554 NAME is the name of the local symbol or section the reloc is 564 /* A function which is called when a dangerous reloc is performed. 573 /* A function which is called when a reloc is found to be attached 576 the reloc; if this is the result of a 660 /* Description of reloc to generate. Used fo 661 } reloc; member in union:bfd_link_order::__anon23762 680 bfd_reloc_code_real_type reloc; member in struct:bfd_link_order_reloc [all...] |
/prebuilts/gcc/darwin-x86/mips/mipsel-linux-android-4.7/include/ |
bfdlink.h | 362 /* TRUE if non-PLT relocs should be merged into one reloc section 548 __CTOR_LIST__). RELOC is the relocation to use for an entry in 554 bfd_reloc_code_real_type reloc, bfd *abfd, asection *sec, bfd_vma value); 582 /* A function which is called when a reloc overflow occurs. ENTRY is 583 the link hash table entry for the symbol the reloc is against. 584 NAME is the name of the local symbol or section the reloc is 594 /* A function which is called when a dangerous reloc is performed. 603 /* A function which is called when a reloc is found to be attached 606 the reloc; if this is the result of a 693 /* Description of reloc to generate. Used fo 694 } reloc; member in union:bfd_link_order::__anon23782 713 bfd_reloc_code_real_type reloc; member in struct:bfd_link_order_reloc [all...] |
/prebuilts/gcc/darwin-x86/x86/i686-linux-android-4.6/include/ |
bfdlink.h | 298 /* TRUE if non-PLT relocs should be merged into one reloc section 518 __CTOR_LIST__). RELOC is the relocation to use for an entry in 524 bfd_reloc_code_real_type reloc, bfd *abfd, asection *sec, bfd_vma value); 552 /* A function which is called when a reloc overflow occurs. ENTRY is 553 the link hash table entry for the symbol the reloc is against. 554 NAME is the name of the local symbol or section the reloc is 564 /* A function which is called when a dangerous reloc is performed. 573 /* A function which is called when a reloc is found to be attached 576 the reloc; if this is the result of a 660 /* Description of reloc to generate. Used fo 661 } reloc; member in union:bfd_link_order::__anon23804 680 bfd_reloc_code_real_type reloc; member in struct:bfd_link_order_reloc [all...] |
/prebuilts/gcc/darwin-x86/x86/i686-linux-android-4.7/include/ |
bfdlink.h | 362 /* TRUE if non-PLT relocs should be merged into one reloc section 548 __CTOR_LIST__). RELOC is the relocation to use for an entry in 554 bfd_reloc_code_real_type reloc, bfd *abfd, asection *sec, bfd_vma value); 582 /* A function which is called when a reloc overflow occurs. ENTRY is 583 the link hash table entry for the symbol the reloc is against. 584 NAME is the name of the local symbol or section the reloc is 594 /* A function which is called when a dangerous reloc is performed. 603 /* A function which is called when a reloc is found to be attached 606 the reloc; if this is the result of a 693 /* Description of reloc to generate. Used fo 694 } reloc; member in union:bfd_link_order::__anon23826 713 bfd_reloc_code_real_type reloc; member in struct:bfd_link_order_reloc [all...] |
/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/include/ |
bfdlink.h | 298 /* TRUE if non-PLT relocs should be merged into one reloc section 518 __CTOR_LIST__). RELOC is the relocation to use for an entry in 524 bfd_reloc_code_real_type reloc, bfd *abfd, asection *sec, bfd_vma value); 552 /* A function which is called when a reloc overflow occurs. ENTRY is 553 the link hash table entry for the symbol the reloc is against. 554 NAME is the name of the local symbol or section the reloc is 564 /* A function which is called when a dangerous reloc is performed. 573 /* A function which is called when a reloc is found to be attached 576 the reloc; if this is the result of a 660 /* Description of reloc to generate. Used fo 661 } reloc; member in union:bfd_link_order::__anon23850 680 bfd_reloc_code_real_type reloc; member in struct:bfd_link_order_reloc [all...] |
/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/include/ |
bfdlink.h | 362 /* TRUE if non-PLT relocs should be merged into one reloc section 548 __CTOR_LIST__). RELOC is the relocation to use for an entry in 554 bfd_reloc_code_real_type reloc, bfd *abfd, asection *sec, bfd_vma value); 582 /* A function which is called when a reloc overflow occurs. ENTRY is 583 the link hash table entry for the symbol the reloc is against. 584 NAME is the name of the local symbol or section the reloc is 594 /* A function which is called when a dangerous reloc is performed. 603 /* A function which is called when a reloc is found to be attached 606 the reloc; if this is the result of a 693 /* Description of reloc to generate. Used fo 694 } reloc; member in union:bfd_link_order::__anon24244 713 bfd_reloc_code_real_type reloc; member in struct:bfd_link_order_reloc [all...] |
/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/include/ |
bfdlink.h | 298 /* TRUE if non-PLT relocs should be merged into one reloc section 518 __CTOR_LIST__). RELOC is the relocation to use for an entry in 524 bfd_reloc_code_real_type reloc, bfd *abfd, asection *sec, bfd_vma value); 552 /* A function which is called when a reloc overflow occurs. ENTRY is 553 the link hash table entry for the symbol the reloc is against. 554 NAME is the name of the local symbol or section the reloc is 564 /* A function which is called when a dangerous reloc is performed. 573 /* A function which is called when a reloc is found to be attached 576 the reloc; if this is the result of a 660 /* Description of reloc to generate. Used fo 661 } reloc; member in union:bfd_link_order::__anon24579 680 bfd_reloc_code_real_type reloc; member in struct:bfd_link_order_reloc [all...] |
/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/include/ |
bfdlink.h | 362 /* TRUE if non-PLT relocs should be merged into one reloc section 548 __CTOR_LIST__). RELOC is the relocation to use for an entry in 554 bfd_reloc_code_real_type reloc, bfd *abfd, asection *sec, bfd_vma value); 582 /* A function which is called when a reloc overflow occurs. ENTRY is 583 the link hash table entry for the symbol the reloc is against. 584 NAME is the name of the local symbol or section the reloc is 594 /* A function which is called when a dangerous reloc is performed. 603 /* A function which is called when a reloc is found to be attached 606 the reloc; if this is the result of a 693 /* Description of reloc to generate. Used fo 694 } reloc; member in union:bfd_link_order::__anon24973 713 bfd_reloc_code_real_type reloc; member in struct:bfd_link_order_reloc [all...] |
/prebuilts/gcc/linux-x86/mips/mipsel-linux-android-4.6/include/ |
bfdlink.h | 298 /* TRUE if non-PLT relocs should be merged into one reloc section 518 __CTOR_LIST__). RELOC is the relocation to use for an entry in 524 bfd_reloc_code_real_type reloc, bfd *abfd, asection *sec, bfd_vma value); 552 /* A function which is called when a reloc overflow occurs. ENTRY is 553 the link hash table entry for the symbol the reloc is against. 554 NAME is the name of the local symbol or section the reloc is 564 /* A function which is called when a dangerous reloc is performed. 573 /* A function which is called when a reloc is found to be attached 576 the reloc; if this is the result of a 660 /* Description of reloc to generate. Used fo 661 } reloc; member in union:bfd_link_order::__anon30204 680 bfd_reloc_code_real_type reloc; member in struct:bfd_link_order_reloc [all...] |