[lld] r288130 - [ELF][MIPS] Restore Config->Threads for MIPS targets
Simon Atanasyan via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 29 02:24:00 PST 2016
Author: atanasyan
Date: Tue Nov 29 04:24:00 2016
New Revision: 288130
URL: http://llvm.org/viewvc/llvm-project?rev=288130&view=rev
Log:
[ELF][MIPS] Restore Config->Threads for MIPS targets
Modified:
lld/trunk/ELF/Driver.cpp
Modified: lld/trunk/ELF/Driver.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/Driver.cpp?rev=288130&r1=288129&r2=288130&view=diff
==============================================================================
--- lld/trunk/ELF/Driver.cpp (original)
+++ lld/trunk/ELF/Driver.cpp Tue Nov 29 04:24:00 2016
@@ -539,12 +539,6 @@ void LinkerDriver::readConfigs(opt::Inpu
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");
More information about the llvm-commits
mailing list