Searched refs:pSection (Results 76 - 89 of 89) sorted by relevance

1234

/frameworks/compile/mclinker/lib/Target/Hexagon/
H A DHexagonRelocator.cpp194 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 DHexagonLDBackend.cpp141 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 DGNULDBackend.h120 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 DELFDynamic.h169 void emit(const LDSection& pSection, MemoryRegion& pRegion) const;
/frameworks/compile/mclinker/lib/Target/X86/
H A DX86LDBackend.cpp168 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 DX86LDBackend.h68 /// @param pSection - the given LDSection
72 uint64_t emitSectionData(const LDSection& pSection,
/frameworks/compile/mclinker/include/mcld/LD/
H A DLDSection.h53 static void Destroy(LDSection*& pSection);
/frameworks/compile/mclinker/lib/Object/
H A DSectionMap.cpp300 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 DARMRelocator.cpp487 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 DELFReader.cpp214 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 DMipsLDBackend.cpp262 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 DMipsLDBackend.h78 /// @param pSection - the given LDSection
81 uint64_t emitSectionData(const LDSection& pSection,
/frameworks/compile/mclinker/lib/Target/
H A DELFDynamic.cpp348 void ELFDynamic::emit(const LDSection& pSection, MemoryRegion& pRegion) const argument
350 if (pRegion.size() < pSection.size()) {
H A DGNULDBackend.cpp2588 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...]

Completed in 414 milliseconds

1234