//===----------------------------------------------------------------------===// // emulateARMLD - the help function to emulate ARM ld //===----------------------------------------------------------------------===// bool emulateARMLD(LinkerScript& pScript, LinkerConfig& pConfig) { if (pConfig.targets().triple().isOSDarwin()) { assert(0 && "MachO linker has not supported yet"); return false; } if (pConfig.targets().triple().isOSWindows()) { assert(0 && "COFF linker has not supported yet"); return false; } return MCLDEmulateARMELF(pScript, pConfig); }
//===----------------------------------------------------------------------===// // emulateARMLD - the help function to emulate ARM ld //===----------------------------------------------------------------------===// bool emulateARMLD(const std::string& pTriple, LinkerConfig& pConfig) { llvm::Triple theTriple(pTriple); if (theTriple.isOSDarwin()) { assert(0 && "MachO linker has not supported yet"); return false; } if (theTriple.isOSWindows()) { assert(0 && "COFF linker has not supported yet"); return false; } return MCLDEmulateARMELF(pConfig); }