/frameworks/compile/mclinker/lib/Target/Hexagon/ |
H A D | HexagonRelocator.cpp | 194 Module &pModule, LDSection &pSection, Input &pInput) { 206 assert(NULL != pSection.getLink()); 207 if (0 == (pSection.getLink()->flag() & llvm::ELF::SHF_ALLOC)) 211 scanLocalReloc(pReloc, pLinker, pModule, pSection); 213 scanGlobalReloc(pReloc, pLinker, pModule, pSection); 218 issueUndefRef(pReloc, pSection, pInput); 231 Module &pModule, LDSection &pSection) { 270 getTarget().checkAndSetHasTextRel(*pSection.getLink()); 280 Module &pModule, LDSection &pSection) { 329 ld_backend.checkAndSetHasTextRel(*pSection 193 scanRelocation(Relocation &pReloc, IRBuilder &pLinker, Module &pModule, LDSection &pSection, Input &pInput) argument 230 scanLocalReloc(Relocation &pReloc, IRBuilder &pBuilder, Module &pModule, LDSection &pSection) argument 279 scanGlobalReloc(Relocation &pReloc, IRBuilder &pBuilder, Module &pModule, LDSection &pSection) argument 458 partialScanRelocation(Relocation &pReloc, Module &pModule, const LDSection &pSection) argument [all...] |
H A D | HexagonLDBackend.cpp | 141 uint64_t HexagonLDBackend::emitSectionData(const LDSection& pSection, argument 153 if (FileFormat->hasPLT() && (&pSection == &(FileFormat->getPLT()))) { 177 else if (FileFormat->hasGOT() && (&pSection == &(FileFormat->getGOT()))) { 182 (&pSection == &(FileFormat->getGOTPLT()))) { 188 const SectionData* sect_data = pSection.getSectionData();
|
/frameworks/compile/mclinker/include/mcld/Target/ |
H A D | GNULDBackend.h | 120 virtual uint64_t emitSectionData(const LDSection& pSection, 322 /// checkAndSetHasTextRel - check pSection flag to set HasTextRel 323 void checkAndSetHasTextRel(const LDSection& pSection); 327 void sortRelocation(LDSection& pSection); 341 bool mayHaveUnsafeFunctionPointerAccess(const LDSection& pSection) const;
|
H A D | ELFDynamic.h | 169 void emit(const LDSection& pSection, MemoryRegion& pRegion) const;
|
/frameworks/compile/mclinker/lib/Target/X86/ |
H A D | X86LDBackend.cpp | 168 uint64_t X86GNULDBackend::emitSectionData(const LDSection& pSection, argument 180 if (FileFormat->hasPLT() && (&pSection == &(FileFormat->getPLT()))) { 202 else if (FileFormat->hasGOT() && (&pSection == &(FileFormat->getGOT()))) { 206 (&pSection == &(FileFormat->getGOTPLT()))) { 211 << pSection.name()
|
H A D | X86LDBackend.h | 68 /// @param pSection - the given LDSection 72 uint64_t emitSectionData(const LDSection& pSection,
|
/frameworks/compile/mclinker/include/mcld/LD/ |
H A D | LDSection.h | 53 static void Destroy(LDSection*& pSection);
|
/frameworks/compile/mclinker/lib/Object/ |
H A D | SectionMap.cpp | 300 SectionMap::insert(iterator pPosition, LDSection* pSection) argument 302 Output* output = new Output(pSection->name()); 303 output->append(new Input(pSection->name(), InputSectDesc::NoKeep)); 304 output->setSection(pSection);
|
/frameworks/compile/mclinker/lib/Target/ARM/ |
H A D | ARMRelocator.cpp | 487 ARMRelocator::scanLocalReloc(Relocation& pReloc, const LDSection& pSection) argument 509 getTarget().checkAndSetHasTextRel(*pSection.getLink()); 584 const LDSection& pSection) 636 getTarget().checkAndSetHasTextRel(*pSection.getLink()); 712 getTarget().checkAndSetHasTextRel(*pSection.getLink()); 798 LDSection& pSection, 806 assert(NULL != pSection.getLink()); 807 if (0 == (pSection.getLink()->flag() & llvm::ELF::SHF_ALLOC)) 816 scanLocalReloc(pReloc, pSection); 820 scanGlobalReloc(pReloc, pBuilder, pSection); 582 scanGlobalReloc(Relocation& pReloc, IRBuilder& pBuilder, const LDSection& pSection) argument 795 scanRelocation(Relocation& pReloc, IRBuilder& pBuilder, Module& pModule, LDSection& pSection, Input& pInput) argument [all...] |
/frameworks/compile/mclinker/lib/LD/ |
H A D | ELFReader.cpp | 214 LDSection& pSection, 235 IRBuilder::AddRelocation(pSection, r_type, *symbol, r_offset, r_addend); 242 LDSection& pSection, 263 IRBuilder::AddRelocation(pSection, r_type, *symbol, r_offset); 734 LDSection& pSection, 757 IRBuilder::AddRelocation(pSection, r_type, *symbol, r_offset, r_addend); 764 LDSection& pSection, 784 IRBuilder::AddRelocation(pSection, r_type, *symbol, r_offset); 213 readRela(Input& pInput, LDSection& pSection, llvm::StringRef pRegion) const argument 241 readRel(Input& pInput, LDSection& pSection, llvm::StringRef pRegion) const argument 733 readRela(Input& pInput, LDSection& pSection, llvm::StringRef pRegion) const argument 763 readRel(Input& pInput, LDSection& pSection, llvm::StringRef pRegion) const argument
|
/frameworks/compile/mclinker/lib/Target/Mips/ |
H A D | MipsLDBackend.cpp | 262 uint64_t MipsGNULDBackend::emitSectionData(const LDSection& pSection, argument 269 if (file_format->hasGOT() && (&pSection == &(file_format->getGOT()))) { 273 if (file_format->hasPLT() && (&pSection == &(file_format->getPLT()))) { 277 if (file_format->hasGOTPLT() && (&pSection == &(file_format->getGOTPLT()))) { 282 << pSection.name()
|
H A D | MipsLDBackend.h | 78 /// @param pSection - the given LDSection 81 uint64_t emitSectionData(const LDSection& pSection,
|
/frameworks/compile/mclinker/lib/Target/ |
H A D | ELFDynamic.cpp | 348 void ELFDynamic::emit(const LDSection& pSection, MemoryRegion& pRegion) const argument 350 if (pRegion.size() < pSection.size()) {
|
H A D | GNULDBackend.cpp | 2588 bool GNULDBackend::mayHaveUnsafeFunctionPointerAccess(const LDSection& pSection) 2591 llvm::StringRef name(pSection.name()); 2993 void GNULDBackend::checkAndSetHasTextRel(const LDSection& pSection) argument 3000 const uint32_t flag = pSection.flag(); 3009 void GNULDBackend::sortRelocation(LDSection& pSection) argument 3014 assert(pSection.kind() == LDFileFormat::Relocation); 3019 if (&pSection == &getOutputFormat()->getRelDyn() || 3020 &pSection == &getOutputFormat()->getRelaDyn()) { 3021 if (pSection.hasRelocData()) 3022 pSection [all...] |