/frameworks/compile/mclinker/lib/Core/ |
D | LinkerConfig.cpp | 19 LinkerConfig::LinkerConfig() in LinkerConfig() function in mcld::LinkerConfig 29 LinkerConfig::LinkerConfig(const std::string& pTripleString) in LinkerConfig() function in mcld::LinkerConfig 39 LinkerConfig::~LinkerConfig() { in ~LinkerConfig() 44 const char* LinkerConfig::version() { in version()
|
D | Linker.cpp | 48 bool Linker::emulate(LinkerScript& pScript, LinkerConfig& pConfig) { in emulate() 140 if (LinkerConfig::DynObj == m_pConfig->codeGenType() || in normalize() 142 m_pConfig->setCodePosition(LinkerConfig::Independent); in normalize() 147 m_pConfig->setCodePosition(LinkerConfig::StaticDependent); in normalize() 149 if (LinkerConfig::Exec == m_pConfig->codeGenType()) { in normalize() 156 m_pConfig->setCodePosition(LinkerConfig::DynamicDependent); in normalize() 261 case mcld::LinkerConfig::Unknown: in emit() 262 case mcld::LinkerConfig::Object: in emit() 265 case mcld::LinkerConfig::DynObj: in emit() 266 case mcld::LinkerConfig::Exec: in emit() [all …]
|
/frameworks/compile/mclinker/include/mcld/LD/ |
D | ELFObjectWriter.h | 21 class LinkerConfig; variable 33 ELFObjectWriter(GNULDBackend& pBackend, const LinkerConfig& pConfig); 51 void writeELFHeader(const LinkerConfig& pConfig, 55 uint64_t getEntryPoint(const LinkerConfig& pConfig, 61 const LinkerConfig& pConfig, 79 void emitRelocation(const LinkerConfig& pConfig, 85 void emitRel(const LinkerConfig& pConfig, 91 void emitRela(const LinkerConfig& pConfig, 101 const LinkerConfig& pConfig) const; 117 const LinkerConfig& m_Config;
|
D | TextDiagnosticPrinter.h | 17 class LinkerConfig; variable 25 const LinkerConfig& pConfig); 34 virtual void beginInput(const Input& pInput, const LinkerConfig& pConfig); 40 const LinkerConfig& m_Config;
|
D | GNUArchiveReader.h | 20 class LinkerConfig; variable 34 bool readArchive(const LinkerConfig& pConfig, Archive& pArchive); 80 size_t includeMember(const LinkerConfig& pConfig, 86 bool includeAllMembers(const LinkerConfig& pConfig, Archive& pArchive);
|
D | ELFBinaryReader.h | 18 class LinkerConfig; variable 25 ELFBinaryReader(IRBuilder& pBuilder, const LinkerConfig& pConfig); 35 const LinkerConfig& m_Config;
|
D | DiagnosticInfos.h | 33 class LinkerConfig; variable 40 explicit DiagnosticInfos(const LinkerConfig& pConfig); 49 const LinkerConfig& m_Config;
|
D | RelocationFactory.h | 18 class LinkerConfig; variable 36 void setConfig(const LinkerConfig& pConfig); 52 const LinkerConfig* m_pConfig;
|
D | ELFObjectReader.h | 22 class LinkerConfig; variable 39 const LinkerConfig& pConfig); 64 const LinkerConfig& m_Config;
|
D | GarbageCollection.h | 19 class LinkerConfig; variable 58 GarbageCollection(const LinkerConfig& pConfig, 80 const LinkerConfig& m_Config;
|
/frameworks/compile/mclinker/include/mcld/Support/ |
D | Target.h | 25 class LinkerConfig; variable 47 LinkerConfig&, 51 typedef bool (*EmulationFnTy)(LinkerScript&, LinkerConfig&); 53 typedef TargetLDBackend* (*TargetLDBackendCtorTy)(const LinkerConfig&); 73 LinkerConfig& pConfig, 79 bool emulate(LinkerScript& pScript, LinkerConfig& pConfig) const; 82 TargetLDBackend* createLDBackend(const LinkerConfig& pConfig) const;
|
/frameworks/compile/mclinker/unittests/ |
D | LinkerTest.cpp | 48 LinkerConfig config("arm-none-linux-gnueabi"); in TEST_F() 51 config.setCodeGenType(LinkerConfig::DynObj); in TEST_F() 80 LinkerConfig config("armv7-none-linux-gnueabi"); in TEST_F() 91 config.setCodeGenType(LinkerConfig::DynObj); ///< --shared in TEST_F() 137 LinkerConfig config1("armv7-none-linux-gnueabi"); in TEST_F() 149 config1.setCodeGenType(LinkerConfig::DynObj); ///< --shared in TEST_F() 189 LinkerConfig config2("armv7-none-linux-gnueabi"); in TEST_F() 199 config2.setCodeGenType(LinkerConfig::DynObj); ///< --shared in TEST_F() 235 LinkerConfig config1("armv7-none-linux-gnueabi"); in TEST_F() 247 config1.setCodeGenType(LinkerConfig::DynObj); ///< --shared in TEST_F() [all …]
|
/frameworks/compile/mclinker/include/mcld/ |
D | LinkerConfig.h | 29 class LinkerConfig { 57 LinkerConfig(); 59 explicit LinkerConfig(const std::string& pTripleString); 61 ~LinkerConfig();
|
D | Linker.h | 19 class LinkerConfig; variable 36 bool emulate(LinkerScript& pScript, LinkerConfig& pConfig); 72 LinkerConfig* m_pConfig;
|
/frameworks/compile/mclinker/lib/Target/X86/ |
D | X86PLT.h | 54 class LinkerConfig; variable 100 X86PLT(LDSection& pSection, const LinkerConfig& pConfig, int got_size); 127 const LinkerConfig& m_Config; 140 const LinkerConfig& pConfig); 160 const LinkerConfig& pConfig);
|
D | X86PLT.cpp | 51 X86PLT::X86PLT(LDSection& pSection, const LinkerConfig& pConfig, int got_size) in X86PLT() 53 assert(LinkerConfig::DynObj == m_Config.codeGenType() || in X86PLT() 54 LinkerConfig::Exec == m_Config.codeGenType() || in X86PLT() 55 LinkerConfig::Binary == m_Config.codeGenType()); in X86PLT() 58 if (LinkerConfig::DynObj == m_Config.codeGenType()) { in X86PLT() 115 if (LinkerConfig::DynObj == m_Config.codeGenType()) in create() 137 const LinkerConfig& pConfig) in X86_32PLT() 175 if (LinkerConfig::Exec == m_Config.codeGenType()) in applyPLT1() 220 const LinkerConfig& pConfig) in X86_64PLT()
|
/frameworks/compile/mclinker/lib/LD/ |
D | ELFObjectWriter.cpp | 44 const LinkerConfig& pConfig) in ELFObjectWriter() 121 bool is_dynobj = m_Config.codeGenType() == LinkerConfig::DynObj; in writeObject() 122 bool is_exec = m_Config.codeGenType() == LinkerConfig::Exec; in writeObject() 123 bool is_binary = m_Config.codeGenType() == LinkerConfig::Binary; in writeObject() 124 bool is_object = m_Config.codeGenType() == LinkerConfig::Object; in writeObject() 203 void ELFObjectWriter::writeELFHeader(const LinkerConfig& pConfig, in writeELFHeader() 227 case LinkerConfig::Object: in writeELFHeader() 230 case LinkerConfig::DynObj: in writeELFHeader() 233 case LinkerConfig::Exec: in writeELFHeader() 245 if (LinkerConfig::Object != pConfig.codeGenType()) in writeELFHeader() [all …]
|
/frameworks/compile/mclinker/include/mcld/Target/ |
D | ELFAttribute.h | 24 class LinkerConfig; variable 50 ELFAttribute(const GNULDBackend& pBackend, const LinkerConfig& pConfig) in ELFAttribute() 68 inline const LinkerConfig& config() const { return m_Config; } in config() 112 const LinkerConfig& m_Config;
|
D | ELFAttributeData.h | 20 class LinkerConfig; variable 63 virtual bool merge(const LinkerConfig& pConfig, 70 virtual bool postMerge(const LinkerConfig& pConfig, const Input& pInput) { in postMerge()
|
/frameworks/compile/mclinker/include/mcld/Script/ |
D | GroupCmd.h | 19 class LinkerConfig; variable 32 const LinkerConfig& pConfig); 48 const LinkerConfig& m_Config;
|
D | InputCmd.h | 20 class LinkerConfig; variable 36 const LinkerConfig& pConfig); 54 const LinkerConfig& m_Config;
|
/frameworks/compile/mclinker/lib/Target/Hexagon/ |
D | HexagonPLT.h | 44 class LinkerConfig; variable 64 const LinkerConfig& pConfig); 89 const LinkerConfig& m_Config;
|
/frameworks/compile/mclinker/lib/Target/AArch64/ |
D | AArch64Emulation.cpp | 18 LinkerConfig& pConfig) { in MCLDEmulateAArch64ELF() 38 pConfig.codeGenType() != LinkerConfig::Object) { in MCLDEmulateAArch64ELF() 47 bool emulateAArch64LD(LinkerScript& pScript, LinkerConfig& pConfig) { in emulateAArch64LD()
|
D | AArch64LDBackend.cpp | 48 AArch64GNULDBackend::AArch64GNULDBackend(const LinkerConfig& pConfig, in AArch64GNULDBackend() 85 if (LinkerConfig::Object != config().codeGenType()) { in initTargetSections() 124 if (LinkerConfig::Object != config().codeGenType()) { in initTargetSymbols() 185 if (LinkerConfig::Object != config().codeGenType()) { in doPreLayout() 189 if (LinkerConfig::DynObj == config().codeGenType() || m_pGOT->hasGOT1() || in doPreLayout() 196 if (LinkerConfig::DynObj == config().codeGenType() || in doPreLayout() 244 if (LinkerConfig::DynObj == config().codeGenType()) in doPostLayout() 394 TargetLDBackend* createAArch64LDBackend(const LinkerConfig& pConfig) { in createAArch64LDBackend()
|
/frameworks/compile/mclinker/lib/Target/ARM/ |
D | ARMEmulation.cpp | 17 static bool MCLDEmulateARMELF(LinkerScript& pScript, LinkerConfig& pConfig) { in MCLDEmulateARMELF() 37 pConfig.codeGenType() != LinkerConfig::Object) { in MCLDEmulateARMELF() 48 bool emulateARMLD(LinkerScript& pScript, LinkerConfig& pConfig) { in emulateARMLD()
|