Revert r188150 to un-break the buildbot.
authorRui Ueyama <ruiu@google.com>
Mon, 12 Aug 2013 03:02:23 +0000 (03:02 +0000)
committerRui Ueyama <ruiu@google.com>
Mon, 12 Aug 2013 03:02:23 +0000 (03:02 +0000)
llvm-svn: 188152

lld/lib/ReaderWriter/PECOFF/PECOFFLinkingContext.cpp

index b0e5546592bdb2eb65896d90bfbf4b0dcc0a9d3b..4dbb5d70a46fb42def04437e76bf7e9fc97df7c5 100644 (file)
@@ -59,11 +59,6 @@ bool PECOFFLinkingContext::validateImpl(raw_ostream &diagnostics) {
     return true;
   }
 
-  if (_subsystem == llvm::COFF::IMAGE_SUBSYSTEM_UNKNOWN) {
-    diagnostics << "Error: Subsystem is not specified\n";
-    return true;
-  }
-
   _reader = createReaderPECOFF(*this);
   _writer = createWriterPECOFF(*this);
   return false;