[lld] r288130 - [ELF][MIPS] Restore Config->Threads for MIPS targets
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 30 13:52:06 PST 2016
Nice. Thanks!
On Tue, Nov 29, 2016 at 2:24 AM, Simon Atanasyan via llvm-commits <
llvm-commits at lists.llvm.org> wrote:
> 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");
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161130/3d7adc84/attachment.html>
More information about the llvm-commits
mailing list