[lld] r204293 - [gnu-ld] Support -m on non-NetBSD targets.
Michael J. Spencer
bigcheesegs at gmail.com
Wed Mar 19 18:28:36 PDT 2014
Author: mspencer
Date: Wed Mar 19 20:28:36 2014
New Revision: 204293
URL: http://llvm.org/viewvc/llvm-project?rev=204293&view=rev
Log:
[gnu-ld] Support -m on non-NetBSD targets.
Modified:
lld/trunk/lib/Driver/GnuLdDriver.cpp
Modified: lld/trunk/lib/Driver/GnuLdDriver.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/Driver/GnuLdDriver.cpp?rev=204293&r1=204292&r2=204293&view=diff
==============================================================================
--- lld/trunk/lib/Driver/GnuLdDriver.cpp (original)
+++ lld/trunk/lib/Driver/GnuLdDriver.cpp Wed Mar 19 20:28:36 2014
@@ -126,8 +126,6 @@ bool GnuLdDriver::linkELF(int argc, cons
static llvm::Optional<llvm::Triple::ArchType>
getArchType(const llvm::Triple &triple, StringRef value) {
- if (triple.getOS() != llvm::Triple::NetBSD)
- return llvm::None;
switch (triple.getArch()) {
case llvm::Triple::x86:
case llvm::Triple::x86_64:
More information about the llvm-commits
mailing list