/frameworks/compile/mclinker/tools/mcld/lib/Support/ |
D | LinkerConfig.cpp | 24 LinkerConfig::LinkerConfig(const std::string &pTriple) in LinkerConfig() function in LinkerConfig 34 LinkerConfig::~LinkerConfig() { in ~LinkerConfig() 50 bool LinkerConfig::initializeTarget() { in initializeTarget() 62 bool LinkerConfig::initializeLDInfo() { in initializeLDInfo() 69 mLDConfig = new mcld::LinkerConfig(getTriple()); in initializeLDInfo() 70 mLDConfig->setCodeGenType(mcld::LinkerConfig::Exec); in initializeLDInfo() 120 if (mLDConfig->codeGenType() != mcld::LinkerConfig::Object) { in initializeLDInfo() 132 bool LinkerConfig::initializeLDScript() { in initializeLDScript() 137 bool LinkerConfig::initializeDiagnostic() { in initializeDiagnostic() 149 bool LinkerConfig::isShared() const { in isShared() [all …]
|
D | TargetLinkerConfigs.cpp | 31 ARMLinkerConfig::ARMLinkerConfig() : LinkerConfig(DEFAULT_ARM_TRIPLE_STRING) { in ARMLinkerConfig() 56 if (getLDConfig()->codeGenType() != mcld::LinkerConfig::Object) { in ARMLinkerConfig() 73 : LinkerConfig(DEFAULT_MIPS_TRIPLE_STRING) { in MipsLinkerConfig() 107 : LinkerConfig(pTriple) { in X86FamilyLinkerConfigBase() 148 : LinkerConfig(pTriple) { in GeneralLinkerConfig() 165 getLDConfig()->codeGenType() != mcld::LinkerConfig::Object) { in GeneralLinkerConfig()
|
/frameworks/compile/mclinker/lib/Core/ |
D | LinkerConfig.cpp | 19 LinkerConfig::LinkerConfig() in LinkerConfig() function in LinkerConfig 31 LinkerConfig::LinkerConfig(const std::string& pTripleString) in LinkerConfig() function in LinkerConfig 43 LinkerConfig::~LinkerConfig() in ~LinkerConfig() 49 const char* LinkerConfig::version() in version()
|
/frameworks/compile/mclinker/include/mcld/LD/ |
D | ELFObjectWriter.h | 22 class LinkerConfig; variable 41 ELFObjectWriter(GNULDBackend& pBackend, const LinkerConfig& pConfig); 56 void writeELFHeader(const LinkerConfig& pConfig, 60 uint64_t getEntryPoint(const LinkerConfig& pConfig, 66 const LinkerConfig& pConfig, 81 void emitRelocation(const LinkerConfig& pConfig, 87 void emitRel(const LinkerConfig& pConfig, 93 void emitRela(const LinkerConfig& pConfig, 103 const LinkerConfig& pConfig) const; 120 const LinkerConfig& m_Config;
|
D | TextDiagnosticPrinter.h | 20 class LinkerConfig; variable 28 TextDiagnosticPrinter(llvm::raw_ostream& pOStream, const LinkerConfig& pConfig); 37 virtual void beginInput(const Input& pInput, const LinkerConfig& pConfig); 43 const LinkerConfig& m_Config;
|
D | DiagnosticInfos.h | 32 class LinkerConfig; variable 41 DiagnosticInfos(const LinkerConfig& pConfig); 50 const LinkerConfig& m_Config;
|
D | ELFBinaryReader.h | 23 class LinkerConfig; variable 33 const LinkerConfig& pConfig); 42 const LinkerConfig& m_Config;
|
D | RelocationFactory.h | 21 class LinkerConfig; variable 39 void setConfig(const LinkerConfig& pConfig); 57 const LinkerConfig* m_pConfig;
|
D | ELFObjectReader.h | 26 class LinkerConfig; variable 44 const LinkerConfig& pConfig); 69 const LinkerConfig& m_Config;
|
/frameworks/compile/mclinker/tools/mcld/include/alone/ |
D | Linker.h | 19 class LinkerConfig; variable 34 class LinkerConfig; variable 57 const mcld::LinkerConfig *mLDConfig; 68 Linker(const LinkerConfig& pConfig); 72 enum ErrorCode config(const LinkerConfig& pConfig); 89 enum ErrorCode extractFiles(const LinkerConfig& pConfig);
|
/frameworks/compile/mclinker/tools/mcld/include/alone/Support/ |
D | LinkerConfig.h | 23 class LinkerConfig { 38 mcld::LinkerConfig *mLDConfig; 78 inline mcld::LinkerConfig* getLDConfig() in getLDConfig() 81 inline const mcld::LinkerConfig* getLDConfig() const in getLDConfig() 116 LinkerConfig(const std::string& pTriple); 118 virtual ~LinkerConfig();
|
D | TargetLinkerConfigs.h | 24 class ARMLinkerConfig : public LinkerConfig { 34 class MipsLinkerConfig : public LinkerConfig { 44 class X86FamilyLinkerConfigBase : public LinkerConfig { 81 class GeneralLinkerConfig : public LinkerConfig {
|
/frameworks/compile/mclinker/unittests/ |
D | LinkerTest.cpp | 53 LinkerConfig config("arm-none-linux-gnueabi"); in TEST_F() 56 config.setCodeGenType(LinkerConfig::DynObj); in TEST_F() 86 LinkerConfig config("armv7-none-linux-gnueabi"); in TEST_F() 97 config.setCodeGenType(LinkerConfig::DynObj); ///< --shared in TEST_F() 143 LinkerConfig config1("armv7-none-linux-gnueabi"); in TEST_F() 155 config1.setCodeGenType(LinkerConfig::DynObj); ///< --shared in TEST_F() 194 LinkerConfig config2("armv7-none-linux-gnueabi"); in TEST_F() 204 config2.setCodeGenType(LinkerConfig::DynObj); ///< --shared in TEST_F() 240 LinkerConfig config1("armv7-none-linux-gnueabi"); in TEST_F() 252 config1.setCodeGenType(LinkerConfig::DynObj); ///< --shared in TEST_F() [all …]
|
/frameworks/compile/mclinker/include/mcld/ |
D | LinkerConfig.h | 33 class LinkerConfig 69 LinkerConfig(); 71 explicit LinkerConfig(const std::string &pTripleString); 73 ~LinkerConfig();
|
D | Linker.h | 20 class LinkerConfig; variable 43 bool emulate(LinkerScript& pScript, LinkerConfig& pConfig); 79 LinkerConfig* m_pConfig;
|
/frameworks/compile/mclinker/lib/Target/X86/ |
D | X86PLT.h | 58 class LinkerConfig; variable 112 const LinkerConfig& pConfig, 145 const LinkerConfig& m_Config; 159 const LinkerConfig& pConfig); 180 const LinkerConfig& pConfig);
|
D | X86PLT.cpp | 58 const LinkerConfig& pConfig, in X86PLT() 63 assert(LinkerConfig::DynObj == m_Config.codeGenType() || in X86PLT() 64 LinkerConfig::Exec == m_Config.codeGenType() || in X86PLT() 65 LinkerConfig::Binary == m_Config.codeGenType()); in X86PLT() 68 if (LinkerConfig::DynObj == m_Config.codeGenType()) { in X86PLT() 137 if (LinkerConfig::DynObj == m_Config.codeGenType()) in reserveEntry() 173 const LinkerConfig& pConfig) in X86_32PLT() 214 if (LinkerConfig::Exec == m_Config.codeGenType()) in applyPLT1() 259 const LinkerConfig& pConfig) in X86_64PLT()
|
/frameworks/compile/mclinker/lib/LD/ |
D | ELFObjectWriter.cpp | 44 const LinkerConfig& pConfig) in ELFObjectWriter() 119 bool is_dynobj = m_Config.codeGenType() == LinkerConfig::DynObj; in writeObject() 120 bool is_exec = m_Config.codeGenType() == LinkerConfig::Exec; in writeObject() 121 bool is_binary = m_Config.codeGenType() == LinkerConfig::Binary; in writeObject() 122 bool is_object = m_Config.codeGenType() == LinkerConfig::Object; in writeObject() 189 void ELFObjectWriter::writeELFHeader(const LinkerConfig& pConfig, in writeELFHeader() 212 case LinkerConfig::Object: in writeELFHeader() 215 case LinkerConfig::DynObj: in writeELFHeader() 218 case LinkerConfig::Exec: in writeELFHeader() 229 if (LinkerConfig::Object != pConfig.codeGenType()) in writeELFHeader() [all …]
|
/frameworks/compile/mclinker/include/mcld/Fragment/ |
D | FragmentLinker.h | 32 class LinkerConfig; variable 41 FragmentLinker(const LinkerConfig& pConfig, 70 const LinkerConfig& m_Config;
|
/frameworks/compile/mclinker/include/mcld/Support/ |
D | TargetRegistry.h | 25 class LinkerConfig; variable 50 LinkerConfig&, 54 typedef bool (*EmulationFnTy)(LinkerScript&, LinkerConfig&); 57 const LinkerConfig&); 87 LinkerConfig& pConfig, in createMCLinker() 97 bool emulate(LinkerScript& pScript, LinkerConfig& pConfig) const { in emulate() 106 TargetLDBackend* createLDBackend(const LinkerConfig& pConfig) const in createLDBackend()
|
/frameworks/compile/mclinker/include/mcld/CodeGen/ |
D | MCLinker.h | 33 class LinkerConfig; variable 55 MCLinker(LinkerConfig& pConfig, 72 LinkerConfig& m_Config;
|
/frameworks/compile/mclinker/include/mcld/Object/ |
D | ObjectBuilder.h | 23 class LinkerConfig; variable 37 ObjectBuilder(const LinkerConfig& pConfig, 96 const LinkerConfig& m_Config;
|
/frameworks/compile/mclinker/lib/Target/Hexagon/ |
D | HexagonPLT.h | 46 class LinkerConfig; variable 70 const LinkerConfig& pConfig); 100 const LinkerConfig& m_Config;
|
/frameworks/compile/mclinker/lib/Target/ |
D | GNULDBackend.cpp | 65 GNULDBackend::GNULDBackend(const LinkerConfig& pConfig, GNUInfo* pInfo) in GNULDBackend() 114 if (LinkerConfig::Binary == config().codeGenType()) in sectionStartOffset() 174 case LinkerConfig::DynObj: { in initStdSections() 181 case LinkerConfig::Exec: in initStdSections() 182 case LinkerConfig::Binary: { in initStdSections() 189 case LinkerConfig::Object: { in initStdSections() 207 if (LinkerConfig::Object == config().codeGenType()) in initStandardSymbols() 500 if (LinkerConfig::Object == config().codeGenType()) in finalizeStandardSymbols() 686 case LinkerConfig::DynObj: in getOutputFormat() 689 case LinkerConfig::Exec: in getOutputFormat() [all …]
|
/frameworks/compile/mclinker/lib/Target/ARM/ |
D | ARMEmulation.cpp | 17 static bool MCLDEmulateARMELF(LinkerScript& pScript, LinkerConfig& pConfig) in MCLDEmulateARMELF() 37 if (pConfig.codeGenType() != LinkerConfig::Object) { in MCLDEmulateARMELF() 49 bool emulateARMLD(LinkerScript& pScript, LinkerConfig& pConfig) in emulateARMLD()
|