Add crufty compatibility stuff for ld
authorChris Lattner <sabre@nondot.org>
Fri, 18 Apr 2003 23:38:22 +0000 (23:38 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 18 Apr 2003 23:38:22 +0000 (23:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5813 91177308-0d34-0410-b5e6-96231b3b80d8

tools/gccld/gccld.cpp

index 0d15a460bf5ac8994ddf198ddd4ecbd025fdd16e..18a20d56a8644e83034ec800d3067a7097f51bef 100644 (file)
@@ -55,6 +55,14 @@ namespace {
   cl::opt<bool>
   NoInternalize("disable-internalize",
                 cl::desc("Do not mark all symbols as internal"));
+
+  // Compatibility options that are ignored, but support by LD
+  cl::opt<std::string>
+  CO3("soname", cl::Hidden, cl::desc("Compatibility option: ignored"));
+  cl::opt<std::string>
+  CO4("version-script", cl::Hidden, cl::desc("Compatibility option: ignored"));
+  cl::opt<bool>
+  CO5("eh-frame-hdr", cl::Hidden, cl::desc("Compatibility option: ignored"));
 }
 
 // FileExists - Return true if the specified string is an openable file...