aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-05-20 19:48:55 +0000
committerChris Lattner <sabre@nondot.org>2002-05-20 19:48:55 +0000
commit871c24f6d009bdf39257f3e577e335e7171b598f (patch)
treeb7ceef036b39a8a75c8f03448219b1d133f73ffb
parentcfb81918edab8bed2c8bbab5602342b60c1a60a7 (diff)
downloadexternal_llvm-871c24f6d009bdf39257f3e577e335e7171b598f.zip
external_llvm-871c24f6d009bdf39257f3e577e335e7171b598f.tar.gz
external_llvm-871c24f6d009bdf39257f3e577e335e7171b598f.tar.bz2
Drop something that link will never support, use gccld instead
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2667 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--tools/link/link.cpp5
-rw-r--r--tools/llvm-link/llvm-link.cpp5
2 files changed, 0 insertions, 10 deletions
diff --git a/tools/link/link.cpp b/tools/link/link.cpp
index c975abc..11000de 100644
--- a/tools/link/link.cpp
+++ b/tools/link/link.cpp
@@ -28,8 +28,6 @@ cl::Flag Force ("f", "Overwrite output files", cl::NoFlags, false);
cl::Flag Verbose ("v", "Print information about actions taken");
cl::Flag DumpAsm ("d", "Print assembly as linked", cl::Hidden, false);
cl::StringList LibPaths ("L", "Specify a library search path", cl::ZeroOrMore);
-cl::StringList Libraries ("l", "Specify libraries to link to", cl::ZeroOrMore);
-
// FileExists - Return true if the specified string is an openable file...
static inline bool FileExists(const std::string &FN) {
@@ -90,9 +88,6 @@ int main(int argc, char **argv) {
OutputFilename = InputFilenames[1];
}
- if (!Libraries.empty())
- cerr << "LLVM Linker Warning: Linking to libraries is unimplemented!\n";
-
std::auto_ptr<Module> Composite(LoadFile(InputFilenames[BaseArg]));
if (Composite.get() == 0) return 1;
diff --git a/tools/llvm-link/llvm-link.cpp b/tools/llvm-link/llvm-link.cpp
index c975abc..11000de 100644
--- a/tools/llvm-link/llvm-link.cpp
+++ b/tools/llvm-link/llvm-link.cpp
@@ -28,8 +28,6 @@ cl::Flag Force ("f", "Overwrite output files", cl::NoFlags, false);
cl::Flag Verbose ("v", "Print information about actions taken");
cl::Flag DumpAsm ("d", "Print assembly as linked", cl::Hidden, false);
cl::StringList LibPaths ("L", "Specify a library search path", cl::ZeroOrMore);
-cl::StringList Libraries ("l", "Specify libraries to link to", cl::ZeroOrMore);
-
// FileExists - Return true if the specified string is an openable file...
static inline bool FileExists(const std::string &FN) {
@@ -90,9 +88,6 @@ int main(int argc, char **argv) {
OutputFilename = InputFilenames[1];
}
- if (!Libraries.empty())
- cerr << "LLVM Linker Warning: Linking to libraries is unimplemented!\n";
-
std::auto_ptr<Module> Composite(LoadFile(InputFilenames[BaseArg]));
if (Composite.get() == 0) return 1;