[ELF2] Implement -T/--script.

This one tests more carefully SEARCH_DIR() as an added bonus.

Differential Revision:	http://reviews.llvm.org/D13626

llvm-svn: 249969
diff --git a/lld/ELF/Driver.cpp b/lld/ELF/Driver.cpp
index 09924ff..8566deb 100644
--- a/lld/ELF/Driver.cpp
+++ b/lld/ELF/Driver.cpp
@@ -178,6 +178,7 @@
       addFile(searchLibrary(Arg->getValue()));
       break;
     case OPT_INPUT:
+    case OPT_script:
       addFile(Arg->getValue());
       break;
     case OPT_Bstatic: