Home
last modified time | relevance | path

Searched refs:LinkerConfig (Results 1 – 25 of 122) sorted by relevance

12345

/frameworks/compile/mclinker/lib/Core/
DLinkerConfig.cpp19 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()
DLinker.cpp48 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/
DELFObjectWriter.h21 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;
DTextDiagnosticPrinter.h17 class LinkerConfig; variable
25 const LinkerConfig& pConfig);
34 virtual void beginInput(const Input& pInput, const LinkerConfig& pConfig);
40 const LinkerConfig& m_Config;
DGNUArchiveReader.h20 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);
DELFBinaryReader.h18 class LinkerConfig; variable
25 ELFBinaryReader(IRBuilder& pBuilder, const LinkerConfig& pConfig);
35 const LinkerConfig& m_Config;
DDiagnosticInfos.h34 class LinkerConfig; variable
41 explicit DiagnosticInfos(const LinkerConfig& pConfig);
50 const LinkerConfig& m_Config;
DRelocationFactory.h18 class LinkerConfig; variable
36 void setConfig(const LinkerConfig& pConfig);
52 const LinkerConfig* m_pConfig;
DELFObjectReader.h22 class LinkerConfig; variable
39 const LinkerConfig& pConfig);
64 const LinkerConfig& m_Config;
DGarbageCollection.h19 class LinkerConfig; variable
58 GarbageCollection(const LinkerConfig& pConfig,
80 const LinkerConfig& m_Config;
DIdenticalCodeFolding.h21 class LinkerConfig; variable
60 IdenticalCodeFolding(const LinkerConfig& pConfig,
72 const LinkerConfig& m_Config;
/frameworks/compile/mclinker/include/mcld/Support/
DTarget.h25 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/
DLinkerTest.cpp48 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/
DLinkerConfig.h29 class LinkerConfig {
57 LinkerConfig();
59 explicit LinkerConfig(const std::string& pTripleString);
61 ~LinkerConfig();
DLinker.h19 class LinkerConfig; variable
36 bool emulate(LinkerScript& pScript, LinkerConfig& pConfig);
72 LinkerConfig* m_pConfig;
/frameworks/compile/mclinker/lib/Target/X86/
DX86PLT.h54 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);
DX86PLT.cpp51 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/
DELFObjectWriter.cpp44 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/
DELFAttribute.h24 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;
DELFAttributeData.h20 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/
DGroupCmd.h19 class LinkerConfig; variable
32 const LinkerConfig& pConfig);
48 const LinkerConfig& m_Config;
DInputCmd.h20 class LinkerConfig; variable
36 const LinkerConfig& pConfig);
54 const LinkerConfig& m_Config;
/frameworks/compile/mclinker/lib/Target/AArch64/
DAArch64Emulation.cpp18 LinkerConfig& pConfig) { in MCLDEmulateAArch64ELF()
38 pConfig.codeGenType() != LinkerConfig::Object) { in MCLDEmulateAArch64ELF()
47 bool emulateAArch64LD(LinkerScript& pScript, LinkerConfig& pConfig) { in emulateAArch64LD()
/frameworks/compile/mclinker/lib/Target/ARM/
DARMEmulation.cpp17 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()
/frameworks/compile/mclinker/lib/Support/
DTarget.cpp43 LinkerConfig& pConfig, in createMCLinker()
53 bool Target::emulate(LinkerScript& pScript, LinkerConfig& pConfig) const { in emulate()
60 TargetLDBackend* Target::createLDBackend(const LinkerConfig& pConfig) const { in createLDBackend()

12345