From 9705ff74ed3fbebf3c14090c6fb34eb606183ef7 Mon Sep 17 00:00:00 2001 From: Simon Atanasyan Date: Tue, 29 Nov 2016 10:24:00 +0000 Subject: [PATCH] [ELF][MIPS] Restore Config->Threads for MIPS targets llvm-svn: 288130 --- lld/ELF/Driver.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lld/ELF/Driver.cpp b/lld/ELF/Driver.cpp index 9356168..b179347 100644 --- a/lld/ELF/Driver.cpp +++ b/lld/ELF/Driver.cpp @@ -539,12 +539,6 @@ void LinkerDriver::readConfigs(opt::InputArgList &Args) { Config->Verbose = Args.hasArg(OPT_verbose); Config->WarnCommon = Args.hasArg(OPT_warn_common); - if (Config->EMachine == EM_MIPS) - // For now MipsGotSection class is not ready for concurent access - // from multiple thread. The problem is in the getPageEntryOffset - // method. So turn Threads off for this target. - Config->Threads = false; - Config->DynamicLinker = getString(Args, OPT_dynamic_linker); Config->Entry = getString(Args, OPT_entry); Config->Fini = getString(Args, OPT_fini, "_fini"); -- 2.7.4